imagekitio 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fedc066efa6b23de05d5fbde2a58620df0367b19bc0fe3c4c4088c814341f371
4
- data.tar.gz: e63e496269f464dfea1b230ae3db7d4dbb31139b776fb5b98204aa7ed53b8afb
3
+ metadata.gz: ae0103be053b05758d9f09f72d330ebff76e07ea7521cf2eb9933b530fefbbeb
4
+ data.tar.gz: 49172d345668ba011ccf9021571bac3b4326dd8267761f4370e43521ecfd468b
5
5
  SHA512:
6
- metadata.gz: 86ce4087b4dc5d08936d4b0909b76cd134196ed0afb410c7dbdf101ea03acf7b6f6eff8857acd6738265a3eff8738b42dcd07e0971f63da0ee6252eb21edfb09
7
- data.tar.gz: 785de1bdd7be3bcd73991b87789539b7cce8e1a45088cb477cef9c5d4dd57c0d3e1193f5f9e540cae9df28350ede54327a226a9f36356f2861da358ac64b984e
6
+ metadata.gz: 7d804c43b102c6762193bd63a8505ce715a6635763651b19b119f87db3b8b98d582404c0ade817efa9cdabf65d6f4a1eadc0ced7fc9addebf9045a19e4fb1ed9
7
+ data.tar.gz: 9318e37eb4f0081d70c1ac7932082d0ec5b679b1f65713d18033c82595922ffa1cf4112c67bf4b40d3bb9f981d29fe2ec0ce0f572e17b2a1db73a3444959f162
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.7.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.6.0...v4.7.0) (2026-06-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * **origins:** add useIAMRole for IAM role authentication ([c38cc1b](https://github.com/imagekit-developer/imagekit-ruby/commit/c38cc1bea8028c2c10ae543e027dc71a63170222))
9
+
10
+
11
+ ### Documentation
12
+
13
+ * update default value in description for intensity in colorize transformation ([7b128c5](https://github.com/imagekit-developer/imagekit-ruby/commit/7b128c59d1da7435e6137ebad7a60251e941defa))
14
+
3
15
  ## [4.6.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.5.1...v4.6.0) (2026-06-03)
4
16
 
5
17
 
data/README.md CHANGED
@@ -46,7 +46,7 @@ To use this gem, install via Bundler by adding the following to your application
46
46
  <!-- x-release-please-start-version -->
47
47
 
48
48
  ```ruby
49
- gem "imagekitio", "~> 4.6.0"
49
+ gem "imagekitio", "~> 4.7.0"
50
50
  ```
51
51
 
52
52
  <!-- x-release-please-end -->
@@ -27,7 +27,7 @@ module Imagekitio
27
27
 
28
28
  class S3 < Imagekitio::Internal::Type::BaseModel
29
29
  # @!attribute access_key
30
- # Access key for the bucket.
30
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
31
31
  #
32
32
  # @return [String]
33
33
  required :access_key, String, api_name: :accessKey
@@ -45,7 +45,7 @@ module Imagekitio
45
45
  required :name, String
46
46
 
47
47
  # @!attribute secret_key
48
- # Secret key for the bucket.
48
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
49
49
  #
50
50
  # @return [String]
51
51
  required :secret_key, String, api_name: :secretKey
@@ -75,14 +75,24 @@ module Imagekitio
75
75
  # @return [String, nil]
76
76
  optional :prefix, String
77
77
 
78
- # @!method initialize(access_key:, bucket:, name:, secret_key:, base_url_for_canonical_header: nil, include_canonical_header: nil, prefix: nil, type: :S3)
79
- # @param access_key [String] Access key for the bucket.
78
+ # @!attribute use_iam_role
79
+ # Use IAM role for authentication instead of access/secret keys. When set to
80
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
81
+ #
82
+ # @return [Boolean, nil]
83
+ optional :use_iam_role, Imagekitio::Internal::Type::Boolean, api_name: :useIAMRole
84
+
85
+ # @!method initialize(access_key:, bucket:, name:, secret_key:, base_url_for_canonical_header: nil, include_canonical_header: nil, prefix: nil, use_iam_role: nil, type: :S3)
86
+ # Some parameter documentations has been truncated, see
87
+ # {Imagekitio::Models::Accounts::OriginRequest::S3} for more details.
88
+ #
89
+ # @param access_key [String] Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
80
90
  #
81
91
  # @param bucket [String] S3 bucket name.
82
92
  #
83
93
  # @param name [String] Display name of the origin.
84
94
  #
85
- # @param secret_key [String] Secret key for the bucket.
95
+ # @param secret_key [String] Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
86
96
  #
87
97
  # @param base_url_for_canonical_header [String] URL used in the Canonical header (if enabled).
88
98
  #
@@ -90,6 +100,8 @@ module Imagekitio
90
100
  #
91
101
  # @param prefix [String] Path prefix inside the bucket.
92
102
  #
103
+ # @param use_iam_role [Boolean] Use IAM role for authentication instead of access/secret keys. When set to `true
104
+ #
93
105
  # @param type [Symbol, :S3]
94
106
  end
95
107
 
@@ -179,7 +191,7 @@ module Imagekitio
179
191
 
180
192
  class CloudinaryBackup < Imagekitio::Internal::Type::BaseModel
181
193
  # @!attribute access_key
182
- # Access key for the bucket.
194
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
183
195
  #
184
196
  # @return [String]
185
197
  required :access_key, String, api_name: :accessKey
@@ -197,7 +209,7 @@ module Imagekitio
197
209
  required :name, String
198
210
 
199
211
  # @!attribute secret_key
200
- # Secret key for the bucket.
212
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
201
213
  #
202
214
  # @return [String]
203
215
  required :secret_key, String, api_name: :secretKey
@@ -227,14 +239,25 @@ module Imagekitio
227
239
  # @return [String, nil]
228
240
  optional :prefix, String
229
241
 
230
- # @!method initialize(access_key:, bucket:, name:, secret_key:, base_url_for_canonical_header: nil, include_canonical_header: nil, prefix: nil, type: :CLOUDINARY_BACKUP)
231
- # @param access_key [String] Access key for the bucket.
242
+ # @!attribute use_iam_role
243
+ # Use IAM role for authentication instead of access/secret keys. When set to
244
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
245
+ #
246
+ # @return [Boolean, nil]
247
+ optional :use_iam_role, Imagekitio::Internal::Type::Boolean, api_name: :useIAMRole
248
+
249
+ # @!method initialize(access_key:, bucket:, name:, secret_key:, base_url_for_canonical_header: nil, include_canonical_header: nil, prefix: nil, use_iam_role: nil, type: :CLOUDINARY_BACKUP)
250
+ # Some parameter documentations has been truncated, see
251
+ # {Imagekitio::Models::Accounts::OriginRequest::CloudinaryBackup} for more
252
+ # details.
253
+ #
254
+ # @param access_key [String] Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
232
255
  #
233
256
  # @param bucket [String] S3 bucket name.
234
257
  #
235
258
  # @param name [String] Display name of the origin.
236
259
  #
237
- # @param secret_key [String] Secret key for the bucket.
260
+ # @param secret_key [String] Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
238
261
  #
239
262
  # @param base_url_for_canonical_header [String] URL used in the Canonical header (if enabled).
240
263
  #
@@ -242,6 +265,8 @@ module Imagekitio
242
265
  #
243
266
  # @param prefix [String] Path prefix inside the bucket.
244
267
  #
268
+ # @param use_iam_role [Boolean] Use IAM role for authentication instead of access/secret keys. When set to `true
269
+ #
245
270
  # @param type [Symbol, :CLOUDINARY_BACKUP]
246
271
  end
247
272
 
@@ -65,6 +65,13 @@ module Imagekitio
65
65
  # @return [String, nil]
66
66
  optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader
67
67
 
68
+ # @!attribute use_iam_role
69
+ # Whether the origin authenticates using an IAM role instead of access/secret
70
+ # keys.
71
+ #
72
+ # @return [Boolean, nil]
73
+ optional :use_iam_role, Imagekitio::Internal::Type::Boolean, api_name: :useIAMRole
74
+
68
75
  response_only do
69
76
  # @!attribute id
70
77
  # Unique identifier for the origin. This is generated by ImageKit when you create
@@ -74,7 +81,7 @@ module Imagekitio
74
81
  required :id, String
75
82
  end
76
83
 
77
- # @!method initialize(id:, bucket:, include_canonical_header:, name:, prefix:, base_url_for_canonical_header: nil, type: :S3)
84
+ # @!method initialize(id:, bucket:, include_canonical_header:, name:, prefix:, base_url_for_canonical_header: nil, use_iam_role: nil, type: :S3)
78
85
  # Some parameter documentations has been truncated, see
79
86
  # {Imagekitio::Models::Accounts::OriginResponse::S3} for more details.
80
87
  #
@@ -90,6 +97,8 @@ module Imagekitio
90
97
  #
91
98
  # @param base_url_for_canonical_header [String] URL used in the Canonical header (if enabled).
92
99
  #
100
+ # @param use_iam_role [Boolean] Whether the origin authenticates using an IAM role instead of access/secret keys
101
+ #
93
102
  # @param type [Symbol, :S3]
94
103
  end
95
104
 
@@ -213,6 +222,13 @@ module Imagekitio
213
222
  # @return [String, nil]
214
223
  optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader
215
224
 
225
+ # @!attribute use_iam_role
226
+ # Whether the origin authenticates using an IAM role instead of access/secret
227
+ # keys.
228
+ #
229
+ # @return [Boolean, nil]
230
+ optional :use_iam_role, Imagekitio::Internal::Type::Boolean, api_name: :useIAMRole
231
+
216
232
  response_only do
217
233
  # @!attribute id
218
234
  # Unique identifier for the origin. This is generated by ImageKit when you create
@@ -222,7 +238,7 @@ module Imagekitio
222
238
  required :id, String
223
239
  end
224
240
 
225
- # @!method initialize(id:, bucket:, include_canonical_header:, name:, prefix:, base_url_for_canonical_header: nil, type: :CLOUDINARY_BACKUP)
241
+ # @!method initialize(id:, bucket:, include_canonical_header:, name:, prefix:, base_url_for_canonical_header: nil, use_iam_role: nil, type: :CLOUDINARY_BACKUP)
226
242
  # Some parameter documentations has been truncated, see
227
243
  # {Imagekitio::Models::Accounts::OriginResponse::CloudinaryBackup} for more
228
244
  # details.
@@ -239,6 +255,8 @@ module Imagekitio
239
255
  #
240
256
  # @param base_url_for_canonical_header [String] URL used in the Canonical header (if enabled).
241
257
  #
258
+ # @param use_iam_role [Boolean] Whether the origin authenticates using an IAM role instead of access/secret keys
259
+ #
242
260
  # @param type [Symbol, :CLOUDINARY_BACKUP]
243
261
  end
244
262
 
@@ -144,7 +144,7 @@ module Imagekitio
144
144
  #
145
145
  # - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray
146
146
  # color.
147
- # - `in-intensity` - Intensity of the color (0-100). Default is 35. See
147
+ # - `in-intensity` - Intensity of the color (0-100). Default is 100. See
148
148
  # [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize).
149
149
  #
150
150
  # @return [String, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Imagekitio
4
- VERSION = "4.6.0"
4
+ VERSION = "4.7.0"
5
5
  end
@@ -30,7 +30,7 @@ module Imagekitio
30
30
  )
31
31
  end
32
32
 
33
- # Access key for the bucket.
33
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
34
34
  sig { returns(String) }
35
35
  attr_accessor :access_key
36
36
 
@@ -42,7 +42,7 @@ module Imagekitio
42
42
  sig { returns(String) }
43
43
  attr_accessor :name
44
44
 
45
- # Secret key for the bucket.
45
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
46
46
  sig { returns(String) }
47
47
  attr_accessor :secret_key
48
48
 
@@ -70,6 +70,14 @@ module Imagekitio
70
70
  sig { params(prefix: String).void }
71
71
  attr_writer :prefix
72
72
 
73
+ # Use IAM role for authentication instead of access/secret keys. When set to
74
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
75
+ sig { returns(T.nilable(T::Boolean)) }
76
+ attr_reader :use_iam_role
77
+
78
+ sig { params(use_iam_role: T::Boolean).void }
79
+ attr_writer :use_iam_role
80
+
73
81
  sig do
74
82
  params(
75
83
  access_key: String,
@@ -79,17 +87,18 @@ module Imagekitio
79
87
  base_url_for_canonical_header: String,
80
88
  include_canonical_header: T::Boolean,
81
89
  prefix: String,
90
+ use_iam_role: T::Boolean,
82
91
  type: Symbol
83
92
  ).returns(T.attached_class)
84
93
  end
85
94
  def self.new(
86
- # Access key for the bucket.
95
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
87
96
  access_key:,
88
97
  # S3 bucket name.
89
98
  bucket:,
90
99
  # Display name of the origin.
91
100
  name:,
92
- # Secret key for the bucket.
101
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
93
102
  secret_key:,
94
103
  # URL used in the Canonical header (if enabled).
95
104
  base_url_for_canonical_header: nil,
@@ -97,6 +106,9 @@ module Imagekitio
97
106
  include_canonical_header: nil,
98
107
  # Path prefix inside the bucket.
99
108
  prefix: nil,
109
+ # Use IAM role for authentication instead of access/secret keys. When set to
110
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
111
+ use_iam_role: nil,
100
112
  type: :S3
101
113
  )
102
114
  end
@@ -111,7 +123,8 @@ module Imagekitio
111
123
  type: Symbol,
112
124
  base_url_for_canonical_header: String,
113
125
  include_canonical_header: T::Boolean,
114
- prefix: String
126
+ prefix: String,
127
+ use_iam_role: T::Boolean
115
128
  }
116
129
  )
117
130
  end
@@ -245,7 +258,7 @@ module Imagekitio
245
258
  )
246
259
  end
247
260
 
248
- # Access key for the bucket.
261
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
249
262
  sig { returns(String) }
250
263
  attr_accessor :access_key
251
264
 
@@ -257,7 +270,7 @@ module Imagekitio
257
270
  sig { returns(String) }
258
271
  attr_accessor :name
259
272
 
260
- # Secret key for the bucket.
273
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
261
274
  sig { returns(String) }
262
275
  attr_accessor :secret_key
263
276
 
@@ -285,6 +298,14 @@ module Imagekitio
285
298
  sig { params(prefix: String).void }
286
299
  attr_writer :prefix
287
300
 
301
+ # Use IAM role for authentication instead of access/secret keys. When set to
302
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
303
+ sig { returns(T.nilable(T::Boolean)) }
304
+ attr_reader :use_iam_role
305
+
306
+ sig { params(use_iam_role: T::Boolean).void }
307
+ attr_writer :use_iam_role
308
+
288
309
  sig do
289
310
  params(
290
311
  access_key: String,
@@ -294,17 +315,18 @@ module Imagekitio
294
315
  base_url_for_canonical_header: String,
295
316
  include_canonical_header: T::Boolean,
296
317
  prefix: String,
318
+ use_iam_role: T::Boolean,
297
319
  type: Symbol
298
320
  ).returns(T.attached_class)
299
321
  end
300
322
  def self.new(
301
- # Access key for the bucket.
323
+ # Access key for the bucket. When `useIAMRole` is `true`, send an empty string.
302
324
  access_key:,
303
325
  # S3 bucket name.
304
326
  bucket:,
305
327
  # Display name of the origin.
306
328
  name:,
307
- # Secret key for the bucket.
329
+ # Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.
308
330
  secret_key:,
309
331
  # URL used in the Canonical header (if enabled).
310
332
  base_url_for_canonical_header: nil,
@@ -312,6 +334,9 @@ module Imagekitio
312
334
  include_canonical_header: nil,
313
335
  # Path prefix inside the bucket.
314
336
  prefix: nil,
337
+ # Use IAM role for authentication instead of access/secret keys. When set to
338
+ # `true`, send an empty string for both `accessKey` and `secretKey`.
339
+ use_iam_role: nil,
315
340
  type: :CLOUDINARY_BACKUP
316
341
  )
317
342
  end
@@ -326,7 +351,8 @@ module Imagekitio
326
351
  type: Symbol,
327
352
  base_url_for_canonical_header: String,
328
353
  include_canonical_header: T::Boolean,
329
- prefix: String
354
+ prefix: String,
355
+ use_iam_role: T::Boolean
330
356
  }
