Resolves default configuration for Moov.Client.new/1 from application
environment, with sane fallbacks.
Set any of these in your config/runtime.exs:
config :moov,
public_key: System.get_env("MOOV_PUBLIC_KEY"),
private_key: System.get_env("MOOV_PRIVATE_KEY"),
access_token: nil,
api_version: "v2026.04.00",
base_url: "https://api.moov.io",
max_retries: 3,
receive_timeout: 30_000None of this is required - every option can also be passed directly to
Moov.Client.new/1, which always takes precedence over application
environment. This module exists purely so you can configure a default
client once via config and call Moov.Client.new() everywhere else.