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
Release history Release notifications | RSS feed
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)