Create a temporary or a expiring 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.
1Type of temporary access given. Types: relative.
relative TTL for the temporary time. Eg: 1m, 1h, 1d.
ISO time for which temporary access should begin.
The 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