CmdID / aws / aws codecommit
aws codecommit update-repository-encryption-key
Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--kms-key-idThe ID of the encryption key.--repository-nameThe name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.