@cfxlabsinc/b2b-services
    Preparing search index...

    Interface RequireDopplerSecretArgs

    interface RequireDopplerSecretArgs {
        dopplerProvider?: Provider;
        hint?: string;
        project?: string;
        stack?: string;
    }
    Index
    dopplerProvider?: Provider

    Reuse the stack's existing Doppler provider. Omit to take the shared one from getDopplerProvider, which is memoized per name — so omitting it is safe even when several helpers in one program do the same.

    hint?: string

    Appended to the error message when the secret is absent. Say what the credential is FOR — the message is what someone sees at 2am when a deploy dies, and "missing from cfx-common/prod" alone does not say who needs it.

    project?: string

    Doppler project. Defaults to cfx-common.

    stack?: string

    Config to read. Defaults to the current stack, which IS the environment.