You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: modules/run-vault/run-vault
+34-3Lines changed: 34 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ function print_usage {
47
47
echo -e " --enable-dynamo-backend\tIf this flag is set, DynamoDB will be enabled as the backend storage (HA)"
48
48
echo -e " --dynamo-region\tSpecifies the AWS region where --dynamo-table lives. Only used if '--enable-dynamo-backend is on'"
49
49
echo -e " --dynamo--table\tSpecifies the DynamoDB table to use for HA Storage. Only used if '--enable-dynamo-backend is on'"
50
+
echo -e " --enable-raft-backend\tIf this flag is set, Vault's Integrated Storage will be enabled as the backend storage (HA)"
51
+
echo -e " --raft-dir\t\tSpecifies the path to store Vault's Integrated Storage data. Optional. Default is the absolute path of '../raft', relative to this script."
50
52
echo
51
53
echo"Options for Vault Agent:"
52
54
echo
@@ -244,6 +246,8 @@ function generate_vault_config {
244
246
local -r auto_unseal_kms_key_id="${16}"
245
247
local -r auto_unseal_kms_key_region="${17}"
246
248
local -r auto_unseal_endpoint="${18}"
249
+
local -r enable_raft_backend="${19}"
250
+
local -r raft_dir="${20}"
247
251
local -r config_path="$config_dir/$VAULT_CONFIG_FILE"
0 commit comments