All Products
Search
Document Center

Key Management Service:Audit events of KMS

Last Updated:Mar 31, 2026

Key Management Service (KMS) integrates with ActionTrail to record management events generated when you manage KMS resources using APIs or the Alibaba Cloud Management Console. Use the ActionTrail console to query these events for real-time auditing and to locate the causes of issues.

How event delivery works

ActionTrail captures KMS management events and can deliver them to the following destinations:

  • Simple Log Service Logstores — stream events for real-time search and analysis

  • Object Storage Service (OSS) buckets — archive events for storage and compliance audits

KMS generates management events when you manage cloud resources by using APIs or the Alibaba Cloud Management Console.

KMS management events

The following table lists the KMS management events that you can query in ActionTrail.

Event nameDescription
AsymmetricDecryptDecrypts data by using an asymmetric key.
AsymmetricEncryptEncrypts data by using an asymmetric key.
AsymmetricSignGenerates a signature by using an asymmetric key.
AsymmetricVerifyVerifies a signature by using an asymmetric CMK.
CancelKeyDeletionCancels the deletion of a key.
CertificatePrivateKeyDecryptDecrypts data by using a certificate.
CertificatePrivateKeySignGenerates a digital signature by using a certificate.
CertificatePublicKeyEncryptEncrypts data by using a certificate.
CertificatePublicKeyVerifyVerifies a digital signature by using a certificate.
CheckServiceLinkedRoleForDeletingChecks whether a service-linked role can be deleted.
ConnectKeyStoreEnables a KMS instance.
ConnectKmsInstanceEnables a KMS instance.
CreateAliasCreates an alias for a key.
CreateApplicationAccessPointCreates an application access point (AAP).
CreateCertificateCreates a certificate.
CreateCertificateAuthorityCreate a certificate authority (CA).
CreateClientKeyCreates a client key for an AAP.
CreateKeyCreates a key.
CreateKeyVersionCreates a version for a key.
CreateNetworkRuleCreates a network access rule.
CreatePolicyCreates an access control policy for an AAP.
CreateSecretCreates a secret and stores the secret value in the initial version.
CreateKmsInstanceImageUpgradeTaskCreates an image upgrade task for a KMS instance.
CancelKmsInstanceImageUpgradeTaskCancels an image upgrade task for a KMS instance.
RollbackKmsInstanceImageUpgradeTaskRolls back an image upgrade task of a KMS instance.
DescribeKmsInstanceImageUpgradeTaskQueries the details of an image upgrade task of a KMS instance.
DecryptDecrypts ciphertext.
DeleteAliasDeletes an alias.
DeleteApplicationAccessPointDeletes an AAP.
DeleteCertificateDeletes a certificate and the private key and certificate chain of the certificate.
DeleteCertificateAuthorityDeletes a CA.
DeleteClientKeyDeletes the client key of an AAP.
DeleteKeyMaterialDeletes imported key material.
DeleteNetworkRuleDeletes a network access rule of an AAP.
DeletePolicyDeletes an access control policy of an AAP.
DeleteSecretDeletes a secret.
DescribeAccessPointQueries the information about an AAP.
DescribeAccountKmsStatusQueries the status of KMS within the current Alibaba Cloud account.
DescribeApplicationAccessPointQueries the details of an AAP.
DescribeCertificateQueries the information about a certificate.
DescribeCertificateAuthorityQueries the CA information.
DescribeClustersQueries the information about a cluster.
DescribeDBInstanceNetInfoQueries the network information about an instance.
DescribeKeyQueries the details of a key.
DescribeKeyStoresQueries the details of a KMS instance.
DescribeKeyVersionQueries the information about a key version.
DescribeNetworkRuleQueries the details of a network access rule of an AAP.
DescribePolicyQueries the details of an access control policy of an AAP.
DescribeRegionQueries available regions for the current account.
DescribeSecretQueries the metadata of a secret.
DescribeServiceQueries the key protection capabilities in a region.
DisableKeyDisables a key for encryption and decryption.
DisconnectKeyStoreDisables a KMS instance of the hardware key management type.
doCheckResourceVerifies the information about a tag.
doLogicalDeleteResourceDeletes a resource in a logical manner.
doPhysicalDeleteResourceDeletes a resource in a physical manner.
EnableKeyEnables a key for encryption and decryption.
EncryptEncrypts plaintext into ciphertext by using a symmetric key.
ExportCertificateExports a certificate and the private key of the certificate.
ExportDataKeyEncrypts a data key by using a public key and exports the data key.
GenerateAndExportDataKeyGenerates a random data key, encrypts the data key by using a key and a public key, and then returns the key-encrypted data key ciphertext and the public key-encrypted data key ciphertext.
GenerateDataKeyGenerates a random data key that is used to locally encrypt data.
GenerateDataKeyWithoutPlaintextGenerates a random data key that is used to locally encrypt data. The plaintext of the data key is not returned.
GetCertificateQueries a certificate that is managed by Certificates Manager.
GetCertificateAuthorityCertificateQueries the CAs of certificates that are managed by Certificates Manager.
GetCertificateAuthorityCsrQueries the certificate signing request (CSR) files for certificates that are managed by Certificates Manager.
GetClientKeyQueries the information about a client key.
GetIssuedCertificateQueries the certificate that is issued by a CA.
GetParametersForImportQueries the parameters that are used for importing key material.
GetPublicKeyQueries the public key of an asymmetric key.
GetRandomPasswordQueries a random password string.
GetSecretValueQueries a secret value.
GetConsumerTagQueries a user tag.
GetDKMSMigratingDiagnosisChecks whether a key can be migrated to KMS 3.0.
GetKmsInstanceQueries the details of a KMS instance.
ImportCertificateImports a certificate.
ImportCertificateAuthorityCertificateImports the certificate of a CA.
ImportEncryptionCertificateImports an encryption certificate.
ImportKeyMaterialImports key material.
IssueCertificateIssues a certificate.
ListAccessPointsQueries a list of AAPs.
ListAliasQueries a list of aliases.
ListAliasesQueries all aliases of the current user in the current region.
ListAliasesByKeyIdQueries all aliases that are associated with a key.
ListApplicationAccessPointsQueries a list of AAPs.
ListCertificateAuthoritiesQueries a list of CAs.
ListCertificatesQueries a list of certificates.
ListClientKeysQueries a list of the client keys of an AAP.
ListKeysQueries all key IDs of the caller in the current region.
ListKeyVersionsQueries all versions of a key.
ListKmsInstancesQueries a list of KMS instances.
ListNetworkRulesQueries a list of the network access rules of an AAP.
ListPoliciesQueries a list of the access control policies of an AAP.
ListResourceTagsQueries the tags of a key.
ListSecretsQueries all secrets of the current user in the current region.
ListSecretVersionIdsQueries all versions of a secret.
ListTagResourcesQueries the tags of a key or a secret.
OpenKmsServiceActivates KMS for the current Alibaba Cloud account.
OpenServiceActivates KMS.
PutSecretValueStores the secret value of a new version into a secret.
ReEncryptRe-encrypts ciphertext.
RefreshAccessPointTokensUpdates the tokens for an AAP.
RestoreSecretRestores a deleted secret.
RevokeIssuedCertificateRevokes an issued certificate.
RotateSecretRotates a dynamic secret in a proactive manner.
ScheduleKeyDeletionSchedules the deletion of a key.
SetDeletionProtectionEnables or disables the deletion protection feature.
SetKeyStoreAuditConfigConfigures KMS audit logs.
TagResourceAdds tags to a key or secret.
TagResourcesAdds tags to keys or secrets.
UntagResourceRemoves a tag from a key or secret.
UntagResourcesRemoves tags from keys or secrets.
UpdateAliasUpdates the ID of the key that is associated with an alias.
UpdateApplicationAccessPointUpdates information about an AAP.
UpdateCertificateAuthorityUpdates the CA configuration.
UpdateCertificateStatusUpdates the status of a certificate.
UpdateKeyDescriptionUpdates the description of a key.
UpdateKeyStoreUpdates the information about a KMS instance.
UpdateKmsInstanceBindVpcUpdates the virtual private cloud (VPC) that is associated with a KMS instance.
UpdateNetworkRuleUpdates a network access rule of an AAP.
UpdatePolicyUpdates an access control policy of an AAP.
UpdateRotationPolicyUpdates a key rotation policy.
UpdateSecretUpdates the metadata of a secret.
UpdateSecretRotationPolicyUpdates the rotation policy for a dynamic secret.
UpdateSecretVersionStageUpdates the stage label that marks a secret version.
UploadCertificateImports a certificate and a certificate chain issued by a CA into Certificates Manager.
ConnectDKMSInstanceEnables a KMS instance.
CreateBackupCreates a backup instance.
CreateCheckAssociateResourceTaskCreates a task to check the cloud service resources that are associated with a key.
DeleteBackupDeletes a backup instance.
DescribeBackupsQueries the details of a backup instance.
DescribeDKMSInstancesQueries a list of KMS instances.
DescribeIssuedCertificateQueries a CA certificate of a KMS instance.
DescribeKMSInstancesQueries a list of KMS instances.
DescribeVpcsQueries a list of VPCs.
DescribeZonesQueries the zones supported by a KMS instance.
DescribNetworkRuleQueries the details of a network access rule.
DisconnectDKMSInstanceDisables a KMS instance.
DownloadBackupDataDownloads backup data.
EnableBackupEnables a backup instance.
GenerateKMSDataKeyCreates a data key.
GetCheckAssociateResourceTaskResultsQueries the result of a key association check task.
GetCrlQueries a certificate.
GetKmsInstanceQuotaInfosQueries the quotas of a KMS instance.
GetKmsInstanceSharedAccountsQueries the quota occupied by a shared KMS instance.
GetSecreValueRetrieves a secret.
GetUploadBackupDataInfoUploads data backup information.
ListBackupsQueries a list of backup instances.
ListMetaDataQueries the metadata of backup instance resources.
ListSpecifyRegionKmsInstancesQueries KMS instances in a region.
RecoverDataRestores backup data.
RecoverMigrationKeysRestores migrated keys.
ResetBackupResets a backup instance.
UpdateDKMSInstanceChanges the name of a KMS instance.
UpdateDKMSInstanceConfigUpdates the configurations of a KMS instance.