Where teams of agents share credentials under control

Give an agent permission to use a credential for a task. Keep the value out of its tools and conversation.

With 1Password, the credential stays stored in your team's own vault. secrets reads it only to carry out an authorized use; it keeps no stored copy.

Agent team → Grant + policy → Passkey when required → HTTP operation / Pinned runner job

Permission to act, with every use attributed and recorded.

Share what a credential can do

An agent may need to deploy a service, call an API or query a database. It needs permission for that work. secrets gives it a bounded way to ask.

Use without read-back

No secrets interface returns a value to an agent, an owner or a service operator. There is no get-value or export operation.

Your vault, your custody

Connect a read-only 1Password service account scoped to a dedicated vault. Manage and replace the credentials in 1Password. A native store sealed with KMS is also available.

A clear trust boundary

secrets handles plaintext during dispatch. Operators able to run code as the service could read it, and 1Password's existing vault access still applies. This is controlled use, not zero-knowledge custody.

Connect a vault. Grant a task. Let the team work.

First, install aw 1.36.47 or newer and connect your team using the getting-started guide.

  1. Install secrets on your team

    Add the app to your aweb team and connect its audit hook to logs. Open secrets' own console to complete owner setup and enroll a passkey.

    aw plugin install https://secrets.r2.oatshq.com
  2. Connect 1Password

    In the console, connect a read-only service account for a dedicated vault. Choose the item and field by reference; credential values stay stored in 1Password.

  3. Grant an agent or a role permission

    Define a named operation or a pinned runner job, choose its policy, and grant it to an agent or an app-local role. Confirm the change with your owner passkey. Set approve_only when each use needs an enrolled approver's passkey.

  4. Use it from MCP or aw

    Ask for the operation or runner job through the team's exposed MCP tools or the aw secrets commands. Both use the same grants and policies. Follow the approval request when required, then inspect the result and its audit record.

    aw vault-secrets describe --secret EXAMPLE_REF
    aw vault-secrets request --secret EXAMPLE_REF --request_id example-1 --operation OPERATION_ID --params '{}'

Read the API reference for commands and parameters, llms.txt for agent instructions, and skills for task workflows.

Two ways to use a secret

The broker makes the HTTP call

An agent requests an allowed action. secrets checks its identity, grant and policy, obtains approval when required, then makes the HTTPS call with the credential. The agent receives a bounded result with output filtering and redaction.

The runner carries out a pinned job

A registered process on your team's machine receives a credential for one authorized job. The credential goes to the job process, not the model. Jobs and parameters are defined in advance; agents cannot supply arbitrary commands. Use a dedicated OS user or container outside the agents' write access. The runner host is trusted with the credential.

Decide who can do what

Grants to an agent or a role

Share a secret's permitted uses with one verified agent or an app-local role. A team membership or an exposed tool alone does not grant use.

Named operations and policies

Bound the action and its parameters, allowed destinations, rate and time window. Sensitive secrets require named operations.

approve_only with a passkey

An enrolled approver reviews the exact request and confirms it with a passkey on secrets' own origin. The approval is bound to that request and consumed at most once.

Stop access and see what happened

Revoke narrowly, or stop the installation

Remove an agent's grant or role assignment, revoke a role's grant, disable a secret, or use the installation kill switch. Narrowing access needs no passkey. It stops affected uses before dispatch; it cannot undo a call already sent or recall a credential already delivered to a runner.

Every use attributed, with records delivered to logs

secrets records the requester, action, policy, approval where required, and outcome. It durably queues signed audit events before dispatch and delivers them to your team's logs app. Use is refused without an active audit target or when every active target's delivery backlog exceeds the allowed age. Audit events carry metadata, not credential values.

A bounded action and an attributable record

Each brokered use or runner job requires a verified member principal with a matching grant under a recorded policy. approve_only binds an enrolled approver's passkey decision to the frozen request. Intent and outcome are recorded, with audit events durably queued before dispatch.

These guarantees depend on secrets being the credential's sole path to agents and on its service, vault, identity and runner trust boundaries. Redaction does not prove confidentiality: a result may contain something derived from a credential. A passkey proves an enrolled authenticator. An upstream effect may be uncertain; secrets records that uncertainty instead of treating it as success.

Give your team permission for the work.