Skip to content

Reset Encryption Key

inspector2_reset_encryption_key R Documentation

Resets an encryption key

Description

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

Usage

inspector2_reset_encryption_key(resourceType, scanType)

Arguments

resourceType

[required] The resource type the key encrypts.

scanType

[required] The scan type the key encrypts.

Value

An empty list.

Request syntax

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