Inline Policies
Inline Policies
resource "abbey_grant_kit" "null_grant" {
...
policies = [
{
query = <<-EOT
package main
import abbey.functions
allow[msg] {
expire_after("5m") # Expire the access after 5 minutes
msg := "access allowed for null_grant" # Use any message you like.
}
EOT
}
]
...
}Last updated