Secret never leaves
Tokens, not credentials
Users receive an access token for their scopes. The client ID and secret are never exposed.
Agentic AI / Vault
Store a third-party OAuth2 client ID and secret in the vault, with its token endpoint and scopes. Assign it to a regular, service or machine user, with an expiry and a subset of the scopes. They ask the vault and get back an access token, never the secret.
Available now in WebFrolic.
Why it matters
Agents and integrations need third-party API access. Giving each one the client secret means it can mint any token, for any scope, forever, and you cannot tell who did. Brokering tokens through the vault keeps the secret in one place and each use accountable.
Secret never leaves
Users receive an access token for their scopes. The client ID and secret are never exposed.
Scoped and expiring
Each assignment grants a subset of the OAuth2 scopes and has an expiry, so access ends on its own.
Traceable
Each access-token request is mapped to the user who made it, and tokens are cached per user to avoid excess calls to the provider.
How it works
| Step | What happens | Control |
|---|---|---|
| Store | An administrator saves the client ID, secret, token endpoint and available scopes in Vault → OAuth2 Secret. | Secrets are write-only and masked. |
| Assign | The secret is assigned to a regular, service or machine user, with an expiry and a subset of the scopes. System users cannot be assigned OAuth2 secrets. | Least privilege and time limits per assignment. |
| Request | The user queries the vault and receives an access token for their assigned scopes. | Network firewall rules govern where requests may come from. |
| Cache and record | Tokens are cached per user and every request is recorded. | Fewer provider calls; full traceability. |
Before rollout
Settle these first and the rollout is mostly configuration.
Related capabilities
These capabilities are usually configured together.
Evaluate with your scenario
Share the identities, resource boundary and decision you want to test. The walkthrough can focus on the relevant behavior rather than a generic feature tour.