@@ -109,24 +109,17 @@ private constructor(
109109 fun baseUrlOverridden (): Boolean = baseUrl != null
110110
111111 /* *
112- * Leave this field unset. ImageKit uses Basic Authentication scheme that requires the
113- * `private_key` as the username and empty string as the password. The password field is
114- * automatically managed by the SDK and should not be set.
112+ * ImageKit uses your API key as username and ignores the password. The SDK sets a dummy value.
113+ * You can ignore this field.
115114 *
116115 * Defaults to `"do_not_set"`.
117116 */
118117 fun password (): Optional <String > = Optional .ofNullable(password)
119118
120119 /* *
121- * Your ImageKit webhook secret used by the SDK to verify webhook signatures for security. This
122- * secret starts with a `whsec_` prefix and is essential for webhook verification. You can view
123- * and manage your webhook secret in the
124- * [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).
125- *
126- * **Security Note**: Treat this secret like a password - keep it private and never expose it
127- * publicly. This field is optional and only required if you plan to use webhook signature
128- * verification. Learn more about
129- * [webhook verification](https://imagekit.io/docs/webhooks#verify-webhook-signature).
120+ * Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`). You can
121+ * find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only
122+ * required if you're using webhooks.
130123 */
131124 fun webhookSecret (): Optional <String > = Optional .ofNullable(webhookSecret)
132125
@@ -289,9 +282,8 @@ private constructor(
289282 fun privateKey (privateKey : String ) = apply { this .privateKey = privateKey }
290283
291284 /* *
292- * Leave this field unset. ImageKit uses Basic Authentication scheme that requires the
293- * `private_key` as the username and empty string as the password. The password field is
294- * automatically managed by the SDK and should not be set.
285+ * ImageKit uses your API key as username and ignores the password. The SDK sets a dummy
286+ * value. You can ignore this field.
295287 *
296288 * Defaults to `"do_not_set"`.
297289 */
@@ -301,15 +293,10 @@ private constructor(
301293 fun password (password : Optional <String >) = password(password.getOrNull())
302294
303295 /* *
304- * Your ImageKit webhook secret used by the SDK to verify webhook signatures for security.
305- * This secret starts with a `whsec_` prefix and is essential for webhook verification. You
306- * can view and manage your webhook secret in the
307- * [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).
308- *
309- * **Security Note**: Treat this secret like a password - keep it private and never expose
310- * it publicly. This field is optional and only required if you plan to use webhook
311- * signature verification. Learn more about
312- * [webhook verification](https://imagekit.io/docs/webhooks#verify-webhook-signature).
296+ * Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`). You
297+ * can find this in the
298+ * [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks). Only required if
299+ * you're using webhooks.
313300 */
314301 fun webhookSecret (webhookSecret : String? ) = apply { this .webhookSecret = webhookSecret }
315302
0 commit comments