infisical-sdk 2.3.5 → 2.3.8
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 +4 -4
- data/lib/clients/secrets.rb +2 -0
- data/lib/extended_schemas/schemas.rb +38 -0
- data/lib/infisical-sdk.rb +1 -0
- 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/version.rb +1 -1
- data/lib/windows-x64/infisical_c.dll +0 -0
- data/sig/infisical_sdk/secrets_client.rbs +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0e691ce4b2c0e45a78924794e8ea8479c19e24227a6dec75a44536c1f2b6019
|
4
|
+
data.tar.gz: b29ccd2faf5afb1594d1a21bada02ce22227386c813a7023eddb26558baa401f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14ccca5d3ee69e14deb7efb2eaed6d30e7dc7569334b05c321e83176a9d2ebb5fbf00b4e8e560c309b5a512dfd970d333851d5368662c88a59691b93fb57113
|
7
|
+
data.tar.gz: aeaf409ea23e1b6cfd4649315706d119840dfe748b186ed7f5d08bf875f6e491c07a283e67d02689b287ea74b3576d4a86d914d16dae6a05f1f751d41b666233
|
data/lib/clients/secrets.rb
CHANGED
@@ -17,6 +17,7 @@ module InfisicalSDK
|
|
17
17
|
secret_name:,
|
18
18
|
project_id:,
|
19
19
|
environment:,
|
20
|
+
expand_secret_references: true,
|
20
21
|
path: nil,
|
21
22
|
include_imports: nil,
|
22
23
|
type: nil
|
@@ -28,6 +29,7 @@ module InfisicalSDK
|
|
28
29
|
environment: environment,
|
29
30
|
path: path,
|
30
31
|
include_imports: include_imports,
|
32
|
+
expand_secret_references: expand_secret_references,
|
31
33
|
get_secret_options_type: type
|
32
34
|
))
|
33
35
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module InfisicalSDK
|
2
|
+
# Command mapper
|
3
|
+
class InfisicalCommands < Command
|
4
|
+
attribute :get_secret, Types.Constructor(GetSecretOptions).optional.default(nil)
|
5
|
+
attribute :list_secrets, Types.Constructor(ListSecretsOptions).optional.default(nil)
|
6
|
+
attribute :create_secret, Types.Constructor(CreateSecretOptions).optional.default(nil)
|
7
|
+
attribute :update_secret, Types.Constructor(UpdateSecretOptions).optional.default(nil)
|
8
|
+
attribute :delete_secret, Types.Constructor(DeleteSecretOptions).optional.default(nil)
|
9
|
+
attribute :create_symmetric_key, Types.Constructor(ArbitraryOptions).optional.default(nil)
|
10
|
+
attribute :encrypt_symmetric, Types.Constructor(EncryptSymmetricOptions).optional.default(nil)
|
11
|
+
attribute :decrypt_symmetric, Types.Constructor(DecryptSymmetricOptions).optional.default(nil)
|
12
|
+
attribute :universal_auth_login, Types.Constructor(UniversalAuthLoginClass).optional.default(nil)
|
13
|
+
attribute :kubernetes_auth_login, Types.Constructor(KubernetesAuthLoginClass).optional.default(nil)
|
14
|
+
attribute :azure_auth_login, Types.Constructor(AzureAuthLoginClass).optional.default(nil)
|
15
|
+
attribute :gcp_id_token_auth_login, Types.Constructor(GcpIDTokenAuthLoginClass).optional.default(nil)
|
16
|
+
attribute :gcp_iam_auth_login, Types.Constructor(GcpIamAuthLoginClass).optional.default(nil)
|
17
|
+
attribute :aws_iam_auth_login, Types.Constructor(AwsIamAuthLoginClass).optional.default(nil)
|
18
|
+
|
19
|
+
def to_dynamic
|
20
|
+
{
|
21
|
+
"getSecret" => get_secret&.to_dynamic,
|
22
|
+
"listSecrets" => list_secrets&.to_dynamic,
|
23
|
+
"createSecret" => create_secret&.to_dynamic,
|
24
|
+
"updateSecret" => update_secret&.to_dynamic,
|
25
|
+
"deleteSecret" => delete_secret&.to_dynamic,
|
26
|
+
"createSymmetricKey" => create_symmetric_key&.to_dynamic,
|
27
|
+
"encryptSymmetric" => encrypt_symmetric&.to_dynamic,
|
28
|
+
"decryptSymmetric" => decrypt_symmetric&.to_dynamic,
|
29
|
+
"universalAuthLogin" => universal_auth_login&.to_dynamic,
|
30
|
+
"kubernetesAuthLogin" => kubernetes_auth_login&.to_dynamic,
|
31
|
+
"azureAuthLogin" => azure_auth_login&.to_dynamic,
|
32
|
+
"gcpIdTokenAuthLogin" => gcp_id_token_auth_login&.to_dynamic,
|
33
|
+
"gcpIamAuthLogin" => gcp_iam_auth_login&.to_dynamic,
|
34
|
+
"awsIamAuthLogin" => aws_iam_auth_login&.to_dynamic,
|
35
|
+
}.compact
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/infisical-sdk.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.3.
|
4
|
+
version: 2.3.8
|
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-
|
11
|
+
date: 2024-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- lib/clients/cryptography.rb
|
109
109
|
- lib/clients/secrets.rb
|
110
110
|
- lib/command_runner.rb
|
111
|
+
- lib/extended_schemas/schemas.rb
|
111
112
|
- lib/infisical-sdk.rb
|
112
113
|
- lib/infisical_error.rb
|
113
114
|
- lib/infisical_lib.rb
|