Open jevonearth opened 5 years ago
The auth service and services that consume JWT tokens, must share a secret.
The auth daemon has a -secret command line flag that is used in dev/testing.
-secret
Add support to the auth daemon to use HashiCorps Vault to share secrets between vault and JWT token consumers, as well as rotating secrets.
https://github.com/hashicorp/vault
docker-compose-vault.yml
auth
Notes;
Hashicorp vault config properties will be put in the yaml config file. If valut is enabled, and -secret is passed on command line, deamon should error and exit.
The auth service and services that consume JWT tokens, must share a secret.
The auth daemon has a
-secret
command line flag that is used in dev/testing.Add support to the auth daemon to use HashiCorps Vault to share secrets between vault and JWT token consumers, as well as rotating secrets.
https://github.com/hashicorp/vault
docker-compose-vault.yml
file that starts a vault instance in developer mode, and configuresauth
daemon to use vault.