# AttestationCredential

- [JSON representation](https://developers.google.com/chrome/management/reference/rest/v1/AttestationCredential.md.txt#SCHEMA_REPRESENTATION)
- [KeyType](https://developers.google.com/chrome/management/reference/rest/v1/AttestationCredential.md.txt#KeyType)
- [KeyTrustLevel](https://developers.google.com/chrome/management/reference/rest/v1/AttestationCredential.md.txt#KeyTrustLevel)

Information of public key associated with a Chrome browser profile.

| JSON representation |
|---|
| ``` { "keyType": enum (`KeyType`), "keyTrustLevel": enum (`KeyTrustLevel`), "publicKey": string, "keyRotationTime": string } ``` |

| Fields ||
|---|---|
| `keyType` | ``enum (`KeyType`)`` Output only. Type of the public key. |
| `keyTrustLevel` | ``enum (`KeyTrustLevel`)`` Output only. Trust level of the public key. |
| `publicKey` | `string (bytes format)` Output only. Value of the public key. A base64-encoded string. |
| `keyRotationTime` | ``string (`Timestamp` format)`` Output only. Latest rotation timestamp of the public key rotation. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

## KeyType

Possible types of a public key.

| Enums ||
|---|---|
| `KEY_TYPE_UNSPECIFIED` | Represents an unspecified public key type. |
| `RSA_KEY` | Represents a RSA key. |
| `EC_KEY` | Represents an EC key. |

## KeyTrustLevel

Possible trust levels of a public key.

| Enums ||
|---|---|
| `KEY_TRUST_LEVEL_UNSPECIFIED` | Represents an unspecified public key trust level. |
| `CHROME_BROWSER_HW_KEY` | Represents a HW key. |
| `CHROME_BROWSER_OS_KEY` | Represents an OS key. |