keystores
Creates, updates, deletes, gets or lists a keystores
resource.
Overview
Name | keystores |
Type | Resource |
Id | google.apigee.keystores |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255} . |
aliases | array | Output only. Aliases in this keystore. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_keystores_get | SELECT | environmentsId, keystoresId, organizationsId | Gets a keystore or truststore. |
organizations_environments_keystores_create | INSERT | environmentsId, organizationsId | Creates a keystore or truststore. - Keystore: Contains certificates and their associated keys. - Truststore: Contains trusted certificates used to validate a server's certificate. These certificates are typically self-signed certificates or certificates that are not signed by a trusted CA. |
organizations_environments_keystores_delete | DELETE | environmentsId, keystoresId, organizationsId | Deletes a keystore or truststore. |
SELECT
examples
Gets a keystore or truststore.
SELECT
name,
aliases
FROM google.apigee.keystores
WHERE environmentsId = '{{ environmentsId }}'
AND keystoresId = '{{ keystoresId }}'
AND organizationsId = '{{ organizationsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new keystores
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.apigee.keystores (
environmentsId,
organizationsId,
name
)
SELECT
'{{ environmentsId }}',
'{{ organizationsId }}',
'{{ name }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: aliases
value:
- string
DELETE
example
Deletes the specified keystores
resource.
/*+ delete */
DELETE FROM google.apigee.keystores
WHERE environmentsId = '{{ environmentsId }}'
AND keystoresId = '{{ keystoresId }}'
AND organizationsId = '{{ organizationsId }}';