Changing Azure Securlet Secret Key Lifespan
search cancel

Changing Azure Securlet Secret Key Lifespan


Article ID: 268028


Updated On:


CASB Securlet IAAS CASB Security Advanced IAAS CASB Security Premium IAAS CASB Security Advanced CASB Security Standard CASB Security Premium


The Azure Securlet's secretKey by default last for 3 years. Can the customer change to another value?


The customer may want to adjust this value to a longer or shorter period of time to align with other Securlet for simplicity. For example, the Office 365 Securlet can operate indefinitely until it is deactivated, while ServiceNow requires periodic updates to renew the fresh token.


This can be done by changing the value in line 21 from 3 to the desired value:

$secret_validity_for_years = 3