diff options
author | Christian Heimes <christian@python.org> | 2015-10-02 19:48:37 +0200 |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2015-10-02 19:48:37 +0200 |
commit | ece2b876ebeea48e30c9d7007a8480acbcf907f8 (patch) | |
tree | 8015a8b9cf193745bd05bc85dd1b9dbc21665903 | |
parent | 33d6ae23315ae98b9b1d2692cf2d7618adb0710a (diff) | |
download | gustodia-ece2b876ebeea48e30c9d7007a8480acbcf907f8.tar.gz gustodia-ece2b876ebeea48e30c9d7007a8480acbcf907f8.tar.xz gustodia-ece2b876ebeea48e30c9d7007a8480acbcf907f8.zip |
README: document how to run the example.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README | 19 |
2 files changed, 18 insertions, 3 deletions
@@ -4,7 +4,7 @@ CUSTODIA=${VENV}/bin/custodia REQUIREMENTS=cryptography jwcrypto git+https://github.com/simo5/custodia CURL_CMD=curl --unix-socket server_socket -H "REMOTE_USER: user" -all: ${CUSTODIA} +all: ${CUSTODIA} gustodia ${VENV}: virtualenv --python=${PYTHON} ${VENV} @@ -1,7 +1,22 @@ +Custodia Docker entrypoint +========================== + +Firt shell +---------- +$ sudo dnf install golang make python-virtualenv openssl-devel python-devel $ make run_server +Second shell +------------ $ make init_db $ make example -curl --unix-socket server_socket -H "REMOTE_USER: user" http://localhost/secrets/tests/mysecret - +Output +------ +env -i EXAMPLE=foo CUSTODIA_SECRET_DB_PASSWORD=tests/mysecret \ + ./gustodia ./entrypoint.sh apache +arg0: ./entrypoint.sh +args: apache +Env: +DB_PASSWORD=SuperSecretPassword +EXAMPLE=foo |