v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481826573.7 KB

Gets an encryption key.

get/encryptionkey/get#scanType&resourceType

Query parameters

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

The scan type the key encrypts.

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 the key encrypts.

Response

Success

kmsKeyIdstring required

A kms key ID.