Learn how to set metadata and leverage authentication attributes for machine identities.
Machine identities can have metadata set manually, just like users. In addition, during the machine authentication process (e.g., via OIDC), extra attributes called claims—are provided, which can be used in your ABAC policies.
Navigate to the Access Control page on the organization sidebar and select a machine identity.
On the machine identity page, click the pencil icon to edit the selected identity.
Add metadata via key-value pairs and update the machine identity.
When machine identities authenticate, they may receive additional payloads/attributes from the service provider. For methods like OIDC, these come as claims in the token and can be made available in your policies.
For example, if your OIDC provider returns:
You might map:
user.department
user.role
Once configured, these attributes become available in your policies using the following format: