Workspace and teamConnections

A connection is one connected account at a third-party service. It lives in a vault of your Workspace. The credential stays in the vault: Akua only injects it into requests, and no API response ever returns it.

YouYour workload or agentnever holds the credential
request
AkuaAdds the credentialfrom your vault, if the policy allows
with the credential
Third partyThe connected service

Resources

ResourceWhat it is
VaultHolds connections and secrets. Every Workspace has a default vault, which is listed first.
ConnectionOne connected account. A new connection is PENDING_CONSENT until its key is set or OAuth consent completes.
Connection policyWho may use the connection, for which operations, and until when. Without a binding, nobody can use it.

Connect an account

  1. Create a connection in a vault with POST /v1/vaults/{vault}/connections.
  2. Set its key with POST /v1/vaults/{vault}/connections/{connection}:setCredential, or complete OAuth consent. Akua verifies a key with the provider before storing it.
  3. Bind each principal that should use the connection with POST /v1/vaults/{vault}/connections/{connection}:setIamPolicy.

Revoke access

Revoking takes effect at once:

  • Remove a principal’s binding with :setIamPolicy to stop one principal.
  • Revoke the connection with POST /v1/vaults/{vault}/connections/{connection}:revoke to stop all use.

See the API reference for every request and response field.