Skip to content

Rotate Secret

Rotate the ASA HMAC secret key
post/v1/auth_stream/secret/rotate

Generate a new ASA HMAC secret key. The old ASA HMAC secret key will be deactivated 24 hours after a successful request to this endpoint. Make a GET /auth_stream/secret request to retrieve the new secret key.

Request example Request
curl https://api.lithic.com/v1/auth_stream/secret/rotate \
    -X POST \
    -H "Authorization: $LITHIC_API_KEY"