331
357
  )
332
358
  end
@@ -56,6 +56,14 @@ module Imagekitio
56
56
  sig { params(base_url_for_canonical_header: String).void }
57
57
  attr_writer :base_url_for_canonical_header
58
58
 
59
+ # Whether the origin authenticates using an IAM role instead of access/secret
60
+ # keys.
61
+ sig { returns(T.nilable(T::Boolean)) }
62
+ attr_reader :use_iam_role
63
+
64
+ sig { params(use_iam_role: T::Boolean).void }
65
+ attr_writer :use_iam_role
66
+
59
67
  # Unique identifier for the origin. This is generated by ImageKit when you create
60
68
  # a new origin.
61
69
  sig { returns(String) }
@@ -69,6 +77,7 @@ module Imagekitio
69
77
  name: String,
70
78
  prefix: String,
71
79
  base_url_for_canonical_header: String,
80
+ use_iam_role: T::Boolean,
72
81
  type: Symbol
73
82
  ).returns(T.attached_class)
74
83
  end
@@ -86,6 +95,9 @@ module Imagekitio
86
95
  prefix:,
87
96
  # URL used in the Canonical header (if enabled).
88
97
  base_url_for_canonical_header: nil,
98
+ # Whether the origin authenticates using an IAM role instead of access/secret
99
+ # keys.
100
+ use_iam_role: nil,
89
101
  type: :S3
