Skip to content

/AWS1/CL_CMT=>UPDATEREPOSITORYENCKEY()

About UpdateRepositoryEncryptionKey

Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.

IV_KMSKEYID TYPE /AWS1/CMTKMSKEYID /AWS1/CMTKMSKEYID

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTUPREPOSITORYENCK01 /AWS1/CL_CMTUPREPOSITORYENCK01