Amazon Maintenance - Rotating LWA Credentials
LWA (Login with Amazon) credentials must be rotated every 180 days in order to maintain access.
How to rotate LWA credentials:
- Sign in to your developer account on Seller Central or Developer Central and navigate to the Developer Console page that lists all your applications.
- From the LWA credentials column, find the expiration alert icon and select View.
- Choose Rotate secret and then choose the confirmation Rotate secret again.
- Save the new Client secret in a secure place. This will be used to update your CSM credentials in the next step.
How to input your new Client secret and input it in CSM:
- Search for CSM API Set and select the related link
- Select the AMAZON_SPAPI Code and then select API Credentials from the ribbon
- You need to update the Client Secret for the API Credentials with CSM Function Codes "BLANK", GETACCESSTOKEN and GETASSUMEROLE.

- Click on the first API Set Code, scroll down to the AWS Signature FastTab and paste in your new Client Secret; repeat this for the next two API Set Codes.

-
The last step is to test our API connection. Search for CSM Sales Channels and select the related link
-
Select the related Amazon Sales Channel
-
Click the APIs option on the ribbon and select Test Channel Communication and you should see the following popup on your screen
-
Note: If the test failed, please search the knowledge base or contact support.


