Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/secret-1password / OpCliReadOptions

Interface: OpCliReadOptions

Defined in: packages/secret-1password/src/op-cli.ts:34

Stable

Properties

PropertyModifierTypeDescriptionDefined in
account?readonlystringOptional --account override forwarded to the CLI. Useful when the operator is signed in to multiple 1Password accounts.packages/secret-1password/src/op-cli.ts:54
binary?readonlystringOverride the binary path. Default 'op' (looked up on $PATH).packages/secret-1password/src/op-cli.ts:36
connect?readonly{ host: string; token: string; }Optional 1Password Connect host + token tuple. When set the resolver wires them through the OP_CONNECT_HOST / OP_CONNECT_TOKEN env vars (the canonical Connect-mode contract documented by 1Password).packages/secret-1password/src/op-cli.ts:49
connect.hostreadonlystring-packages/secret-1password/src/op-cli.ts:49
connect.tokenreadonlystring-packages/secret-1password/src/op-cli.ts:49
env?readonlyReadonly<Record&lt;string, string | undefined&gt;>Override process.env. Default forwards the parent process.packages/secret-1password/src/op-cli.ts:40
preserveColor?readonlybooleanOptional --no-color flag suppression. The resolver always sets --no-color so terminal colour codes do not leak into the resolved value; pass true to opt out.packages/secret-1password/src/op-cli.ts:60
serviceAccountToken?readonlystringOptional 1Password Connect / Service-Account token forwarding.packages/secret-1password/src/op-cli.ts:42
timeoutMs?readonlynumberHard timeout in milliseconds. Default 15000.packages/secret-1password/src/op-cli.ts:38