Enum PrincipalType
- Namespace
- Excalibur.A3.Governance.NonHumanIdentity
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Classifies the type of principal (identity) for governance purposes.
public enum PrincipalType
Fields
ApiKey = 3An API key-based identity.
Bot = 2A bot or automated agent identity.
Human = 0A human user identity.
ServiceAccount = 1A service account used for automated processes.
Remarks
Used to differentiate between human and non-human identities when applying governance policies such as access reviews, provisioning workflows, and API key management.
Consumers can extend classification beyond these built-in values by using GetService(Type) to access custom classification logic.