Synopsis
--grace-period-hours. The new key value is only returned once, so make
sure to store it securely.
With --personal and an API key as --api-token, you can rotate only that key and keys
created with it, and the rotated key expires no later than that key. To get a key that
outlives it, create one from your profile page in the Kosli app.
Flags
Flags inherited from parent commands
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
rotate an API key for a service account
rotate an API key for a service account
rotate multiple API keys at once
rotate multiple API keys at once
rotate an API key, keeping the old key valid for 48 hours
rotate an API key, keeping the old key valid for 48 hours
rotate one of your own personal API keys
rotate one of your own personal API keys