90
102
  )
91
103
  end
@@ -99,7 +111,8 @@ module Imagekitio
99
111
  name: String,
100
112
  prefix: String,
101
113
  type: Symbol,
102
- base_url_for_canonical_header: String
114
+ base_url_for_canonical_header: String,
115
+ use_iam_role: T::Boolean
103
116
  }
104
117
  )
105
118
  end
@@ -244,6 +257,14 @@ module Imagekitio
244
257
  sig { params(base_url_for_canonical_header: String).void }
245
258
  attr_writer :base_url_for_canonical_header
246
259
 
260
+ # Whether the origin authenticates using an IAM role instead of access/secret
261
+ # keys.
262
+ sig { returns(T.nilable(T::Boolean)) }
263
+ attr_reader :use_iam_role
264
+
265
+ sig { params(use_iam_role: T::Boolean).void }
266
+ attr_writer :use_iam_role
267
+
247
268
  # Unique identifier for the origin. This is generated by ImageKit when you create
248
269
  # a new origin.
249
270
  sig { returns(String) }
@@ -257,6 +278,7 @@ module Imagekitio
257
278
  name: String,
258
279
  prefix: String,
259
280
  base_url_for_canonical_header: String,
281
+ use_iam_role: T::Boolean,
260
282
  type: Symbol
