Skip to content

consider varlock for env/secrets loading and validation #1483

Description

@theoephraim

I noticed you have a .env.example and a .env.schema.json and a custom validation script, as well as additional code to scan for git leaks.

You could replace a lot of this using varlock. This gives you a single .env.schema which replaces your .env.example with a .env.schema that is safe to commit. There are 15 different plugins to fetch from various locations (1password, infisical, vault, aws, etc), or users can still put items in a gitignored .env file. It has value based git scanning, log redaction, leak detection, and tons of other nice features.

Happy to help you get it set up if there is interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions