forked from krysopath/vaultify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request krysopath#26 from krysopath/org-readme
Org readme
- Loading branch information
Showing
12 changed files
with
229 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
black ./vaultify | ||
#!/bin/sh | ||
|
||
# Stash unstaged changes | ||
git stash -q --keep-index | ||
|
||
black \ | ||
--exclude venv\ | ||
. | ||
|
||
# Stage updated files | ||
git add -u | ||
# Re-apply original unstaged changes | ||
git stash pop -q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#+TITLE: vaultify - hexagon of secrets | ||
#+OPTIONS: | ||
#+AUTHOR: Georg vom Endt ([email protected]) | ||
|
||
* Introduction | ||
Vaultify is secret provisioning method. It can be used to read/write | ||
from/to resources and pass environment values to spawned processes. | ||
|
||
Originally a simple bash script fetching from HashiCorp Vault and | ||
writing as dotenv file, it quickly became an API for providing secrets | ||
from any arbitrary URI to consume the secrets via another arbitrary URI | ||
|
||
* Installation | ||
This section explains different installation methods. | ||
** Requirements | ||
- python3.6, python3.7 | ||
- pip | ||
- docker (obsoletes the above) | ||
|
||
** from pypi | ||
Most implementers will fetch the package from pypi and build their own | ||
things on another layer. | ||
#+BEGIN_SRC shell | ||
pip3 install vaultify | ||
#+END_SRC | ||
|
||
** from git | ||
Alternatively fetch the sources from github to develop your own | ||
adapter classes. | ||
#+BEGIN_SRC shell | ||
git clone [email protected]:krysopath/vaultify.git | ||
#+END_SRC | ||
** os dependencies | ||
These tools can greatly speed up local development, when used in | ||
conjunction via ~make~, so install them. They can overwhelm you with | ||
output, too. | ||
|
||
*** debian | ||
#+BEGIN_SRC shell | ||
apt-get install make entr yamllint pylint bandit | ||
pip3 install black | ||
#+END_SRC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
============================= | ||
vaultify - hexagon of secrets | ||
============================= | ||
|
||
:Author: Georg vom Endt ([email protected]) | ||
|
||
.. contents:: | ||
|
||
|
||
|
||
1 Installation | ||
-------------- | ||
|
||
This section explains different installation methods. | ||
|
||
1.1 Requirements | ||
~~~~~~~~~~~~~~~~ | ||
|
||
- python3.6, python3.7 | ||
|
||
- pip | ||
|
||
- docker (obsoletes the above) | ||
|
||
1.2 from pypi | ||
~~~~~~~~~~~~~ | ||
|
||
Most implementers will fetch the package from pypi and build their own | ||
things on another layer. | ||
|
||
.. code:: shell | ||
pip3 install vaultify | ||
1.3 from git | ||
~~~~~~~~~~~~ | ||
|
||
Alternatively fetch the sources from github to develop your own | ||
adapter classes. | ||
|
||
.. code:: shell | ||
git clone [email protected]:krysopath/vaultify.git | ||
1.4 os dependencies | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
These tools can greatly speed up local development, when used in | ||
conjunction via ``make``, so install them. They can overwhelm you with | ||
output, too. | ||
|
||
1.4.1 ubuntu | ||
^^^^^^^^^^^^ | ||
|
||
.. code:: shell | ||
apt install make entr yamllint pylint bandit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.enc | ||
*.gpg | ||
*.plain |
Oops, something went wrong.