Skip to content

Gets an encryption key

Description

Gets an encryption key.

Usage

inspector2_get_encryption_key(scanType, resourceType)

Arguments

  • scanType

    [required] The scan type the key encrypts.

  • resourceType

    [required] The resource type the key encrypts.

Value

A list with the following syntax:

list(
  kmsKeyId = "string"
)

Request syntax

svc$get_encryption_key(
  scanType = "NETWORK"|"PACKAGE"|"CODE",
  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"
)