Skip to main content

keystores

Creates, updates, deletes, gets or lists a keystores resource.

Overview

Namekeystores
TypeResource
Idgoogle.apigee.keystores

Fields

NameDatatypeDescription
namestringRequired. Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
aliasesarrayOutput only. Aliases in this keystore.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_keystores_getSELECTenvironmentsId, keystoresId, organizationsIdGets a keystore or truststore.
organizations_environments_keystores_createINSERTenvironmentsId, organizationsIdCreates 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_deleteDELETEenvironmentsId, keystoresId, organizationsIdDeletes 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.

/*+ create */
INSERT INTO google.apigee.keystores (
environmentsId,
organizationsId,
name
)
SELECT
'{{ environmentsId }}',
'{{ organizationsId }}',
'{{ name }}'
;

DELETE example

Deletes the specified keystores resource.

/*+ delete */
DELETE FROM google.apigee.keystores
WHERE environmentsId = '{{ environmentsId }}'
AND keystoresId = '{{ keystoresId }}'
AND organizationsId = '{{ organizationsId }}';