mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-07 20:51:28 +00: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}\"}"
|