Skip to main content

write env vars to filesystem (CI tool)

Project description

env2fs is a quick CLI to write environment variables content to the file system.

Example usage:

env2fs write SSH_PRIVATE_KEY $HOME/.ssh/id_ed25519 mode=0600

This will write the content of the $SSH_PRIVATE_KEY env var into $HOME/.ssh/id_ed2551 and set the access permission to 0600.

Any parent directory it would have to create, such as $HOME/.ssh in a CI environment, will be created with the same permissions, except with the execute bit in addition to every read bit, to allow directory traversal.

That’s it ! Run env2fs to get help for all commands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

env2fs-0.0.0.post7.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page