curl --request POST \
--url https://us.infisical.com/api/v2/identity-project-additional-privilege \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"identityId": "<string>",
"projectId": "<string>",
"permissions": [
{
"subject": "secrets",
"action": "read",
"inverted": true,
"conditions": {
"environment": "<string>",
"secretPath": "<string>",
"secretName": "<string>",
"secretTags": {
"$in": [
"<string>"
],
"$all": [
"<string>"
]
},
"eventType": "<string>"
}
}
],
"type": {
"isTemporary": false
},
"slug": "<string>"
}
'