Skip to content

Support for dotenvx for encrypted .env files #209

@dec0dOS

Description

@dec0dOS

Describe the feature

Currently, c12 supports loading environment variables from .env files but does not natively support .env files that are encrypted using tools like dotenvx.

Alternatives considered:

  • Manually decrypting .env files using dotenvx before passing them to c12, but this adds extra steps and potential points of failure.
  • Writing a custom wrapper around c12 to integrate dotenvx, but this duplicates effort and decreases usability.

Additional Context:
dotenvx is gaining popularity for secure .env file encryption and decryption.

Thank you for considering this feature request!

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions