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
Copy file name to clipboardExpand all lines: vault-manager/README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ vault-manager/
47
47
48
48
```bash
49
49
cd vault-manager
50
-
go run ./cmd/vault-manager --vault-addr=http://localhost:8200
50
+
go run ./cmd/main.go --vault-addr=http://localhost:8200
51
51
```
52
52
53
53
On first run against an uninitialized Vault, the unseal key and root token
@@ -56,14 +56,14 @@ afterward. On subsequent runs against an already-initialized Vault, set
56
56
`VAULT_ROOT_TOKEN` in the environment instead:
57
57
58
58
```bash
59
-
VAULT_ROOT_TOKEN=hvs.xxxxx go run ./cmd/vault-manager --vault-addr=http://localhost:8200
59
+
VAULT_ROOT_TOKEN=hvs.xxxxx go run ./cmd/main.go --vault-addr=http://localhost:8200
60
60
```
61
61
62
62
To provision once with root and then drop root privileges for the life of
63
63
the process:
64
64
65
65
```bash
66
-
go run ./cmd/vault-manager --vault-addr=http://localhost:8200 --secure
66
+
go run ./cmd/main.go --vault-addr=http://localhost:8200 --secure
67
67
```
68
68
69
69
## CLI flags
@@ -78,6 +78,7 @@ go run ./cmd/vault-manager --vault-addr=http://localhost:8200 --secure
78
78
|`--manager-role`|`vault-manager-bootstrap`| AppRole name used for the `--secure` bootstrap handoff |
79
79
|`--manager-policy`|`vault-manager-bootstrap-policy`| ACL policy name for the bootstrap manager AppRole |
80
80
|`--services`|`persys-gateway,persys-scheduler,persysctl,compute-agent,persys-forgery,persys-services,persys-automation,persys-intelligence,persys-sdk`| Comma-separated list of services to provision |
0 commit comments