Buckets
ICBucket
ICPay Cloud guide
On-chain encrypted file storage
ICBucket
On-chain encrypted file storage
ICBucket
On-chain encrypted file storage
Reference
Detailed breakdown of all client options, environment variables, and protocol flags.
Complete technical specification of all configuration parameters supported by the ICBucket client library.
interface ICBucketConfig {
/** Unique alphanumeric identifier for the target bucket */
bucketId: string
/** Secret API Key for write/read authentication */
apiKey?: string
/** Optional Internet Identity Identity instance */
identity?: Identity
/** Base URL for edge CDN requests (default: "https://cdn.icpay.app") */
cdnBase?: string
/** Chunk size in bytes for split uploads (default: 2097152 / 2MB) */
chunkSizeBytes?: number
/** Network timeout in milliseconds (default: 30000) */
timeoutMs?: number
/** Number of retry attempts on transient network error (default: 3) */
maxRetries?: number
}