Adding Google Cloud Key Rings
Use the post /v1/cckm/google/add-key-rings
API to add the list of Google Cloud key rings to a project linked with a Google Cloud connection. These key rings can be managed through CCKM on the CipherTrust Manager.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
connection | string | Name or ID of the Google Cloud connection on the CipherTrust Manager. |
key_rings | array of JSONs | Names of the Google Cloud key rings to be added. |
project_id | string | Name or ID of the project in which the Google Cloud key ring is to be added. 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. |
Example Request
Example Response
The sample output displays that the Google Cloud key ring projects/gemalto-kyloeng/locations/global/keyRings/demo-key-ring
is added to "project_id": "gemalto-kyloeng"
at "location": "global"
over the specified Google Cloud connection.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.