Reference

skywake keys create

Make a key. It is printed once.

skywake keys create [OPTIONS] --role <ROLE>

Options

--role <ROLE>

  • required
  • one ofread, write, admin
--name <NAME>

  • defaultcli
--only <ONLY>

Only these disks; * ends a prefix.

  • repeatable
--all-environments

A key for every environment (organization admins).

  • defaultfalse
--expires-in-days <EXPIRES_IN_DAYS>

--json

Print JSON instead of text, for scripts.

  • defaultfalse
--env <ENVIRONMENT>

The environment, for a key that may use every one.

  • envSKYWAKE_ENV
--profile <PROFILE>

Which saved profile to use (default default).

  • envSKYWAKE_PROFILE
--key <KEY>

An API key. Defaults to the one skywake login saved.

  • envSKYWAKE_API_KEY
--url <URL>

Where the API is. Defaults to the profile's, then https://api.skywake.dev.

  • envSKYWAKE_URL
--local <DIR>

Work on a store with no server, as --local or --local=DIR: s3://bucket, gs://bucket, az://container or a folder (default .skywake, or skywaked's store when it runs). The store is one disk; only the branch in NAME@BRANCH is used.

  • envSKYWAKE_STORE
-h, --help

Print help