Method: keyRings.create Stay organized with collections Save and categorize content based on your preferences.
Full name: projects.locations.keyRings.create
Create a newKeyRing in a given Project and Location.
HTTP request
POST https://cloudkms.googleapis.com/v1/{parent=projects/*/locations/*}/keyRingsThe URLs usegRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the followingIAM permission on the specified resource
|
Query parameters
| Parameters | |
|---|---|
keyRingId |
Required. It must be unique within a location and match the regular expression |
Request body
The request body contains an instance ofKeyRing.
Response body
If successful, the response body contains a newly created instance ofKeyRing.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudkmshttps://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-11 UTC.