Languages
Six first-class languages. Same run command. Native environment reads. No SDK.
Last updated: 2026-09-20
No SDK
Your application does not need a getmyenv SDK. Secrets are injected as environment variables before your process starts. Any language that reads the environment works.
First-class
Node, Python, Ruby, Rust, Go, and PHP are documented below with native env-read snippets. Also works: Java, .NET, Shell.
Node
npx getmyenv run -- npm startjsconst key = process.env.OPENAI_API_KEY;
Python
npx getmyenv run -- python app.pypythonimport os key = os.environ["OPENAI_API_KEY"]
Ruby
npx getmyenv run -- ruby app.rbrubykey = ENV["OPENAI_API_KEY"]
Rust
npx getmyenv run -- cargo runrustlet key = std::env::var("OPENAI_API_KEY").expect("missing");
Go
npx getmyenv run -- go run .gokey := os.Getenv("OPENAI_API_KEY")
PHP
npx getmyenv run -- php app.phpphp$key = getenv('OPENAI_API_KEY');
Also works
Java, .NET, and shell scripts read the same injected environment. Wrap the start command with npx getmyenv run --.
npx getmyenv run -- java -jar app.jar
npx getmyenv run -- dotnet run
npx getmyenv run -- ./start.sh