User identities can have metadata attributes assigned directly. These attributes (such as location or department) are used to define dynamic access policies.Documentation Index
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Setting Metadata on Users
- Manually Configure Metadata
- Automatically Populate Metadata
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.
In your policies, metadata values are accessed as follows:
- User ID:
{{ identity.id }}(always available) - Username:
{{ identity.username }}(always available) - Metadata Attributes:
{{ identity.metadata.<metadata-key-name> }}(available if set)


