Skip to content
Français

OnePasswordSecretSourceOptions

import type { OnePasswordSecretSourceOptions } from "@elie-laloum/outpost/secrets/onepassword";
  • clientRequired
    { readonly secrets: Pick<Client["secrets"], "resolve">; }
    Caller-authenticated host client exposing secrets.resolve, such as the official 1Password SDK with service-account authentication. It remains caller-owned; no desktop login or system keychain lookup is selected by Outpost.
  • secretsRequired
    Readonly<Record<string, string>>
    Mapping of environment identifiers to explicit op://vault/item/field or op://vault/item/section/field references; only selected mappings are resolved, with no vault/item enumeration.
import type { Client } from "@1password/sdk";

export interface OnePasswordSecretSourceOptions {
  readonly client: {
    readonly secrets: Pick<Client["secrets"], "resolve">;
  };
  readonly secrets: Readonly<Record<string, string>>;
}