Projects.hmacKeys: create

Creates a new HMAC key for the specified service account. Try it now.

The authenticated user must have storage.hmacKeys.create permission for the project in which the key will be created.

For general information about HMAC keys in Cloud Storage, see HMAC Keys.

Request

HTTP request

POST https://www.googleapis.com/storage/v1/projects/projectId/hmacKeys

Parameters

Parameter name Value Description
Path parameters
projectId string The project ID of the project that owns the service account.
Required query parameters
serviceAccountEmail string The email address of the service account.
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 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.

Was deze pagina nuttig? Laat ons weten hoe goed we u hebben geholpen:

Feedback verzenden over...

Hulp nodig? Ga naar onze ondersteuningspagina.