def METHOD_NAME(
    self,
    app: Flask,
    client: FlaskClient,
    with_db_and_bpmn_file_cleanup: None,
    with_super_admin_user: UserModel,
) -> None:
    self.add_test_secret(with_super_admin_user)
    secret: SecretModel | None = SecretService.get_secret(self.test_key)
    assert secret
    assert SecretService._decrypt(secret.value) == self.test_value
    secret_model = SecretModel(
        key=self.test_key,
        value="new_secret_value",
        user_id=with_super_admin_user.id,
    )
    response = client.put(
        f"/v1.0/secrets/{self.test_key}",
        headers=self.logged_in_headers(with_super_admin_user),
        content_type="application/json",
        data=json.dumps(SecretModelSchema().dump(secret_model)),
    )
    assert response.status_code == 200
    secret_model = SecretModel.query.filter(SecretModel.key == self.test_key).first()
    assert SecretService._decrypt(secret_model.value) == "new_secret_value"