After completing commercial onboarding, you will receive a Customer ID (a.k.a CMS ID) to continue FOMO API onboarding.In order to use FOMO API, you will need to provide FOMO a public key. After configuration, you will be provided a Key ID which will be used for authentication in OAuth2 API.
To generate an RSA key pair, you may refer to the following command:
At this time you should have the key pair (key.pem and pub.pem). Please share only the pub.pem with FOMO and keep the key.pem (your signing key) secure at all times. Since the public key pub.pem can be derived from key.pem, you do not need to store the pub.pem after it has been shared with FOMO. You will only need key.pem in the signing process.
Before key rotation, you may first provide FOMO your new public key and receive a new Key ID from FOMO. By injecting the new key, both new key and exist key will work in the mean time so that you can swap your keys without any downtime. You may inform us to remove the existing key after your have successfully replaced the keys in your app.