File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33export PASSWORD=" supertest"
44
5- CONTAINER_ID=$( docker run -d --rm -p 8200:8200 --name vault -e VAULT_DEV_ROOT_TOKEN_ID=root vault:latest)
5+ CONTAINER_ID=$( docker run -d --rm -p 8200:8200 --name vault -e VAULT_DEV_ROOT_TOKEN_ID=root hashicorp/ vault:latest)
66
77echo -n > passwords.txt
88for pass in {1..100}; do
@@ -12,8 +12,8 @@ echo "${PASSWORD}" >> passwords.txt
1212
1313sleep 20
1414
15- docker run -it --net=host -e VAULT_ADDR=http://0.0.0.0:8200 -e VAULT_TOKEN=root vault auth enable userpass
16- docker run -it --net=host -e VAULT_ADDR=http://0.0.0.0:8200 -e VAULT_TOKEN=root vault write auth/userpass/users/root password=${PASSWORD} policies=root
15+ docker run -it --net=host -e VAULT_ADDR=http://0.0.0.0:8200 -e VAULT_TOKEN=root hashicorp/ vault auth enable userpass
16+ docker run -it --net=host -e VAULT_ADDR=http://0.0.0.0:8200 -e VAULT_TOKEN=root hashicorp/ vault write auth/userpass/users/root password=${PASSWORD} policies=root
1717./dist/brutemq_amd64 vault -d passwords.txt
1818
1919echo
You can’t perform that action at this time.
0 commit comments