-
Install Vault server from https://www.vaultproject.io/.
-
Run
/usr/bin/vault server -dev
and keep it open while developing. -
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
-
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
-
Start authservice using
VAULT_ADDR=http://127.0.0.1:8200 VAULT_TOKEN="$(cat vault.token)" ./authservice
-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication service for signing ssh-keys
License
baffinbay/authservice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Authentication service for signing ssh-keys
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published