Skip to main content

encryption_configs

Creates, updates, deletes, gets or lists an encryption_configs resource.

Overview

Nameencryption_configs
TypeResource
Idaws.eks.encryption_configs

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
associate_encryption_configupdatename, region, encryptionConfigAssociates an encryption configuration to an existing cluster. Use this API to enable encryption on existing clusters that don't already have encryption enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of your cluster.
regionstringAWS region (default: us-east-1)

UPDATE examples

Associates an encryption configuration to an existing cluster. Use this API to enable encryption on existing clusters that don't already have encryption enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.

UPDATE aws.eks.encryption_configs
SET
encryptionConfig = '{{ encryptionConfig }}',
clientRequestToken = '{{ clientRequestToken }}'
WHERE
name = '{{ name }}' --required
AND region = '{{ region }}' --required
AND encryptionConfig = '{{ encryptionConfig }}' --required
RETURNING
update;