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 details)
File details
Details for the file env2fs-0.0.0.post7.tar.gz
.
File metadata
- Download URL: env2fs-0.0.0.post7.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50372cf3e735c61da499b6cb549ada64306214b7c8f829d03ad6a143a2e6a131 |
|
MD5 | 94bfcce15802f464d700658e70e640ff |
|
BLAKE2b-256 | e2c0d9580ffbf182bb15782837fa1301268ec700e148ee287e752cf6a0199647 |