rotates the KMS key used to encrypt the secrets
rotate-kms-key: Rotates the KMS key used to encrypt a secrets file.
This command will decrypt all your secrets, and re-encrypt them using the provided new KMS key. The original file will be overwritten.
ejson-kms rotate-kms-key NEW_KMS_KEY_ID
ejson-kms rotate-kms-key arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
--path string path of the secrets file (default ".secrets.json")
- ejson-kms - ejson-kms manages your secrets using Amazon KMS and a simple JSON file