[SDK reference](../../index.md) / [Models](../index.md) / [ServiceAccounts](index.md)

# HmacKey

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.ServiceAccounts`  

A new HMAC key for S3 (ADR-0209): the access key ID is public; the secret access key is in this answer only.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `AccessKeyId` | `string?` | `accessKeyId` | azh_ and 12 base32 characters (azht_ in the lab). |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `ExpireTime` | `DateTimeOffset?` | `expireTime` | The expireTime property |
| `LastUsedTime` | `DateTimeOffset?` | `lastUsedTime` | When S3 last resolved the key, to the hour (ADR-0209); absent when never used. |
| `Name` | `string?` | `name` | projects/{project}/serviceAccounts/{serviceAccount}/hmacKeys/{hmacKey}; the ID is the access key ID. |
| `Secret` | `string?` | `secret` | The secret access key. Store it where you store secrets. |
| `State` | `Models.ServiceAccounts.HmacKey_state?` | `state` | ACTIVE until it expires or is deleted. |
