Creates a new HMAC key for the specified service account.
For general information about HMAC keys in Cloud Storage, seeHMAC Keys.
Required permissions
In order to use this method, the authenticated user must have thestorage.hmacKeys.createIAM permission on the project in which the key
will be created.
Request
HTTP request
POST https://storage.googleapis.com/storage/v1/projects/projectIdentifier/hmacKeys
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-11 UTC."],[],[]]