forked from bregman-arie/devops-resources
-
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.
Add image builders under tools section
- Loading branch information
abregman
committed
Jan 2, 2021
1 parent
5adddb8
commit c87fe24
Showing
3 changed files
with
38 additions
and
0 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
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,14 @@ | ||
## Packer | ||
|
||
### Official Resources | ||
|
||
* Site: https://www.packer.io | ||
* Docs: https://www.packer.io/docs | ||
|
||
### Why Packer | ||
|
||
I recommend reading [this discussion](https://www.reddit.com/r/devops/comments/ko3cwq/why_packer) on Reddit | ||
|
||
### Blogs Posts | ||
|
||
* Getting started with Packer: https://codingshell.com/packer-getting-started |
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,16 @@ | ||
## Cheat Sheet | ||
|
||
* Start Vault server in dev mode (NOT FOR PRODUCTION): `vault server -dev` | ||
* Set up vault client (dev mode): | ||
|
||
``` | ||
export VAULT_ADDTR='http://<VAULT_ADDRESS>' | ||
echo <KEY> > unseal.key | ||
export VAULT_DEV_ROOT_TOKEN_ID=... | ||
vault status | ||
``` | ||
|
||
* Write a secret using one pair of key, value: `vault kv put secret/hello foo=bar` | ||
* Write a secret using multiple pairs of key, value: `vault kv put secret/hello foo=bar y=x` | ||
|
||
* Get a secret: `vault kv get secret/hello` |