Setting Metadata on Users
1
Navigate to the Access Control page on the organization sidebar and select a user.

2
On the User Page, click the pencil icon to edit the selected user.

3
Add metadata via key-value pairs and update the user identity.

Applying ABAC Policies with User Metadata
Attribute-based access controls are currently only available for policies defined on Secrets Manager projects. You can set ABAC permissions to dynamically set access to environments, folders, secrets, and secret tags.
- User ID:
{{ identity.id }}
(always available) - Username:
{{ identity.username }}
(always available) - Metadata Attributes:
{{ identity.metadata.<metadata-key-name> }}
(available if set)