Packages

Official Elixir SDK for Coffrify, encrypted file-transfer infrastructure: transfers, webhooks (Standard Webhooks v2), API keys, audit, vaults and 30+ resources, with retry policies, circuit breaker, rate limiter, idempotency and Phoenix/Plug helpers.

Current section

Files

Jump to
coffrify config config.exs
Raw

config/config.exs

import Config
# Coffrify Elixir SDK — runtime configuration stub.
#
# The SDK does not require any global configuration: every option is passed
# at the call site through `Coffrify.new/1`. Override at runtime in your
# host application:
#
# config :coffrify,
# api_url: "https://api.coffrify.com",
# timeout_ms: 30_000,
# user_agent: "my-app/1.0 (+coffrify-elixir)"
#
# Phoenix / Plug integration reads the webhook secret either from this file,
# from `System.fetch_env!/1`, or from the controller `use` macro options.
config :coffrify,
api_url: System.get_env("COFFRIFY_API_URL") || "https://api.coffrify.com",
timeout_ms: 30_000,
user_agent: nil