Go implementation of EdgeX security API-Gateway service.
The service can be started with 2 different methods listed below:
docker-compose up -d vault
docker-compose up -d vault-worker
docker-compose up -d kong-db
docker-compose up -d kong-migrations
docker-compose up -d kong
docker-compose up -d edgex-proxy
The repo includes a Dockerfile to dockerize the security service. Run the docker-componse commands same as in method one except the last step, then
go get github.com/edgexfoundry/security-api-gateway
cd security-api-gateway
make build
make docker
docker-compose run edgexfoundry/docker-edgex-proxy-go
docker-compose run edgex-proxy -h
docker-compose run edgex-proxy --reset=true
docker-compose run edgex-proxy --useradd=<account> --group=<groupname>
docker-compose run edgex-proxy --userdel=<account>
curl -k -v https://{api-gateway-ip}:8443/command/api/v1/ping -H "Authorization: Bearer <access token from account creation>"