updates to SecretUtils