Imaginary v0.0.2 CldAccount View Source

Cloudinary config for account.

Link to this section Summary

Types

Basic account configuration.

Link to this section Types

Link to this type

config()

View Source
config() :: %CldAccount{
  api_key: String.t() | nil,
  api_secret: String.t() | nil,
  cloud_name: String.t() | nil
}

Basic account configuration.

It contains keys as folows:

  • :cloud_name: To use the Imaginary library, you have to configure at least your cloud_name. You can set it globally using CLD_CLOUD_NAME env variable.

WIP:

  • :api_key: needed for secure API calls to Cloudinary (e.g., image and video uploads).
  • :api_secret: needed for secure API calls to Cloudinary (e.g., image and video uploads).