-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap order of naming convention for backend flags
- Loading branch information
Showing
8 changed files
with
23 additions
and
22 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
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ Run the `start` command to launch the daemon process that automatically initiali | |
```shell | ||
$ vault-init start \ | ||
--vault-addr "http://127.0.0.1:8200" \ | ||
--local-encryption-secret-key "FjaUCqqTIorGTe1Z86rs2YfkRgQ6iIgo" \ | ||
--postgres-storage-connection-url "postgres://vault:[email protected]:5432/vault?sslmode=disable" | ||
--encryption-local-secret-key "FjaUCqqTIorGTe1Z86rs2YfkRgQ6iIgo" \ | ||
--storage-postgres-connection-url "postgres://vault:[email protected]:5432/vault?sslmode=disable" | ||
``` | ||
|
||
### `show` | ||
|
@@ -19,8 +19,8 @@ Run the `show` command to fetch and decrypt the root token and unseal keys gener | |
|
||
```shell | ||
$ vault-init show \ | ||
--local-encryption-secret-key "FjaUCqqTIorGTe1Z86rs2YfkRgQ6iIgo" \ | ||
--postgres-storage-connection-url "postgres://vault:[email protected]:5432/vault?sslmode=disable" | ||
--encryption-local-secret-key "FjaUCqqTIorGTe1Z86rs2YfkRgQ6iIgo" \ | ||
--storage-postgres-connection-url "postgres://vault:[email protected]:5432/vault?sslmode=disable" | ||
``` | ||
|
||
## Docker | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ metadata: | |
labels: | ||
app: example | ||
data: | ||
local-encryption-secret-key: RmphVUNxcVRJb3JHVGUxWjg2cnMyWWZrUmdRNmlJZ28= | ||
encryption-local-secret-key: RmphVUNxcVRJb3JHVGUxWjg2cnMyWWZrUmdRNmlJZ28= | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
|
@@ -79,10 +79,10 @@ spec: | |
env: | ||
- name: VAULT_ADDR | ||
value: http://127.0.0.1:8200 | ||
- name: POSTGRES_STORAGE_CONNECTION_URL | ||
- name: STORAGE_POSTGRES_CONNECTION_URL | ||
value: postgres://example:[email protected]:5432/example?sslmode=disable | ||
- name: LOCAL_ENCRYPTION_SECRET_KEY | ||
- name: ENCRYPTION_LOCAL_SECRET_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: example-secret | ||
key: local-encryption-secret-key | ||
key: encryption-local-secret-key |
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