Reading updated secret values in triggered function

I have a scheduled function that is using the Mongo API to update a secret value, which works as expected. Another scheduled function does not see the new value and instead gets the old value until the function is redeployed.

Is this expected behavior? Are there other options to rotate a secret value that can be read by a scheduled function?