View Source AshAuthentication.Igniter (ash_authentication v4.1.0)

Codemods for working with AshAuthentication

Summary

Functions

Adds a secret to a secret module that reads from application env

Functions

Link to this function

add_secret_from_env(igniter, module, resource, path, env_key)

View Source
@spec add_secret_from_env(Igniter.t(), module(), Ash.Resource.t(), [atom()], atom()) ::
  Igniter.t()

Adds a secret to a secret module that reads from application env