Closed walac closed 5 years ago
claimCredentials receives a RSA2048 signature of the identity document and returns the credentials for the worker.
The document is validated according using the iid-verify [1] package.
Informations about the instance, like instance-id and region are extracted from the identity document.
The given instance must be in a running state, otherwise the endpoint will fail.
[1] https://www.npmjs.com/package/iid-verify
@walac please re-flag me in bugzilla when the tests are passing :)
claimCredentials receives a RSA2048 signature of the identity document and returns the credentials for the worker.
The document is validated according using the iid-verify [1] package.
Informations about the instance, like instance-id and region are extracted from the identity document.
The given instance must be in a running state, otherwise the endpoint will fail.
[1] https://www.npmjs.com/package/iid-verify