Enum ApiKeyOwnership
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
Which kinds of API key people can create: shared keys, personal keys, or both. Set per key kind with TeamKeys and SystemKeys.
public enum ApiKeyOwnership
Fields
Both = 0Both kinds. The create card offers a Personal checkbox. Default.
Personal = 2Personal keys only. The create card offers no checkbox, and every key a person creates is personal, whatever the caller asked for.
Shared keys only. The create card offers no checkbox, and a request for a personal key is refused, because silently making it shared would expose a key its creator meant to keep to themselves.
Remarks
A personal key belongs to the person who created it: only they, or a caller holding the Oversee system scope, see and manage it. In code a personal key is an owner-scoped ("private") key, see OwnerMemberKey.
The option governs creation only. Keys that already exist are not changed when it changes, and stay listed and manageable.