encryption_configs
Creates, updates, deletes, gets or lists an encryption_configs resource.
Overview
| Name | encryption_configs |
| Type | Resource |
| Id | aws.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
associate_encryption_config | update | name, region, encryptionConfig | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of your cluster. |
region | string | AWS region (default: us-east-1) |
UPDATE examples
- associate_encryption_config
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;