- Home
- Interfaces
- ICloudConfig
-
ICloudConfig
config
-
Description
Defines the global configuration applied when generating Cloudinary URLs.
Properties
Name Type Attributes Description cloudName
string <optional> apiKey
string <optional> apiSecret
string <optional> authToken
IAuthTokenConfig <optional> Examples
import Cloudinary from '@cloudinary/url-gen'; // The Cloudinary Instance accepts a CloudConfig under the `cloud` key const cld = new Cloudinary({ // the cloudConfig cloud: { cloudName: 'demo' }, // the urlConfig url: { // ... urlConfig is optional. } });
Details