dek_versions
Creates, updates, deletes, gets or lists a dek_versions
resource.
Overview
Name | dek_versions |
Type | Resource |
Id | confluent.encryption_keys.dek_versions |
Fields
Name | Datatype | Description |
---|---|---|
algorithm | string | Algorithm of the dek |
deleted | boolean | Whether the dek is deleted |
encryptedKeyMaterial | string | Encrypted key material of the dek |
kekName | string | Kek name of the dek |
keyMaterial | string | Raw key material of the dek |
subject | string | Subject of the dek |
ts | integer | Timestamp of the dek |
version | integer | Version of the dek |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_dek_by_version | SELECT | name, subject, version | |
get_dek_versions | SELECT | name, subject | |
delete_dek_version | DELETE | name, subject, version | |
undelete_dek_version | EXEC | name, subject, version |
SELECT
examples
SELECT
algorithm,
deleted,
encryptedKeyMaterial,
kekName,
keyMaterial,
subject,
ts,
version
FROM confluent.encryption_keys.dek_versions
WHERE name = '{{ name }}'
AND subject = '{{ subject }}';
DELETE
example
Deletes the specified dek_versions
resource.
/*+ delete */
DELETE FROM confluent.encryption_keys.dek_versions
WHERE name = '{{ name }}'
AND subject = '{{ subject }}'
AND version = '{{ version }}';