Skip to content

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

  1. 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"
    
  2. Extract Binary:
    tar xzf "vault-token-monitor_${VERSION}_Darwin_x86_64.tar.gz"
    
  3. Check Version:
    ./vault-token-monitor version
    
  4. Install in your PATH:
    sudo install vault-token-monitor /usr/local/bin/
    
    Or
    sudo mv vault-token-monitor /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "vault-token-monitor_${VERSION}_Darwin_amr64.tar.gz"
    
  3. Check Version:
    ./vault-token-monitor version
    
  4. Install in your PATH:
    sudo install vault-token-monitor /usr/local/bin/
    
    Or
    sudo mv vault-token-monitor /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "vault-token-monitor_${VERSION}_Darwin_all.tar.gz"
    
  3. Check Version:
    ./vault-token-monitor version
    
  4. Install in your PATH:
    sudo install vault-token-monitor /usr/local/bin/
    
    Or
    sudo mv vault-token-monitor /usr/local/bin/
    

Linux

  1. 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"
    
  2. Extract Binary:
    tar xzf "vault-token-monitor_${VERSION}_Linux_x86_64.tar.gz"
    
  3. Check Version:
    ./vault-token-monitor version
    
  4. Install in your PATH:
    sudo install vault-token-monitor /usr/local/bin/
    
    Or
    sudo mv vault-token-monitor /usr/local/bin/
    
  1. 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"
    
  2. Extract Binary:
    tar xzf "vault-token-monitor_${VERSION}_Linux_amr64.tar.gz"
    
  3. Check Version:
    ./vault-token-monitor version
    
  4. Install in your PATH:
    sudo install vault-token-monitor /usr/local/bin/
    
    Or
    sudo mv vault-token-monitor /usr/local/bin/
    

Windows

  1. Download the binary vault-token-monitor_[VERSION]_Windows_x86_64.zip from the releases page

  2. Unzip the Binary

  3. Check Version:

    ./vault-token-monitor.exe version