GoodMemGoodMem
ReferenceCLICloud

Cloud Instance Api Key Get Or Create

Cloud Instance Api Key Get Or Create CLI command reference

goodmem cloud instance api-key get-or-create

Save the caller's existing or newly issued API key

Synopsis

Save the caller's existing or newly issued API key. 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 get-or-create [INSTANCE] [flags]

Options

  -h, --help[=true|false]   help for get-or-create
      --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