infisical-sdk 2.2.9 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linux-arm64/libinfisical_c.so +0 -0
- data/lib/linux-x64/libinfisical_c.so +0 -0
- data/lib/macos-arm64/libinfisical_c.dylib +0 -0
- data/lib/macos-x64/libinfisical_c.dylib +0 -0
- data/lib/schemas.rb +22 -14
- data/lib/version.rb +1 -1
- data/lib/windows-x64/infisical_c.dll +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 631a8d8f205037d27e93e742be97f1f26f6be52b7bb3f033329f684cbe841603
|
4
|
+
data.tar.gz: ff0bfcd3d7f95575ff2f1bf5f2cc15da52b78cbf972e687856600009103f00cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3300ea068deb6069a4e048207aeb35d431c8391d09c249c561522392939158175be8e6d78d3ef17e6d39f25fea3af77d21f2c648f65a9618e2798abd3d3c424
|
7
|
+
data.tar.gz: e3667b1d1d86b27d23312edf236ed9e484615a460dd302444d3d0683fdc538343f8de355ace58b310ba70c044e51106256af248528c71b131563cbbe0ec6ebd1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/schemas.rb
CHANGED
@@ -300,18 +300,25 @@ class ClientSettings < Dry::Struct
|
|
300
300
|
# The URL of the site to connect to. Defaults to "https://app.infisical.com".
|
301
301
|
attribute :site_url, Types::String.optional.optional
|
302
302
|
|
303
|
+
# The SSL certificate path is an optional field that allows you to specify a custom SSL
|
304
|
+
# certificate to use for requests made to Infisical.
|
305
|
+
# This option can be substituted with the `INFISICAL_SSL_CERTIFICATE` environment variable,
|
306
|
+
# which should contain the certificate as a string, not the path.
|
307
|
+
attribute :ssl_certificate_path, Types::String.optional.optional
|
308
|
+
|
303
309
|
attribute :user_agent, Types::String.optional.optional
|
304
310
|
|
305
311
|
def self.from_dynamic!(d)
|
306
312
|
d = Types::Hash[d]
|
307
313
|
new(
|
308
|
-
access_token:
|
309
|
-
auth:
|
310
|
-
cache_ttl:
|
311
|
-
client_id:
|
312
|
-
client_secret:
|
313
|
-
site_url:
|
314
|
-
|
314
|
+
access_token: d["accessToken"],
|
315
|
+
auth: d["auth"] ? AuthenticationOptions.from_dynamic!(d["auth"]) : nil,
|
316
|
+
cache_ttl: d["cacheTtl"],
|
317
|
+
client_id: d["clientId"],
|
318
|
+
client_secret: d["clientSecret"],
|
319
|
+
site_url: d["siteUrl"],
|
320
|
+
ssl_certificate_path: d["sslCertificatePath"],
|
321
|
+
user_agent: d["userAgent"],
|
315
322
|
)
|
316
323
|
end
|
317
324
|
|
@@ -321,13 +328,14 @@ class ClientSettings < Dry::Struct
|
|
321
328
|
|
322
329
|
def to_dynamic
|
323
330
|
{
|
324
|
-
"accessToken"
|
325
|
-
"auth"
|
326
|
-
"cacheTtl"
|
327
|
-
"clientId"
|
328
|
-
"clientSecret"
|
329
|
-
"siteUrl"
|
330
|
-
"
|
331
|
+
"accessToken" => access_token,
|
332
|
+
"auth" => auth&.to_dynamic,
|
333
|
+
"cacheTtl" => cache_ttl,
|
334
|
+
"clientId" => client_id,
|
335
|
+
"clientSecret" => client_secret,
|
336
|
+
"siteUrl" => site_url,
|
337
|
+
"sslCertificatePath" => ssl_certificate_path,
|
338
|
+
"userAgent" => user_agent,
|
331
339
|
}
|
332
340
|
end
|
333
341
|
|
data/lib/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infisical-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infisical Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|