Manage Intents
Create, edit, or delete intents in the Immuta UI or using the API
Permissions
GOVERNANCE Immuta permission
Create an intent
With the UI
Click Identities in the navigation menu and select Intents.
Click New intent.
Enter a Name and Description for the intent.
Add attributes to the intent. Start typing in the key and value fields to search for and select attribute key-value pairs. Once users assume this intent, these attributes will replace existing attributes assigned to those users.
Select groups from the dropdown in the Assign groups section to assign group names to the intent. Users who are members of at least one of these groups will be able to assume the intent.
Click Create intent.
With the API
Copy the request example below and replace the values with your own as directed to create an intent.
curl -X 'POST' \
'https://www.organization.immuta.com/intent' \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H 'Content-Type: application/json' \
-d '{
"name": "Fraud detection",
"description": "While acting under this intent, users can see internal data.",
"groups": [ {"name": "Analysts", "iamid": "bim"} ],
"authorizations": { "Exception": ["Internal"] }
}'Replace the Immuta URL and bearer token with your own.
Change the payload values to your own, where
name is the name of the intent.
description is an optional explanation of the intent.
groups.name is the name of the group authorized to use the intent. Users who are members of at least one of these groups will be able to assume the intent.
groups.iamid is the unique identifier of the identity provider that contains the group. You can find this ID in the identity provider's configuration section on the app settings page or through the Immuta API. If you created the group in Immuta, this value is
bim.authorizations is an object that includes an attribute key with an array of attribute values to assign to the intent. Once users assume this intent, these attributes will replace existing attributes assigned to those users.
Edit an existing intent
You can edit the name and description of an intent or change the attributes and groups of the intent.
Delete an intent
With the UI
Click Identities in the navigation menu and select Intents.
Click the overflow menu icon on the intent you want to delete and select Delete.
Click Confirm.
With the API
Copy the request example below and replace the values with your own as directed to delete an intent.
Replace the Immuta URL and bearer token with your own.
Replace the {id} request parameter with the unique identifier of the intent you want to delete. You can retrieve a list of intent IDs using the
POST intent/searchendpoint.
Last updated
Was this helpful?