261
283
  ).returns(T.attached_class)
262
284
  end
@@ -274,6 +296,9 @@ module Imagekitio
274
296
  prefix:,
275
297
  # URL used in the Canonical header (if enabled).
276
298
  base_url_for_canonical_header: nil,
299
+ # Whether the origin authenticates using an IAM role instead of access/secret
300
+ # keys.
301
+ use_iam_role: nil,
277
302
  type: :CLOUDINARY_BACKUP
278
303
  )
279
304
  end
@@ -287,7 +312,8 @@ module Imagekitio
287
312
  name: String,
288
313
  prefix: String,
289
314
  type: Symbol,
290
- base_url_for_canonical_header: String
315
+ base_url_for_canonical_header: String,
316
+ use_iam_role: T::Boolean
291
317
  }
292
318
  )
293
319
  end
@@ -203,7 +203,7 @@ module Imagekitio
203
203
  #
204
204
  # - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray
205
205
  # color.
206
- # - `in-intensity` - Intensity of the color (0-100). Default is 35. See
206
+ # - `in-intensity` - Intensity of the color (0-100). Default is 100. See
207
207
  # [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize).
208
208
  sig { returns(T.nilable(String)) }
209
209
  attr_reader :colorize
@@ -804,7 +804,7 @@ module Imagekitio
804
804
  #
