Key Management Service
The key management service stores the user's private key for the blockchain. Whenever the user wants to sign something with the private key, the content to sign is sent to the key management service, and the service returns the signature.
The key management service is an option for those who do not wish to store their own private key. Key management is intended as a service for end users, whereas an external service should store their own private key in their own system.
Swagger
The key management API is documented with swagger that can be accessed here.
Creating the private key
The key management service is connected with the SSO service. During user creation, the SSO calls the key management service to create a new private key.
Signing
In order to use the key management to create a signature you need two things:
- The content that you want to sign
- SSO token
The SSO token is retrieved from the SSO service on a successful login.