- Home
- Interfaces
- ICloudConfig
-
ICloudConfig
config
-
Description
Defines the global configuration applied when generating Cloudinary URLs.
Properties
Name Type Attributes Description cloudNamestring <optional> apiKeystring <optional> apiSecretstring <optional> authTokenIAuthTokenConfig <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