infisical-sdk 2.2.9 → 2.3.1
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: f5f6c8f7b1eb85f7d5e07f2afa6d013f72f39377358dd368f5261d947e27a519
|
4
|
+
data.tar.gz: b6ebe62ba77d9d06f9ffed84e7ba5e41713c08bb0188c6c909674137bccc410b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be5c2bfbf66889beeab8f67436eb92ac5a7a975cd83f25bf9202c40520349529d6b66bb4da3dce738e202e3beba727da81338f92703080ae9839607815be0c12
|
7
|
+
data.tar.gz: 1268c4b9e7c84b8b2367c7a930f332ff4b2843fc02377c5caed35b0814cd1e6c2e4dd181e5a7fd32fb6733a0d6054f7da6e05997813719eb1c00c95314e29a38
|
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.1
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|