v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481826573.7 KB

Updates an encryption key. A <code>ResourceNotFoundException</code> means that an Amazon Web Services owned key is being used for encryption.

put/encryptionkey/update

Request body

kmsKeyIdstring required

A KMS key ID for the encryption key.

scanType'NETWORK' | 'PACKAGE' | 'CODE' required

The scan type for the encryption key.

resourceType'AWS_EC2_INSTANCE' | 'AWS_ECR_CONTAINER_IMAGE' | 'AWS_ECR_REPOSITORY' | 'AWS_LAMBDA_FUNCTION' | 'CODE_REPOSITORY' | 'Microsoft.Compute/virtualMachines' | 'Microsoft.ContainerRegistry/registry/containerImage' | 'Microsoft.Web/sites' required

The resource type for the encryption key.

Response

Success

UpdateEncryptionKeyResponse required