ReferenceCLIAccessKeys

nevia access keys rotate

Issue a new key and revoke the current one

nevia access keys rotate [FLAGS] <WHO>

The new key file is saved the way add saves it. Access tokens from the old key stop working, so the holder signs in again with the new file.

Arguments

  • <WHO> - Email or principal ID

Options

  • --own-key <FILE> - PEM RSA public key file to use instead of a generated key (2048 bits or more)
  • --expires-in <DURATION> - How long the key works, 15m to 90d (e.g. 7d)
  • --out <PATH> - Folder or file path for the key file (- for stdout)
  • --idempotency-key <KEY> - Idempotency key for the request (generated if omitted)
  • -h, --help - Print help

On this page