Skip to content

Add support for age-encrypted secrets in Rezn DSL and runtime #21

@andreamancuso

Description

@andreamancuso

Summary

Add native support for loading secrets from age–encrypted files, both in the DSL and runtime, to provide a simple, secure, and cloud-agnostic secret management solution.


Proposed DSL Syntax

env {
DATABASE_URL {
from = "age"
file = "secrets.env.age"
keyfile = "/etc/rezn/rezn.agekey"
format = "dotenv"
}
}


Implementation Plan

[ ] Add age = "0.11" to Cargo.toml

[ ] Parse and decrypt age-encrypted .env.age files at runtime using age crate

[ ] Support:

X25519 keys (.agekey)

dotenv format for multi-var

[ ] Inject decrypted values into start_container() environment map

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions