Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.1 KB

File metadata and controls

42 lines (29 loc) · 1.1 KB

stackit beta kms key rotate

Rotate a key

Synopsis

Rotates the given key.

stackit beta kms key rotate [flags]

Examples

  Rotate a KMS Key "my-key-id" and increase it's version inside the Key Ring "my-key-ring-id".
  $ stackit beta kms keyring rotate --key-ring "my-key-ring-id" --key "my-key-id"

Options

  -h, --help              Help for "stackit beta kms key rotate"
      --key string        ID of the actual Key
      --key-ring string   ID of the KMS Key Ring where the Key is stored

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