Interface CFImagesConfig

Configuration options for the CFImages client CFImagesConfig

interface CFImagesConfig {
    accountId: string;
    imageAccountHash: string;
    security?: SecurityConfig;
    token: string;
}

Properties

accountId: string

Your Cloudflare account ID

Keep this private and never expose it in client-side code

imageAccountHash: string

Your Image account Hash

Keep this private and never expose it in client-side code

security?: SecurityConfig

Security configuration options

token: string

Your Cloudflare API token

Never expose this token in client-side code