mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
Update ruby.mdx
This commit is contained in:
@@ -48,7 +48,7 @@ Import the SDK and create a client instance.
|
|||||||
infisical = InfisicalSDK::InfisicalClient.new('https://app.infisical.com') # Optional parameter, default is https://api.infisical.com
|
infisical = InfisicalSDK::InfisicalClient.new('https://app.infisical.com') # Optional parameter, default is https://api.infisical.com
|
||||||
```
|
```
|
||||||
|
|
||||||
### ClientSettings methods
|
### Client parameters
|
||||||
|
|
||||||
<ParamField query="options" type="object">
|
<ParamField query="options" type="object">
|
||||||
<Expandable title="properties">
|
<Expandable title="properties">
|
||||||
@@ -60,7 +60,6 @@ infisical = InfisicalSDK::InfisicalClient.new('https://app.infisical.com') # Opt
|
|||||||
How long the client should cache secrets for. Default is 5 minutes. Disable by setting to 0.
|
How long the client should cache secrets for. Default is 5 minutes. Disable by setting to 0.
|
||||||
</ParamField>
|
</ParamField>
|
||||||
</Expandable>
|
</Expandable>
|
||||||
|
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
@@ -386,7 +385,7 @@ key = infisical.cryptography.create_symmetric_key
|
|||||||
encrypted_data = infisical.cryptography.encrypt_symmetric(data: "Hello World!", key: key)
|
encrypted_data = infisical.cryptography.encrypt_symmetric(data: "Hello World!", key: key)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Methods
|
#### Parameters
|
||||||
|
|
||||||
<ParamField query="Parameters" type="object" required>
|
<ParamField query="Parameters" type="object" required>
|
||||||
<Expandable title="properties">
|
<Expandable title="properties">
|
||||||
@@ -415,7 +414,7 @@ decrypted_data = infisical.cryptography.decrypt_symmetric(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Methods
|
#### Parameters
|
||||||
<ParamField query="Parameters" type="object" required>
|
<ParamField query="Parameters" type="object" required>
|
||||||
<Expandable title="properties">
|
<Expandable title="properties">
|
||||||
<ParamField query="ciphertext" type="string">
|
<ParamField query="ciphertext" type="string">
|
||||||
|
|||||||
Reference in New Issue
Block a user