|
|
|
@ -138,9 +138,13 @@ PreReq: OpenPKG, openpkg >= 20160101, cfssl
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/vault operator init \\%{l_nil}" |
|
|
|
|
echo " -key-shares=1 -key-threshold=1 \\%{l_nil}" |
|
|
|
|
echo " -recovery-shares=1 -recovery-threshold=1" |
|
|
|
|
echo " In case of a Vault cluster of N nodes use (N>K>1):" |
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/vault operator init \\%{l_nil}" |
|
|
|
|
echo " -key-shares=N -key-threshold=K \\%{l_nil}" |
|
|
|
|
echo " -recovery-shares=N -recovery-threshold=K" |
|
|
|
|
echo "6. unseal database (with remembered unseal key):" |
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/vault operator unseal <key>" |
|
|
|
|
echo "7. authenticate against database (with remembered root token):" |
|
|
|
|
echo "7. authenticate against database (use remembered root token):" |
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/vault login -method=token" |
|
|
|
|
echo "8. write data under <name>:" |
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/vault write secret/<name> value=<value>" |
|
|
|
|