Update Repository Encryption Key
codecommit_update_repository_encryption_key | R Documentation |
Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository¶
Description¶
Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.
Usage¶
codecommit_update_repository_encryption_key(repositoryName, kmsKeyId)
Arguments¶
repositoryName |
[required] The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository. |
kmsKeyId |
[required] The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference. |
Value¶
A list with the following syntax:
list(
repositoryId = "string",
kmsKeyId = "string",
originalKmsKeyId = "string"
)
Request syntax¶
svc$update_repository_encryption_key(
repositoryName = "string",
kmsKeyId = "string"
)