Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 2.15 KB

File metadata and controls

55 lines (39 loc) · 2.15 KB

stackit secrets-manager instance update

Updates a Secrets Manager instance

Synopsis

Updates a Secrets Manager instance.

stackit secrets-manager instance update INSTANCE_ID [flags]

Examples

  Update the name of a Secrets Manager instance with ID "xxx"
  $ stackit secrets-manager instance update xxx --name my-new-name

  Update the range of IPs allowed to access a Secrets Manager instance with ID "xxx"
  $ stackit secrets-manager instance update xxx --acl 1.2.3.0/24

  Update the name and ACLs of a Secrets Manager instance with ID "xxx"
  $ stackit secrets-manager instance update xxx --name my-new-name --acl 1.2.3.0/24

  Update the KMS key settings of a Secrets Manager instance with ID "xxx"
  $ stackit secrets-manager instance update xxx --name my-instance --kms-key-id key-id --kms-keyring-id keyring-id --kms-key-version 1 --kms-service-account-email my-service-account-1234567@sa.stackit.cloud

Options

      --acl strings                        List of IP networks in CIDR notation which are allowed to access this instance (default [])
  -h, --help                               Help for "stackit secrets-manager instance update"
      --kms-key-id string                  ID of the KMS key to use for encryption
      --kms-key-version int                Version of the KMS key
      --kms-keyring-id string              ID of the KMS key ring
      --kms-service-account-email string   Service account email for KMS access
  -n, --name string                        Instance name

Options inherited from parent commands

  -y, --assume-yes             If set, skips all confirmation prompts
      --async                  If set, runs the command asynchronously
  -o, --output-format string   Output format, one of ["json" "pretty" "none" "yaml"]
  -p, --project-id string      Project ID
      --region string          Target region for region-specific requests
      --verbosity string       Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")

SEE ALSO