GoodMemGoodMem
ReferenceCLICloud

Cloud Instance Api Key Rotate

Cloud Instance Api Key Rotate CLI command reference

goodmem cloud instance api-key rotate

Replace the caller's API key and save its replacement

Synopsis

Replace the caller's API key and save its replacement. The mint request can take up to three minutes while the instance becomes ready. After an interrupted rotation, inspect status and use get-or-create to recover the current key.

goodmem cloud instance api-key rotate [INSTANCE] [flags]

Options

  -h, --help[=true|false]   help for rotate
      --secret-out string   Write the API key to a new private file

Options inherited from parent commands

      --account string        Named Cloud login (GOODMEM_CLOUD_ACCOUNT)
      --cloud-origin string   Cloud service origin (GOODMEM_CLOUD_ORIGIN)
  -f, --format string         Output format: table, json, compact, or quiet (default "table")
      --instance string       Instance ID, UUID, or unambiguous name within the workspace (GOODMEM_CLOUD_INSTANCE)
      --profile string        GoodMem profile to use for this command
  -q, --quiet[=true|false]    Print identifiers only
      --workspace string      Workspace ID, slug, or unambiguous name (GOODMEM_CLOUD_WORKSPACE)

SEE ALSO

On this page