Identity Specific Privilege
Create Temporary
Create a temporary or a expiring specific privilege for identity.
POST
Authorizations
An access token in Infisical
Body
application/json
The ID of the identity to delete.
Minimum length:
1
The permission object for the privilege.
- [["read", "secrets", {environment: "dev", secretPath: {$glob: "/"}}]]
- [["read", "secrets", {environment: "dev"}], ["create", "secrets", {environment: "dev"}]]
- [["read", "secrets", {environment: "dev"}]]
The slug of the project of the identity in.
Minimum length:
1
ISO time for which temporary access should begin.
Type of temporary access given. Types: relative
Available options:
relative
TTL for the temporay time. Eg: 1m, 1h, 1d
The slug of the privilege to create.
Required string length:
1 - 60
Response
200 - application/json
Was this page helpful?