Represents the metadata for a Google Cloud Storage HmacKeyResource.
HMAC keys allow applications to authenticate with Google Cloud Storage using HMAC authentication. Applications can create a limited number of HMAC keys associated with a service account. The application can use the HMAC keys to authenticate with GCS. GCS will use the service account permissions to determine if the request is authorized.
[[["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-03-21 UTC."],[[["This document outlines the `HmacKeyMetadata` class, which is used to represent metadata for Google Cloud Storage HMAC keys, enabling applications to authenticate with GCS."],["The document provides a list of available versions, from 2.11.0 to the latest release candidate 2.37.0-rc, each linking to specific documentation for the `HmacKeyMetadata` class."],["The `HmacKeyMetadata` class contains constructors, functions, and methods for retrieving and setting various metadata attributes, such as access ID, project ID, service account email, creation time, and update time."],["Testing modifiers such as `set_access_id`, `set_id`, and others allow modification of attributes that are typically immutable, for the purpose of testing."],["The `HmacKeyMetadata` class also includes methods to check the state of an HMAC key, with predefined static functions to get a string representing whether the key is active, inactive, or deleted."]]],[]]