# PartnerProvisioningKeySummaryDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

A partner provisioning key as Wink staff review it on the registration. It never carries the key
value: that is shown once, when the key is issued.

## Fields
- `id` (string(uuid))
- `name` (string): The key's display name. (nullable)
- `ownerUserId` (string(uuid)): The user the key authenticates as.
- `ownerUserName` (string): The owner's user name, or `null` when the owner no longer exists. (nullable)
- `ownerEmail` (string): The owner's email address, or `null` when the owner no longer exists. (nullable)
- `allowedCidrs` (array<string>): The source addresses the key is accepted from. (nullable)
- `creationTime` (string(date-time)): When the key was issued, in UTC.
- `expireAt` (string(date-time)): When the key stops working, in UTC, or `null` for no expiry. (nullable)
- `status` ([PartnerProvisioningKeyStatus](https://docs.winkpg.io/docs/api/models/PartnerProvisioningKeyStatus.md)): Where the key stands now. Expiry is worked out when the list is read.
  Values:
  - `Active`: The key is in service and accepted from its source addresses.
  - `Suspended`: The key is out of service until someone reinstates it on the API keys page.
  - `Revoked`: The key is out of service for good.
  - `Expired`: The key's expiry has passed.
  - `Inactive`: The key is switched off.
- `scopes` (array<string>): The scopes the key holds: `partner:users`, and `partner:events` beside it when the key was issued to read the partner's security events. A key's scopes never change after it is issued. (nullable)

## See also

- [All documentation](https://docs.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
