Introduction
This article helps understand how the vault status
output is derived.
- There are several calls from Vault to various functions in the code that will combine that information in to the
status
output. - The Active Node address value will return the information for the specific active node you are on
- For the HA Cluster value, it is created from cluster_addr and would return the value set there
- There is a much deeper rabbit hole to go down in the code as far as how various items are retrieved, but the bulk of the actions are handled from the endpoint given to the
VAULT_ADDR
$ vault status
Key Value
--- -----
Recovery Seal Type shamir
Sealed false
Total Recovery Shares 1
Threshold 1
Version 1.10.3+prem.hsm
Cluster Name vault-cluster-abcde
Cluster ID 205f8b74-c588-3188-45f2-789654123
HA Enabled true
HA Cluster https://10.10.25.192:8201
HA Mode standby
Active Node Address http://10.10.25.192:8200
Additional Information: