Create a permanent or a non expiry specific privilege for identity.
An access token in Infisical
The ID of the machine identity to create.
1The slug of the project of the identity in.
1The slug of the privilege to create.
1 - 60@deprecated - use privilegePermission The permission object for the privilege.
{ "permissions": [{"action": "read", "subject": "secrets"]}{ "permissions": [{"action": "read", "subject": "secrets"], {"action": "write", "subject": "secrets"]}- { "permissions": [{"action": "read", "subject": "secrets", "conditions": { "environment": "dev", "secretPath": { "$glob": "/" } }}] }The permission object for the privilege.
Default Response