- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.keyRings.create
Create a new KeyRing in a given Project and Location.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The resource name of the location associated with the  Authorization requires the following IAM 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 of KeyRing.
Response body
If successful, the response body contains a newly created instance of KeyRing.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloudkms
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.