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 This parameter is currently ignored.

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.

هل كانت هذه الصفحة مفيدة؟ يرجى تقييم أدائنا:

إرسال تعليقات حول...

هل تحتاج إلى مساعدة؟ انتقل إلى صفحة الدعم.