{"app":{"id":"vault-secrets","origin":"https://secrets.r2.oatshq.com","version":"0.1.0"},"app_keys":[{"did_key":"did:key:z6MkgJEhCkXKmfwAMmbeGRZPkS6jaSq5bbYCWYgJXMT3Fqsy","kid":"secrets.hook-event-1","purposes":["hook-event"]},{"did_key":"did:key:z6Mkf4pvZs2tz1TDN4wTgTCewsyNeGJ5CbHCYafQJ66TKzRp","kid":"secrets.hook-delivery-1","purposes":["hook-delivery"]},{"did_key":"did:key:z6MkmWV9FMPm6TSo58WMDbjY3vFHGLgrvH885jmy9uWQqX4d","kid":"secrets:grant-read-1","purposes":["app-grant-read"]},{"did_key":"did:key:z6Mksnxzqykij8z4hizHpe3Z9zCPhM1uENB18r5PyHN2BwV4","kid":"secrets:hook-resolve-1","purposes":["hook-resolve"]}],"hooks":{"productions":[{"catalog":{"id":"aweb.hooks","version":1},"hook":"post-secret-use-hook","reads":[]},{"catalog":{"id":"aweb.hooks","version":1},"hook":"post-governance-hook","reads":[]}],"registration_version":1},"manifest_version":3,"owner_acts":{"origin":"https://console.secrets.r2.oatshq.com","roles":[{"acts":["human-credential.replace","human-role.designate","human-role.revoke"],"description":"Confirms changes to credentials, grants and policies with a passkey.","label":"Secrets owner","name":"secrets.owner","notice_contact":true}],"session_actions":[{"description":"Sign in as a Secrets owner from aw.","input_schema":{"properties":{},"type":"object"},"kind":"read","method":"GET","name":"session","path":"/v1/session","role":"secrets.owner"},{"body":{"mode":"json"},"input_schema":{"properties":{"changes":{"items":{"type":"object"},"type":"array"},"installation_id":{"type":"string"},"reason":{"type":"string"},"sealed":{"items":{"type":"object"},"type":"array"}},"required":["installation_id","changes","sealed","reason"],"type":"object"},"kind":"draft","method":"POST","name":"draft-change","params":[{"in":"path","name":"installation_id"},{"in":"body","name":"changes"},{"in":"body","name":"sealed"},{"in":"body","name":"reason"}],"path":"/installations/{installation_id}/change-sets","role":"secrets.owner"},{"input_schema":{"properties":{"change_id":{"type":"string"},"installation_id":{"type":"string"}},"required":["installation_id","change_id"],"type":"object"},"kind":"read","method":"GET","name":"change-set","params":[{"in":"path","name":"installation_id"},{"in":"path","name":"change_id"}],"path":"/installations/{installation_id}/change-sets/{change_id}","role":"secrets.owner"},{"body":{"mode":"json"},"input_schema":{"properties":{"installation_id":{"type":"string"},"value":{"type":"string"}},"required":["installation_id","value"],"type":"object"},"kind":"stage","method":"POST","name":"onepassword-token","params":[{"in":"path","name":"installation_id"},{"in":"body","name":"value","protected":true}],"path":"/installations/{installation_id}/backend-credentials/onepassword/versions","role":"secrets.owner"},{"body":{"mode":"json"},"input_schema":{"properties":{"credential_version":{"type":"integer"},"installation_id":{"type":"string"},"reference":{"type":"object"},"secret":{"type":"object"}},"required":["installation_id","secret","reference","credential_version"],"type":"object"},"kind":"stage","method":"POST","name":"onepassword-reference","params":[{"in":"path","name":"installation_id"},{"in":"body","name":"secret"},{"in":"body","name":"reference"},{"in":"body","name":"credential_version"}],"path":"/installations/{installation_id}/onepassword/references","role":"secrets.owner"},{"body":{"mode":"json"},"completion":{"done":{"in":["applied"],"member":"state"},"read":"change-set","ready":{"in":[true],"member":"can_confirm"},"stop":[{"in":["cancelled","expired"],"member":"state"},{"in":["rejected","revoked","expired"],"member":"approval_state"}]},"input_schema":{"properties":{"change_id":{"type":"string"},"installation_id":{"type":"string"}},"required":["installation_id","change_id"],"type":"object"},"kind":"confirm","method":"POST","name":"confirm","params":[{"in":"path","name":"installation_id"},{"in":"path","name":"change_id"}],"path":"/installations/{installation_id}/change-sets/{change_id}/confirm","role":"secrets.owner","terminal_output":["/runner_registrations/*/registration_code"]}]},"tools":[{"description":"List the secrets you may use: refs, kinds, sensitivity, destinations and approval requirements. Never values.","input_schema":{"properties":{},"type":"object"},"invocation_contexts":["agent","surface"],"method":"GET","mutation":false,"name":"list","params":[],"path":"/v1/secrets","scopes":["secrets:read"]},{"description":"Show one secret's operations, with their parameters, and the jobs you may run with it.","input_schema":{"properties":{"secret":{"type":"string"}},"required":["secret"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"GET","mutation":false,"name":"describe","params":[{"in":"path","name":"secret"}],"path":"/v1/secrets/{secret}","scopes":["secrets:read"]},{"body":{"mode":"json"},"description":"Make a brokered call with a secret: a named operation, or an open request where the grant allows one. Read the structured state independently of HTTP success. If awaiting_approval, check status using request_ref; after approved with next:resubmit, explicitly re-submit the identical request_id and body. Status never dispatches.","input_schema":{"properties":{"data":{"description":"An open request's body: a string, or a JSON object."},"headers":{"description":"Ordered 'Name: value' strings. Named operations allow only their declared header names; fixed and injected headers cannot be overridden.","type":"array"},"method":{"description":"An open request's HTTP method.","enum":["GET","POST","PUT","PATCH","DELETE"],"type":"string"},"operation":{"description":"A named operation's id.","type":"string"},"params":{"description":"The named operation's parameters.","type":"object"},"reason":{"description":"Shown to the approver as untrusted text.","type":"string"},"request_id":{"description":"Supply this ID once and reuse it with the identical body for retries and after approval. It is never generated by the tool.","type":"string"},"secret":{"type":"string"},"url":{"description":"An open request's URL.","type":"string"}},"required":["secret","request_id"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"POST","mutation":true,"name":"request","params":[{"in":"path","name":"secret"},{"in":"body","name":"request_id"},{"in":"body","name":"operation"},{"in":"body","name":"params"},{"in":"body","name":"method"},{"in":"body","name":"url"},{"in":"body","name":"headers"},{"in":"body","name":"data"},{"in":"body","name":"reason"}],"path":"/v1/secrets/{secret}/requests","scopes":["secrets:use"]},{"body":{"mode":"json"},"description":"Run a pinned job on a runner, with the credentials its definition names. The first release uses fixed durable slots; omit secret. Supply request_id. Check aggregate status using request_ref: one approved slot does not approve the run. After approved with next:resubmit, explicitly re-submit the identical ID and body. Admitted means waiting for the runner, not completed. The agent never receives credentials.","input_schema":{"properties":{"job":{"type":"string"},"params":{"description":"The job's parameters.","type":"object"},"reason":{"description":"Shown to the approver as untrusted text.","type":"string"},"request_id":{"description":"Supply this ID once and reuse it with the identical body for retries and after approval. It is never generated by the tool.","type":"string"},"runner":{"description":"The runner to run the job on.","type":"string"},"secret":{"description":"Reserved ordinary-child selector. The first release refuses a supplied selector with job_not_allowed; omit it to use the job's fixed durable slots.","type":"string"}},"required":["job","request_id","runner"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"POST","mutation":true,"name":"run","params":[{"in":"path","name":"job"},{"in":"body","name":"request_id"},{"in":"body","name":"runner"},{"in":"body","name":"params"},{"in":"body","name":"reason"},{"in":"body","name":"secret"}],"path":"/v1/jobs/{job}/runs","scopes":["secrets:run"]},{"description":"Show request, approval or reconciliation state by request_id or a returned locator. Use request_ref for aggregate run approval status. Never a link, admission or dispatch. If approved with next:resubmit, explicitly re-submit the original request with the same request_id and unchanged body. Read state even when HTTP succeeds.","input_schema":{"properties":{"ref":{"type":"string"}},"required":["ref"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"GET","mutation":false,"name":"status","params":[{"in":"path","name":"ref"}],"path":"/v1/status/{ref}","scopes":["secrets:read"]},{"body":{"mode":"json"},"description":"Cancel your own request while it is not yet admitted.","input_schema":{"properties":{"request_id":{"type":"string"}},"required":["request_id"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"POST","mutation":true,"name":"cancel","params":[{"in":"path","name":"request_id"}],"path":"/v1/requests/{request_id}/cancel","scopes":["secrets:use"]},{"body":{"mode":"json"},"description":"Narrow authority at once: revoke a grant, approvals or an approver's passkey or contact, disable a secret or the installation, deregister a runner, or remove one member from a user-defined role. Owners; assigned approvers may revoke their own approvals.","input_schema":{"properties":{"action":{"enum":["revoke-grant","revoke-approvals","disable-secret","disable-installation","deregister-runner","revoke-approver","remove-role-member"],"type":"string"},"credential_id":{"description":"For revoke-approver, the lost passkey credential ID as unpadded base64url. Omit to revoke the contact and full designation.","type":"string"},"principal":{"description":"Required only for remove-role-member: the exact canonical member DID to remove from the target role. Omit for every other action.","type":"string"},"request_id":{"description":"Supply this ID once and reuse it with the identical body for retries and after approval. It is never generated by the tool.","type":"string"},"target":{"description":"The grant, approval, secret, runner or approver id. For remove-role-member, the canonical user-defined role secrets.role.<slug>.","type":"string"}},"required":["request_id","action"],"type":"object"},"invocation_contexts":["agent","surface"],"method":"POST","mutation":true,"name":"contain","params":[{"in":"body","name":"request_id"},{"in":"body","name":"action"},{"in":"body","name":"target"},{"in":"body","name":"credential_id"},{"in":"body","name":"principal"}],"path":"/v1/containment","scopes":["secrets:admin"]},{"body":{"mode":"json"},"description":"Draft a widening metadata or authority change. It takes effect only after an owner's passkey confirmation on the console. Never accepts a secret value.","input_schema":{"properties":{"change":{"type":"object"},"request_id":{"description":"Supply this ID once and reuse it with the identical body for retries and after approval. It is never generated by the tool.","type":"string"}},"required":["request_id","change"],"type":"object"},"invocation_contexts":["surface"],"method":"POST","mutation":true,"name":"propose-change","params":[{"in":"body","name":"request_id"},{"in":"body","name":"change"}],"path":"/v1/changes","scopes":["secrets:admin"]},{"description":"Show the owner's operational record of requests, approvals and dispatches, including outcomes that need reconciliation. Never values.","input_schema":{"properties":{},"type":"object"},"invocation_contexts":["surface"],"method":"GET","mutation":false,"name":"activity","params":[],"path":"/v1/activity","scopes":["secrets:read"]}]}