Help us shape the future of Go! Take the 2026 Go Developer Survey

authservice

command module
v0.0.0-...-4549a72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 10 Imported by: 0

README

authservice

Testing

  1. Install Vault server from https://www.vaultproject.io/.

  2. Run /usr/bin/vault server -dev and keep it open while developing.

  3. Enable SSH certificate engine:

    VAULT_ADDR=http://127.0.0.1:8200 vault secrets enable -path=ssh ssh
    VAULT_ADDR=http://127.0.0.1:8200 vault write ssh/roles/user - < ssh.policy
    
  4. Generate a renewable token to use:

    VAULT_ADDR=http://127.0.0.1:8200 VAULT_TOKEN=$(cat "${HOME}/.vault-token") \
      vault token create -renewable -ttl=48h -format=json \
      | jq -r '.auth.client_token' > vault.token
    
    
  5. Start authservice using VAULT_ADDR=http://127.0.0.1:8200 VAULT_TOKEN="$(cat vault.token)" ./authservice

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL