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 the metadata for a Google Cloud Storage HMAC key resource, essential for applications using HMAC authentication."],["The latest version of the `HmacKeyMetadata` documentation is version 2.37.0-rc, with a comprehensive list of prior versions available, dating back to 2.11.0, to allow access to documentation regarding previous iterations."],["The class includes functions to retrieve various metadata attributes like `access_id`, `id`, `kind`, `project_id`, `service_account_email`, `time_created`, and `updated`, and some of those also have setter functions, and the class also offers functions to check the state of the key, be it, active, inactive, or deleted."],["The `HmacKeyMetadata` class contains testing modifier functions, such as `set_access_id`, `set_id`, `set_kind`, `set_project_id`, `set_service_account_email`, `set_time_created`, `set_updated`, and `set_etag`, which are designed for testing and mocking purposes and should not be used for creating or updating resources."],["HMAC keys provide a mechanism for applications to authenticate with Google Cloud Storage using a limited number of service account-associated keys, and this document provides further information on the functionality, use cases, and limitations of such keys."]]],[]]