mirror of
https://github.com/hashicorp/vault.git
synced 2026-03-11 10:52:34 -04:00
10 lines
241 B
Bash
Executable file
10 lines
241 B
Bash
Executable file
#!/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}\"}"
|