Empty out required_contexts if force is true.
Set the secret.