Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

38 lines (34 loc) · 1.27 KB

FIWARE Banner

Keyrock Token Provider

Docker badge Build Status

Overview

This project is part of FIWARE OPS infrastructure. It provides auth token from Keyrock to communicate with software protected by Wilma.

How to run

$ docker run -it --rm \
             -p 0.0.0.0:${PORT}:${PORT} \
             fiware/service.idmtokenprovider \
             --ip 0.0.0.0 \
             --port ${PORT} \
             --config ${PATH_TO_CONFIG}
$ curl http://localhost:${PORT}/ping

How to configure

Sample config is located here.

How to use

Ping

$ curl http://localhost:${PORT}/ping

Get version

$ curl http://localhost:${PORT}/version

Get token

$ curl -XPOST -d "username=${USER}&password=${PASSWORD}" http://localhost:${PORT}/$PROJECT