805
805
  # - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray
806
806
  # color.
807
- # - `in-intensity` - Intensity of the color (0-100). Default is 35. See
807
+ # - `in-intensity` - Intensity of the color (0-100). Default is 100. See
808
808
  # [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize).
809
809
  colorize: nil,
810
810
  # Indicates whether the output image should retain the original color profile. See
@@ -23,7 +23,8 @@ module Imagekitio
23
23
  type: :S3,
24
24
  base_url_for_canonical_header: String,
25
25
  include_canonical_header: bool,
26
- prefix: String
26
+ prefix: String,
27
+ use_iam_role: bool
27
28
  }
28
29
 
29
30
  class S3 < Imagekitio::Internal::Type::BaseModel
@@ -49,6 +50,10 @@ module Imagekitio
49
50
 
50
51
  def prefix=: (String) -> String
51
52
 
53
+ attr_reader use_iam_role: bool?
54
+
55
+ def use_iam_role=: (bool) -> bool
56
+
52
57
  def initialize: (
53
58
  access_key: String,
54
59
  bucket: String,
@@ -57,6 +62,7 @@ module Imagekitio
57
62
  ?base_url_for_canonical_header: String,
58
63
  ?include_canonical_header: bool,
59
64
  ?prefix: String,
65
+ ?use_iam_role: bool,
60
66
  ?type: :S3
61
67
  ) -> void
62
68
 
@@ -68,7 +74,8 @@ module Imagekitio
68
74
  type: :S3,
69
75
  base_url_for_canonical_header: String,
70
76
  include_canonical_header: bool,
