Skip to content

Identity Policy JSON Reference

example.json
{
"name": "example", // Name of the policy
"statements": [
{
"actions": [
"binara:CreateRepository" // Action to allow creating repositories
],
"resources": [
// You can use variables like ${username} to dynamically reference the user
// Note: Variables don't work with roles
"binara:Repository(${username}-production)",
],
"effect": "allow" // Effect of the statement: "allow" or "deny"
},
],
}