Type alias SecretsType

SecretsType: Record<string, string | string[] | undefined>

Represents a collection of secrets with string keys and values.

Example

const secrets: SecretsType = {
accessToken: 'access_Token',
refreshToken: 'refresh_Token',
// other secrets...
}

// Usage to retrieve a secret value
const { accessToken, refreshToken } = secrets

Generated using TypeDoc