Using local secrets when available