Install¶
You can find the pre-compiled binaries on the release page https://github.com/vdbulcke/vault-token-monitor/releases
Getting Latest Version¶
TAG=$(curl https://api.github.com/repos/vdbulcke/vault-token-monitor/releases/latest |jq .tag_name -r )
VERSION=$(echo $TAG | cut -d 'v' -f 2)
Info
You will need jq
and curl
in your PATH
Docker¶
See the Packages Page to find the latest docker image.
docker run --rm -v /path/to/your/config.yaml:/app/config.yaml:z -p 9000:9000 ghcr.io/vdbulcke/vault-token-monitor:v${TAG}
MacOS¶
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/vault-token-monitor/releases/download/${TAG}/vault-token-monitor_${VERSION}_Darwin_x86_64.tar.gz"
- Extract Binary:
tar xzf "vault-token-monitor_${VERSION}_Darwin_x86_64.tar.gz"
- Check Version:
./vault-token-monitor version
- Install in your
PATH
:Orsudo install vault-token-monitor /usr/local/bin/
sudo mv vault-token-monitor /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/vault-token-monitor/releases/download/${TAG}/vault-token-monitor_${VERSION}_Darwin_amr64.tar.gz"
- Extract Binary:
tar xzf "vault-token-monitor_${VERSION}_Darwin_amr64.tar.gz"
- Check Version:
./vault-token-monitor version
- Install in your
PATH
:Orsudo install vault-token-monitor /usr/local/bin/
sudo mv vault-token-monitor /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/vault-token-monitor/releases/download/${TAG}/vault-token-monitor_${VERSION}_Darwin_all.tar.gz"
- Extract Binary:
tar xzf "vault-token-monitor_${VERSION}_Darwin_all.tar.gz"
- Check Version:
./vault-token-monitor version
- Install in your
PATH
:Orsudo install vault-token-monitor /usr/local/bin/
sudo mv vault-token-monitor /usr/local/bin/
Linux¶
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/vault-token-monitor/releases/download/${TAG}/vault-token-monitor_${VERSION}_Linux_x86_64.tar.gz"
- Extract Binary:
tar xzf "vault-token-monitor_${VERSION}_Linux_x86_64.tar.gz"
- Check Version:
./vault-token-monitor version
- Install in your
PATH
:Orsudo install vault-token-monitor /usr/local/bin/
sudo mv vault-token-monitor /usr/local/bin/
- Download the binary from the releases page:
curl -LO "https://github.com/vdbulcke/vault-token-monitor/releases/download/${TAG}/vault-token-monitor_${VERSION}_Linux_amr64.tar.gz"
- Extract Binary:
tar xzf "vault-token-monitor_${VERSION}_Linux_amr64.tar.gz"
- Check Version:
./vault-token-monitor version
- Install in your
PATH
:Orsudo install vault-token-monitor /usr/local/bin/
sudo mv vault-token-monitor /usr/local/bin/
Windows¶
-
Download the binary
vault-token-monitor_[VERSION]_Windows_x86_64.zip
from the releases page -
Unzip the Binary
-
Check Version:
./vault-token-monitor.exe version