@grafctory/gear
    Preparing search index...

    Secret Manager parameter lookup.

    Looks up credentials, API keys and other sensitive parameters among the secrets stored in Google Cloud Secret Manager. The project is discovered from the ambient Google Cloud credentials, with no configuration required.

    Secrets are read from the project the ambient credentials resolve to and no other: no configuration is available to target a different project, so a task reading its secrets has to be executed under credentials for that project.

    The Secret Manager client is created when the module is first imported and retained for the lifetime of the process: the gRPC channel it opens is never closed and keeps the event loop alive, so a short-lived task may have to exit explicitly once its work is done, rather than wait for the process to terminate on its own.

    createGCPVault

    Creates a Secret Manager vault.

    secret

    Reads a secret.