Files
homelab-infra/infrastructure/openbao/terraform/policies/spire-poc.hcl
T
panxiao81 c9987122e6
terraform / validate (pull_request) Successful in 1m12s
配置 SPIRE JWT-SVID 登录 OpenBao
2026-09-13 15:56:08 +00:00

11 lines
302 B
HCL

# Intentionally grants no secret access. This policy proves that an exact
# SPIFFE ID can exchange a JWT-SVID for a bounded OpenBao token and inspect or
# revoke only that token.
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}