-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add practical use-case example #3
Comments
Wow, this example is downright fantastic! So great that I will indeed add this very example, including git interaction, to the documentation. |
Glad to hear I got it right :) |
Oh, I am glad about all help I can get :)!
If you want to get your hands dirty with the documentation system and if
you have docker installed, it should be as easy as ‘make watch-docs’ to get
you going. You will probably have to equip the ‘docs’ image with git, see
`etc/docker/*.docs`.
From there I recommend taking a look at that special `termbook` syntax I am
using to actually execute the commands I provide as an example. There are
some code snippets in ‘getting-started.md’ that are run as preamble, which
is needed to configure the sandbox for each command that is run - something
similar you would need as well. Please note that these snippets are shared
across the entire book and can thus be reused.
If you have further questions, I am happy to help.
…On Mon 26. Feb 2018 at 12:41, C-Duv ***@***.***> wrote:
Glad to hear I got it right :)
Feel free to add the example (or do you want a PR?).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD4hsvYENiFwon_7VAEsdiLVddS0xF9ks5tYph0gaJpZM4SSYtv>
.
|
Well, on second thought, I think I'll leave you this part, I am not really sure I want to get into the documentation system (I initially thought it would be a simple patch to apply to an .md file). |
No problem , I think you can contribute what you can and want , and I will
integrate it into the big whole as needed.
…On Fri 2. Mar 2018 at 00:49, C-Duv ***@***.***> wrote:
Well, on second thought, I think I'll leave you this part, I am not really
sure I want to get into the documentation system (I initially thought it
would be a simple patch to apply to an .md file).
But if you want deployment script example of the same spirit, I'll try to
write some.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD4hoHjG3lmM-juJ6NFtyxzdT6P7kvIks5taIkJgaJpZM4SSYtv>
.
|
I like the GPG key based ACL of this tool and can see how it prevents leaks.
But I fail to imagine the real-world usage in a team of developers and I cannot find one in the documentation.
Is is something like:
secrets
directory into software's source code directory on it's computer,cd
into it and runsy vault init
to initialize the sheesy vault "secrets".git add . ; git commit -m "Created a secrets sheesy vault"
to commit the vault creation.echo s3cre7 | sy vault add :mysql-password
.git add . ; git commit -m "Added MySQL password to the secrets vault"; git push origin
for the changes thesy vault add
command did on the sheesy vault ("secrets") are saved to the git repository.cd secrets ; sy vault recipient init
to add it's GPG key to possible recipients andgit add . ; git commit -m "Adding Bob's key to the secrets vault" ; git push origin
to persist the changes to the git repository.cd secrets ; sy vault recipient add 7DF95D5E
andgit add . ; git commit -m "Granting Bob's key access to secrets sheesy vault" ; git push origin
and tells Bob that she granted him access to the "secrets" vault.cd secrets
and finally read the MySQL withsy vault show mysql-password
.sy vault
) but can never read them.Notes:
git fetch
andgit merge
commands.The text was updated successfully, but these errors were encountered: