Sign in
third-party-mirror
/
hashicorp
/
vault
/
refs/heads/main
/
.
/
v1.14.6
/
enos
/
modules
/
k8s_vault_verify_version
/
scripts
/
get-status.sh
blob: 26c3c0d55d3a1901e0a96aae5f6b92c2d6d20a6e [
file
] [
log
] [
blame
] [
edit
]
#!/usr/bin/env sh
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
set
-
e
status
=
$
(
$
{
VAULT_BIN_PATH
}
status
-
format
=
json
)
version
=
$
(
$
{
VAULT_BIN_PATH
}
version
)
echo
"{\"status\": ${status}, \"version\": \"${version}\"}"