Changing the SECRET to a randomly generated NEW_SECRET
You can always update the secret to a new one in the sbs-config.json
file. To update the secret, run the following command:
./build.py update --env <path>/sbs-config.json --new-secret
Where the SECRET will be updated with a randomly generated base64 value in the sbs-config.json
file if the update operation is successful.
Note: After the secret is updated, you cannot use a state image that is retrieved in the past. You must retrieve a state image again with the new secret. For more information, see Working with the state image.