Interface: SecretService
Interface for retrieving secrets.
Methods
getSecret()
getSecret(key): Promise<string>
Retrieves a secret by key.
Parameters
• key: string
The key of the secret to retrieve.
Returns
Promise
<string
>
A promise that resolves to the secret value.
Defined in
packages/core/src/services/secret-service.ts:16
getSecretJSON()
getSecretJSON<Return>(key): Promise<Return>
Retrieves a secret by key.
Type Parameters
• Return = object
Parameters
• key: string
The key of the secret to retrieve.
Returns
Promise
<Return
>
A promise that resolves to the secret value.