Implements AshAuthentication.Secret for functions that are provided to the DSL instead of modules.
AshAuthentication.Secret