This API allows you to rotate your credentials by modifying a pair of individual credentials. To rotate credentials:
-
Run Update a credential to update the expiration date of an old credential to a new date you choose to let it auto-expire.
-
Run Create a credential so the new credential can replace the old one.
-
Deploy your new keys and secrets.
You should leave enough overlap between the old and new credentials to ensure you maintain access during the rotation. If your old credentials expire before you finish updating the new ones, you will lose access to the APIs associated with the expired credentials.