This is project is designed to create device specific x.509 certificates using a subscriber root certificate.
This project serves as the Identity Server below.
There are three major apis for the Indentify Service.
Install your dependencies
cd path/to/identity-service; npm install
Start your app
npm start
The Identity Server distro includes a Dockerfile that can be used to construct Docker images.
To build the Docker images for api and start the container :
cd identity-service
docker-compose up --build
A Makefile
is provided to generate the Docker image and upload it to the configured artifact repository.
Both can be accomplished by running:
make docker-push
Note that the destination repository and path is configured in the Makefile
and that Docker will request
credentials in order to perform the push.
The commands to retrieve the latest Docker image(s) for the Identity Service are also contained in the included Makefile.
To pull the latest Docker(s) run:
make docker-pull
Note that the source repository and path is configured in the Makefile
.
No credential should be required to pull the Docker image.