Vault commands

Vault commands

Task Command

Log into Vault

# vault login s.InitialRootToken

Check Vault status

# vault status

Unseal Vault

# vault operator unseal -address=http://127.0.0.1:8200

Seal Vault

# vault operator seal

vault.service commands

Task Command

Enable Vault Service

# systemctl enable vault.service

Disable Vault service

# systemctl disable vault.service

Start Vault service

# systemclt start vault.service

Stop Vault service

# systemclt stop vault.service

Restart Vault service

# systemctl restart vault.service