mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-11 19:01:12 +01:00
11 lines
241 B
Bash
Executable File
11 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}\"}"
|