ekm_config
Creates, updates, deletes, gets or lists a ekm_config
resource.
Overview
Name | ekm_config |
Type | Resource |
Id | google.cloudkms.ekm_config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name for the EkmConfig in the format projects/*/locations/*/ekmConfig . |
defaultEkmConnection | string | Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_ekm_config | SELECT | locationsId, projectsId | Returns the EkmConfig singleton resource for a given project and location. |
update_ekm_config | UPDATE | locationsId, projectsId | Updates the EkmConfig singleton resource for a given project and location. |
SELECT
examples
Returns the EkmConfig singleton resource for a given project and location.
SELECT
name,
defaultEkmConnection
FROM google.cloudkms.ekm_config
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a ekm_config
resource.
/*+ update */
UPDATE google.cloudkms.ekm_config
SET
defaultEkmConnection = '{{ defaultEkmConnection }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';