# IssuePartnerProvisioningKeyDto

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

A request for the API key a partner creates and changes its users with.

## Fields
- `ownerUserId` (string(uuid)) required: The user the key authenticates as: an active reseller-level user of the registration's bound reseller, with a WinkPG sign-in of their own. The key can do no more than this user can.
- `name` (string) required: The key's display name. (nullable, max length 128)
- `allowedCidrs` (array<string>) required: The partner's source addresses, as IP addresses or CIDR ranges. At least one is required: the key is refused from anywhere else. (nullable)
- `expireAt` (string(date-time)): When the key stops working, in UTC. It must be in the future: an expiry at or before now is refused. Leave it out for no expiry. (nullable)
- `includeSecurityEvents` (boolean): Whether the key can also read the partner's own security events (<c>GET /api/partner-launch/security-events</c>), to recover one its receiver missed. Off by default. A key cannot be changed after it is issued, so a partner that wants the read is issued a new key.

## See also

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