Abstracting secrets