DopplerVault
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:59
vault capability for Doppler, with references shaped doppler://<project>/<config>/<name>.
Implements
Section titled “Implements”Vault
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DopplerVault(
client,opts):DopplerVault
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:68
Parameters
Section titled “Parameters”client
Section titled “client”() => object
DopplerVaultOptions
Returns
Section titled “Returns”DopplerVault
Properties
Section titled “Properties”
readonlykey:"vault"
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:61
Capability key; always "vault".
Implementation of
Section titled “Implementation of”Vault.key
providerName
Section titled “providerName”
readonlyproviderName:"doppler"="doppler"
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:63
Provider name; always "doppler".
Implementation of
Section titled “Implementation of”Vault.providerName
Methods
Section titled “Methods”ensureEnvironment()
Section titled “ensureEnvironment()”ensureEnvironment(
project,name):Promise<EnsureResult>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:192
Optional — create a named environment/config inside a project
(e.g., Doppler config dev / stg / prd). Idempotent.
Providers whose data model has a single flat namespace omit this.
Parameters
Section titled “Parameters”project
Section titled “project”string
string
Returns
Section titled “Returns”Promise<EnsureResult>
Implementation of
Section titled “Implementation of”Vault.ensureEnvironment
ensureProject()
Section titled “ensureProject()”ensureProject(
name):Promise<EnsureResult>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:182
Optional — create the top-level project container in the vault
if it does not exist. Idempotent: alreadyExists: true when the
project was already there. Providers whose data model has no
project notion (or that gate this behind a paid tier) omit this.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<EnsureResult>
Implementation of
Section titled “Implementation of”Vault.ensureProject
ensureRelaySource()
Section titled “ensureRelaySource()”ensureRelaySource(
input):Promise<EnsureRelaySourceResult>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:132
Make the Doppler webhook for a relay source, found again by its URL in the project (options.project, else the
vault’s). scope is the config slugs it applies to; events has no meaning here (a Doppler webhook is sent on
secret changes) and is ignored. The secret in the input is the signing secret and is sent only on create; Doppler
never returns it. An existing webhook is adopted unchanged: no update call is made, inspectRelaySource reports
a difference. Doppler does not document which token type may manage webhooks, so a 401/403 is a todo.
Parameters
Section titled “Parameters”EnsureRelaySourceInput
Returns
Section titled “Returns”Promise<EnsureRelaySourceResult>
Implementation of
Section titled “Implementation of”Vault.ensureRelaySource
environments()
Section titled “environments()”environments():
Promise<string[]>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:107
Optional environment notion within the vault (e.g., 1P Environments — named KEY=VALUE bundles). Adapters without environments return [].
Returns
Section titled “Returns”Promise<string[]>
Implementation of
Section titled “Implementation of”Vault.environments
inspectRelaySource()
Section titled “inspectRelaySource()”inspectRelaySource(
input):Promise<RelaySourceState>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:159
Read the webhook back by URL: whether it exists, is enabled, covers every declared config and has a secret.
Parameters
Section titled “Parameters”InspectRelaySourceInput
Returns
Section titled “Returns”Promise<RelaySourceState>
Implementation of
Section titled “Implementation of”Vault.inspectRelaySource
list()
Section titled “list()”list():
Promise<string[]>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:100
List secret keys available to the project.
Returns
Section titled “Returns”Promise<string[]>
Implementation of
Section titled “Implementation of”Vault.list
read()
Section titled “read()”read(
reference):Promise<string>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:84
Read a secret by reference. The reference format is provider-specific (1P: “op://Vault/Item/field”; HashiCorp Vault: “kv/path#field”; etc.). Adapters validate the reference shape.
Parameters
Section titled “Parameters”reference
Section titled “reference”string
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”Vault.read
readEnvironment()
Section titled “readEnvironment()”readEnvironment(
environmentId):Promise<Record<string,string>>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:112
Optional bulk read of an environment’s KEY=VALUE pairs. Powers
the holocron sync secrets flow where the orchestrator pulls a
whole environment from the vault then fans the values out to
destinations (CI secrets, deployment env vars, local .env).
Parameters
Section titled “Parameters”environmentId
Section titled “environmentId”string
Returns
Section titled “Returns”Promise<Record<string, string>>
Implementation of
Section titled “Implementation of”Vault.readEnvironment
readSecret()
Section titled “readSecret()”readSecret(
name):Promise<string>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:90
Optional — read a secret by its bare name from the project and config this vault was set up with, instead of by a full reference. For a provider whose references name the project and config the options already carry (Doppler).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”Vault.readSecret
write()
Section titled “write()”write(
reference,value):Promise<void>
Defined in: plugins/holocron-plugin-doppler/src/capabilities/vault.ts:95
Write or update a secret.
Parameters
Section titled “Parameters”reference
Section titled “reference”string
string
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”Vault.write