# otMacKeyMaterial


`#include <openthread/platform/radio.h>`

Represents a MAC Key.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-mac-key-material#structot_mac_key_material_1a433a8af2217f57ccc93edab4b3981245` | `https://openthread.io/reference/struct/ot-mac-key` Key stored as literal. |
| `https://openthread.io/reference/struct/ot-mac-key-material#structot_mac_key_material_1a80a2a6704a57da63be36468b450fb149` | `union otMacKeyMaterial::@14` |
| `https://openthread.io/reference/struct/ot-mac-key-material#structot_mac_key_material_1a8871b3ece547ecabfb6df6887da213e6` | `https://openthread.io/reference/group/radio-types#group__radio-types_1gab38055dd368a6f7dd32e3c4ef43c1768` Reference to the key stored. |

## Public attributes

### mKey

```
otMacKey otMacKeyMaterial::mKey
```
Key stored as literal.

### mKeyMaterial

```
union otMacKeyMaterial::@14 otMacKeyMaterial::mKeyMaterial
```

### mKeyRef

```
otMacKeyRef otMacKeyMaterial::mKeyRef
```
Reference to the key stored.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).