Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / createSecretsStore

Function: createSecretsStore()

ts
function createSecretsStore(opts?): Promise<SecretsStore>;

Defined in: packages/security/src/secrets/factory.ts:309

Activate a SecretsStore for the current process. The result is cached; subsequent calls overwrite the previous active store and re-wire the ref: resolver.

Parameters

ParameterType
optsCreateSecretsStoreOptions

Returns

Promise&lt;SecretsStore&gt;

Stable