Skip to content

Get Encryption Key

inspector2_get_encryption_key R Documentation

Gets an encryption key

Description

Gets an encryption key.

Usage

inspector2_get_encryption_key(resourceType, scanType)

Arguments

resourceType

[required] The resource type the key encrypts.

scanType

[required] The scan type the key encrypts.

Value

A list with the following syntax:

list(
  kmsKeyId = "string"
)

Request syntax

svc$get_encryption_key(
  resourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION",
  scanType = "NETWORK"|"PACKAGE"|"CODE"
)