71
- prefix: String
77
+ prefix: String,
78
+ use_iam_role: bool
72
79
  }
73
80
  end
74
81
 
@@ -151,7 +158,8 @@ module Imagekitio
151
158
  type: :CLOUDINARY_BACKUP,
152
159
  base_url_for_canonical_header: String,
153
160
  include_canonical_header: bool,
154
- prefix: String
161
+ prefix: String,
162
+ use_iam_role: bool
155
163
  }
156
164
 
157
165
  class CloudinaryBackup < Imagekitio::Internal::Type::BaseModel
@@ -177,6 +185,10 @@ module Imagekitio
177
185
 
178
186
  def prefix=: (String) -> String
179
187
 
188
+ attr_reader use_iam_role: bool?
189
+
190
+ def use_iam_role=: (bool) -> bool
191
+
180
192
  def initialize: (
181
193
  access_key: String,
182
194
  bucket: String,
@@ -185,6 +197,7 @@ module Imagekitio
185
197
  ?base_url_for_canonical_header: String,
186
198
  ?include_canonical_header: bool,
187
199
  ?prefix: String,
200
+ ?use_iam_role: bool,
188
201
  ?type: :CLOUDINARY_BACKUP
189
202
  ) -> void
190
203
 
@@ -196,7 +209,8 @@ module Imagekitio
196
209
  type: :CLOUDINARY_BACKUP,
197
210
  base_url_for_canonical_header: String,
198
211
  include_canonical_header: bool,
199
- prefix: String
212
+ prefix: String,
213
+ use_iam_role: bool
200
214
  }
201
215
  end
202
216
 
@@ -22,7 +22,8 @@ module Imagekitio
22
22
  name: String,
23
23
  prefix: String,
24
24
  type: :S3,
25
- base_url_for_canonical_header: String
25
+ base_url_for_canonical_header: String,
26
+ use_iam_role: bool
26
27
  }
27
28
 
28
29
  class S3 < Imagekitio::Internal::Type::BaseModel
@@ -40,6 +41,10 @@ module Imagekitio
40
41
 
41
42
  def base_url_for_canonical_header=: (String) -> String
42
43
 
44
+ attr_reader use_iam_role: bool?
45
+
46
+ def use_iam_role=: (bool) -> bool
47
+
43
48
  attr_accessor id: String
44
49
 
45
50
  def initialize: (
@@ -49,6 +54,7 @@ module Imagekitio
49
54
  name: String,
50
55
  prefix: String,
51
56
  ?base_url_for_canonical_header: String,
57
+ ?use_iam_role: bool,
52
58
  ?type: :S3
53
59
  ) -> void
54
60
 
@@ -59,7 +65,8 @@ module Imagekitio
59
65
  name: String,
60
66
  prefix: String,
61
67
  type: :S3,
62
- base_url_for_canonical_header: String
68
+ base_url_for_canonical_header: String,
69
+ use_iam_role: bool
63
70
  }
64
71
  end
65
72
 
@@ -130,7 +137,8 @@ module Imagekitio
130
137
  name: String,
131
138
  prefix: String,
132
139
  type: :CLOUDINARY_BACKUP,
133
- base_url_for_canonical_header: String
140
+ base_url_for_canonical_header: String,
141
+ use_iam_role: bool
134
142
  }
135
143
 
136
144
  class CloudinaryBackup < Imagekitio::Internal::Type::BaseModel
@@ -148,6 +156,10 @@ module Imagekitio
148
156
 
149
157
  def base_url_for_canonical_header=: (String) -> String
150
158
 
159
+ attr_reader use_iam_role: bool?
160
+
161
+ def use_iam_role=: (bool) -> bool
162
+
151
163
  attr_accessor id: String
152
164
 
153
165
  def initialize: (
@@ -157,6 +169,7 @@ module Imagekitio
157
169
  name: String,
158
170
  prefix: String,
159
171
  ?base_url_for_canonical_header: String,
172
+ ?use_iam_role: bool,
160
173
  ?type: :CLOUDINARY_BACKUP
161
174
  ) -> void
162
175
 
@@ -167,7 +180,8 @@ module Imagekitio
167
180
  name: String,
168
181
  prefix: String,
169
182
  type: :CLOUDINARY_BACKUP,
170
- base_url_for_canonical_header: String
183
+ base_url_for_canonical_header: String,
184
+ use_iam_role: bool
171
185
  }
172
186
  end
173
187
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagekitio
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ImageKit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-03 00:00:00.000000000 Z
11
+ date: 2026-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi