diff --git a/policies/kv/service/terraform/authentik/read.yaml b/policies/kv/service/terraform/authentik/read.yaml new file mode 100644 index 0000000..655de85 --- /dev/null +++ b/policies/kv/service/terraform/authentik/read.yaml @@ -0,0 +1,14 @@ +# Lets the agents AppRole read the Authentik provider API token so a coding +# agent can run a one-off `terragrunt import` in terraform-authentik to +# reconcile resources orphaned by the failed jellyfin apply. Read-only on the +# single token path; revert once the import is done. Mirrors the +# gitea/creds/unkin-agent binding pattern. +--- +rules: + - path: "kv/data/service/terraform/authentik" + capabilities: + - read + +auth: + approle: + - agents