mc kms key rotate

The mc kms key rotate command rotates a KMS key.

Syntax

The command has the following syntax:

mc kms key rotate TARGET [KEY_NAME]

Global flags

This command supports any of the global flags.

Examples

Rotate a named key ‘my-key’.

mc kms key rotate play my-key

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.