resolveSecret
function resolveSecret(source: SecretSource, options?: ResolveSecretOptions): Promise<SecretValue>;Defined in: src/profiles/SecretSource.ts:68
Resolves a secret source into a string or Buffer without logging the value.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
source | SecretSource | Secret source to resolve. |
options | ResolveSecretOptions | Optional env and file-reader overrides. |
Returns
Section titled “Returns”Promise<SecretValue>
Resolved secret value.
Throws
Section titled “Throws”ConfigurationError When a descriptor is invalid or unavailable.