Viewing Google Cloud Keys
Use the get /v1/cckm/google/keys
API to view the list of Google Cloud keys available in Google Cloud key rings linked with a Google Cloud connection.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Request Query Parameters
Parameter | Type | Description |
---|---|---|
id | string | ID of the key resource on the CipherTrust Manager, for example, 2f18eade-2fd9-4c48-85f7-550107729299 . Note that this ID is different than ID of the key (key_id ) on Google Cloud, for example, TestKey . Refer to Creating a Google Cloud Key to find out the resource ID of a key. |
name | string | Name of the Google Cloud key. |
key_id | string | ID of the Google Cloud key. |
key_ring_id | string | ID of the Google Cloud key ring. |
location_id | string | ID of the Google Cloud key ring location. Specify global to list keys from all Google Cloud locations. |
project_id | string | Name or ID of the Google Cloud project where the Google Cloud key ring resides. To determine the project ID, run the post /v1/cckm/google/get-projects or get /v1/cckm/google/projects API. |
create_status | string | Creation status of the key. The status can be: • AVAILABLE • PENDING_GENERATION • FAILED |
organization_name | string | Name of the Google Cloud organization. |
organization_display_name | Display name of the Google Cloud organization on Google Cloud. | |
purpose | string | Purpose of the Google Cloud key. The purpose can be: • ENCRYPT_DECRYPT •ASYMMETRIC_SIGN •ASYMMETRIC_DECRYPT |
algorithm | string | Algorithm of the Google Cloud key. |
protection_level | string | Protection level of the Google Cloud key. |
job_config_id | string | ID of the scheduler job configuration. |
state | string | State of the Google Cloud key. The state can be: •PENDING_GENERATION •ABORTED •ENABLED •DISABLED •DESTROY_SCHEDULED •DESTROYED |
rotation_job_enabled | string | Whether the rotation is enabled for the Google cloud key. |
labels | string | Label (a valid json value) added to the Google Cloud key. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
sort | string | Comma-delimited list of properties to sort the results. |
Example Request
Example Response
The sample output displays the list of Google Cloud keys based on the specified request query parameters.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.