Rotate application server tokens & cookie keys
In some cases, you may want to rotate your application's server token, cookie key, or both. You can follow these steps to learn how you can do this in HUMAN.
Tip
If you want to keep the original cookie key during the transition, you can clone the policy and generate a new key for the cloned version. This lets both keys be valid in parallel until you’re ready to deprecate the old one.
Rotate tokens & keys
- Before making any changes to your tokens or keys, we recommend switching your active Enforcer to monitor mode. This lets it observe traffic without blocking it during the rotation and minimizes disruptions.
- Navigate to Platform Settings > Account Management > Applications and select the application whose token or key you'd like to rotate.
- Click the Server token tab.
- Click Add server token. This will generate a new token for the application.
- Copy the token and update your Enforcer with the new value.
- Navigate to Sightline Cyberfraud Defense > Policies > Traffic Policy Overview and select the policy associated with the application you created a new token for in Step 4.
- Click Duplicate policy
.
- Enter a name for your new policy, then click Duplicate and create.
- Open the Applications connected to Policy section and + add the application you created a new token for in Step 4.
- Click Save Changes.
- Click the key
in the top right corner and click copy value to copy the policy's risk cookie key.
- Update the Enforcer with the cookie key you copied in Step 10.
- Validate that traffic is processing correctly, and test that request flows are functioning as expected.
- Once confirmed, return the Enforcer to blocking mode.
- Delete the old policy you duplicated in Step 7 and the old authentication token.
Updated about 12 hours ago