Getting Google Cloud Key Rings
Use the post /v1/cckm/google/get-key-rings
API to fetch the Google Cloud key rings from a project linked with a Google Cloud connection. These key rings can be added to the CipherTrust Manager and managed through CCKM.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
connection | string | Name or ID of the Google Cloud connection on the CipherTrust Manager. |
location | string | Name of the Google Cloud location. To get the list of Google Cloud locations, refer to Google Google Cloud Location API. |
page_size | number | Number of the Google Cloud key rings to list. |
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. Refer to Fetching a Project from GCP or Viewing Google Cloud Projects. |
page_token | string | Token that you can use to get the list of remaining Google Cloud key rings beyond the number set in page_size . For example, if the total number of Google Cloud key rings is 20 , and you have page_size to 11 , then specify page_token to view the remaining 9 key rings. |
Example Request
Example Response
The sample output displays the list of Google Cloud key rings based on the specified Google Cloud connection, location, and project ID.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.