Sys¶
-
class
SysEndpoint
(req_handler)¶ -
task
status
()¶ Return the initialization status of a Vault
Returns: Status – vault server status
-
task
initialize
(secret_shares, secret_threshold)¶ Initializes a new Vault.
The Vault must’ve not been previously initialized
Parameters: Returns: Initial – Includes the master keys and initial root token
-
task
leader
()¶ Returns the high availability status and current leader instance of Vault.
Returns: HighAvailibility – High availibility status
-
task
health
(*, standbyok=False)¶ Returns the health status of Vault.
This matches the semantics of a Consul HTTP health check and provides a simple way to monitor the health of a Vault instance.
Returns: Health – health status
-
task