Add encryption to get_secrets