SDKs for Vereninging COIN's apis
pip install coin-sdk==1.0.4
The COIN RESTful APIs serve as modern replacements for the outdated MQ and SOAP interfaces. This new approach consists of highly secure yet quick and easy to implement web-standards thereby avoiding additional middleware for API users.
In order to ease the introduce to the new APIs for new users, Vereniging COIN offers SDKs in several programming languages.
For a quick start, follow the steps below:
In order to be able to use a COIN API, the user is required to have a private/public key pair. Execute the following commands:
ssh-keygen -m PEM -t rsa -b 4096 -f private-key.pem -N ''
ssh-keygen -e -m PKCS8 -f private-key.pem > public-key.pem
For Windows users, please note that running the commands in git-bash
is required:
ssh-keygen.exe -m PEM -t rsa -b 4096 -f private-key.pem -N ''
ssh-keygen.exe -e -m PKCS8 -f private-key.pem > public-key.pem
These scripts generate the private and public keys: public-key.pem
and private-key.pem
.
Go to: https://test-portal.coin.nl/iam#/
Select consumer name
Configure IP Addresses and add public key
Press save
Retrieve client credentials
sharedkey.encrypted
.
Once the public key has been registered, the following private and public keys are needed to gain secured access to COIN APIs:
consumer name
(see above)private-key.pem
(see above)sharedkey.encrypted
encrypted HMAC secret (see above)If you need support, feel free to send an email to the Coin devops team.