Structs§
- GetUnseal
Keys From Vault - Http
Forwarder Service - Forward HTTP requests over a connection stream
- Init
Request - Init
Result - PodApi
- Wrapper around the kube::Api type for the Vault pod
- PodSeal
Status - Raft
Configuration - Raft
Configuration Data - Raft
Configuration Data Config - Raft
Configuration Server - Stateful
SetApi - Wrapper around the kube::Api type for the Vault statefulset
- Vault
Version
Enums§
Constants§
Traits§
- GetRaft
Configuration - Get vault pod’s raft configuration
- GetSeal
Status - Get vault pod’s seal status
- GetUnseal
Keys - Get the unseal keys from a Vault secret
- Http
Request - Send HTTP requests
- Init
- Init a vault process
- Raft
Join - Join a vault process to a raft cluster
- Step
Down - Step down vault pod from active to standby
- Unseal
- Unseal a vault process using the provided keys
Functions§
- construct_
table - exec
- exec_
pod - get_
output - get_
unseal_ keys - Get the unseal keys by running the specified command
- init
- is_
active - Check if the vault pod is active based on its labels Returns an error if the pod does not have the expected labels
- is_
pod_ active - Returns true if the Pod is the active replica.
This is determined by looking at the
vault-activelabel. - is_
pod_ exporting_ seal_ status - Returns true if the Pod has the seal status label.
This is determined by looking if the
vault-sealedlabel exists. - is_
pod_ ready - Returns true if the Pod is ready.
- is_
pod_ sealed - Returns true if the Pod is sealed.
This is determined by looking at the
vault-sealedlabel. - is_
pod_ standby - Returns true if the Pod is a standby replica.
This is determined by looking at the
vault-activelabel. - is_
pod_ unsealed - Returns true if the Pod is unsealed.
This is determined by looking at the
vault-sealedlabel. - is_
seal_ status_ initialized - is_
seal_ status_ sealed - is_
sealed - Check if the vault pod is sealed based on its labels Returns an error if the pod does not have the expected labels
- is_
statefulset_ ready - Returns true if the StatefulSet is considered ready. This means that all replicas are available and ready.
- is_
statefulset_ updated - Returns true if the StatefulSet is considered updated. This means that all replicas are up-to-date.
- list_
sealed_ pods - List all pods that are sealed
- list_
vault_ pods - raft_
configuration_ all_ voters - raft_
configuration_ any_ leader - raft_
join - statefulset_
has_ version - Returns true if the StatefulSet template is using the given version.