Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.68 KB

File metadata and controls

48 lines (33 loc) · 1.68 KB

stackit beta edge-cloud token create

Creates a token for an Edge Cloud instance

Synopsis

Creates a token for a STACKIT Edge Cloud (STEC) instance.

An expiration time can be set for the token. The expiration time is set in seconds(s), minutes(m), hours(h), days(d) or months(M). Default is 3600 seconds. Note: the format for the duration is , e.g. 30d for 30 days. You may not combine units.

stackit beta edge-cloud token create [flags]

Examples

  Create a token for the Edge Cloud instance with instance ID "xxx".
  $ stackit beta edge-cloud token create --instance-id xxx

  Create a token for the Edge Cloud instance with instance ID "xxx". The token will be valid for one day.
  $ stackit beta edge-cloud token create --instance-id xxx --expiration 1d

Options

  -e, --expiration string    Expiration time for the token, e.g. 5d. By default, the token is valid for 3600 seconds.
  -h, --help                 Help for "stackit beta edge-cloud token create"
      --instance-id string   Edge Cloud instance ID

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