Skip to main content

diagrid serviceaccount apikeys create

Create an API key for a service account

diagrid serviceaccount apikeys create <service-account-id> [flags]

Options

      --name string             Name for the API key (required)
--expire-in-seconds int Optional expiry for the API key in seconds
-h, --help help for create

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO