Updating config to use secret