resolveConnectionProfileSecrets
function resolveConnectionProfileSecrets(profile: ConnectionProfile, options?: ResolveSecretOptions): Promise<ResolvedConnectionProfile>;Defined in: src/profiles/resolveConnectionProfileSecrets.ts:61
Resolves credential and TLS material secret sources without mutating the original profile.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
profile | ConnectionProfile | Profile containing optional secret sources. |
options | ResolveSecretOptions | Optional env and file-reader overrides. |
Returns
Section titled “Returns”Promise<ResolvedConnectionProfile>
Profile copy with username, password, TLS material, and SSH material resolved when present.