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.1.1.tar.gz
(2.3 kB
view details)
File details
Details for the file env2fs-0.1.1.tar.gz
.
File metadata
- Download URL: env2fs-0.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3764f74dcb832697e55e52c567712ce1d135d53790a5b1393d7c7685329d59 |
|
MD5 | c02ec18509a4ce103827ce2bbed93825 |
|
BLAKE2b-256 | 255c983689aa9c996dd6634080f6a2474d797db8828e055c2c821f99d917c5d6 |