-
-
Notifications
You must be signed in to change notification settings - Fork 654
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 #498 from jhipster/integrate-vault
feat: Integrate Vault backend
- Loading branch information
Showing
9 changed files
with
139 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
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,12 @@ | ||
storage "file" { | ||
path = "/vault/file" | ||
} | ||
|
||
listener "tcp" { | ||
address = "0.0.0.0:8200" | ||
tls_disable = 1 | ||
} | ||
|
||
api_addr = "http://0.0.0.0:8200" | ||
cluster_addr = "http://0.0.0.0:8201" | ||
ui = true |
Empty file.
Empty file.
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,19 @@ | ||
version: '2' | ||
|
||
services: | ||
vault: | ||
image: vault:1.7.1 | ||
environment: | ||
- VAULT_DEV_ROOT_TOKEN_ID=jhipster-registry | ||
ports: | ||
- 8200:8200 | ||
cap_add: | ||
- IPC_LOCK | ||
# Uncomment the below configurations to start vault in server mode and use file system backend | ||
# Do ensure to keep root token and unseal keys in a safe place. Those shall be required to | ||
# unseal vault after the restart and configure other authentication methods. | ||
# command: server | ||
# volumes: | ||
# - ./vault-config/config:/vault/config | ||
# - ./vault-config/logs:/vault/logs | ||
# - ./vault-config/data:/vault/file |
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