Retrieves an HMAC key's metadata. Try it now.
The authenticated user must have storage.hmacKeys.get
permission for the project
in which the key exists.
For general information about HMAC keys in Cloud Storage, see HMAC Keys.
Request
HTTP request
GET https://www.googleapis.com/storage/v1/projects/projectId/hmacKeys/accessId
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
accessId |
string |
The access ID of the requested HMAC key. |
projectId |
string |
The project ID of the project that owns the service account of the requested HMAC key. |
Optional query parameters | ||
userProject |
string |
The project to be billed for this request. |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns the metadata portion of a Projects.hmacKeys resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.