feat: Vault identity-OIDC JWT auth and node set-environment route #9
Reference in New Issue
Block a user
Delete Branch "benvin/oidc-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Writes only accept a shared static token, so terragrunt-enc and agents cannot use short-lived Vault identity tokens, and there is no way to grant an agent just enough to move a node to testing.
encapias full write access alongside ENCAPI_WRITE_TOKENPUT /api/v1/nodes/{certname}/environment(single UPDATE); audencapi-testingmay only settestingencapi-cli node set-envUPDATE nodes SET environment=$2 ... WHERE certname=$1(ErrNotFound on 0 rows).Auth.TestingAudienceis set in main.go but never read (scope is derived as "has the full audience, else testing") → drop the field, or classify scopeTesting by explicit match on it.