key_rings
Creates, updates, deletes, gets or lists a key_rings
resource.
Overview
Name | key_rings |
Type | Resource |
Id | google.cloudkms.key_rings |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name for the KeyRing in the format projects/*/locations/*/keyRings/* . |
createTime | string | Output only. The time at which this KeyRing was created. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | keyRingsId, locationsId, projectsId | Returns metadata for a given KeyRing. |
list | SELECT | locationsId, projectsId | Lists KeyRings. |
create | INSERT | locationsId, projectsId | Create a new KeyRing in a given Project and Location. |
SELECT
examples
Lists KeyRings.
SELECT
name,
createTime
FROM google.cloudkms.key_rings
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new key_rings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.cloudkms.key_rings (
locationsId,
projectsId
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string