Skip to content

passbolt_share_resource

speatzle edited this page Mar 26, 2024 · 5 revisions

doc/passbolt_share_resource.md## passbolt share resource

Shares a Passbolt Resource

Synopsis

Shares a Passbolt Resource

passbolt share resource [flags]

Options

  -g, --group stringArray   Group id's to share with
  -h, --help                help for resource
      --id string           id of Resource to Share
  -t, --type int            Permission Type (1 Read Only, 7 Can Update, 15 Owner) (default 1)
  -u, --user stringArray    User id's to share with

Options inherited from parent commands

      --config string               Config File
      --debug                       Enable Debug Logging
      --mfaDelay duration           Delay between MFA Attempts, only used in noninteractive modes (default 10s)
      --mfaMode string              How to Handle MFA, the following Modes exist: none, interactive-totp and noninteractive-totp (default "interactive-totp")
      --mfaRetrys uint              How often to retry TOTP Auth, only used in nointeractive modes (default 3)
      --mfaTotpOffset duration      TOTP Generation offset only used in noninteractive-totp mode
      --mfaTotpToken string         Token to generate TOTP's, only used in nointeractive-totp mode
      --serverAddress string        Passbolt Server Address (https://passbolt.example.com)
      --timeout duration            Timeout for the Context (default 1m0s)
      --userPassword string         Passbolt User Password
      --userPrivateKey string       Passbolt User Private Key
      --userPrivateKeyFile string   Passbolt User Private Key File, if set then the userPrivateKey will be Overwritten with the File Content

SEE ALSO