1.0.3 • Published 5 years ago

revproxy-auth v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

BUILD

docker build . -t senomas/revproxy-auth:1.0.4
docker push senomas/revproxy-auth:1.0.4

CREATE KEY PAIR

docker run senomas/revproxy-auth

RUNNING

docker run -e PUBLIC_KEY=<PUBLIC_KEY> -SERVICE=demo -e validIAT=0 -e TARGET=http://xxxxxxxx/ senomas/revproxy-auth

GENERATE TOKEN

http://xxxxxxx/auth?user=john&key=<PRIVATE_KEY>

with expiry (in hours)

http://xxxxxxx/auth?user=john&key=<PRIVATE_KEY>&expiry=1