Skip to content

passbolt_create_resource

speatzle edited this page Mar 26, 2024 · 5 revisions

doc/passbolt_create_resource.md## passbolt create resource

Creates a Passbolt Resource

Synopsis

Creates a Passbolt Resource and Returns the Resources ID

passbolt create resource [flags]

Options

  -d, --description string      Resource Description
  -f, --folderParentID string   Folder in which to create the Resource
  -h, --help                    help for resource
  -n, --name string             Resource Name
  -p, --password string         Resource Password
      --uri string              Resource URI
  -u, --username string         Resource Username

Options inherited from parent commands

      --config string               Config File
      --debug                       Enable Debug Logging
  -j, --json                        Output JSON
      --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