akeyless 5.0.6 → 5.0.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/README.md +14 -1
- data/docs/Auth.md +4 -0
- data/docs/AuthOutput.md +2 -0
- data/docs/AzureLogAnalyticsForwardingConfig.md +2 -0
- data/docs/CertificateTemplateInfo.md +2 -0
- data/docs/CreateClassicKey.md +3 -1
- data/docs/CreateDFCKey.md +3 -1
- data/docs/CreateKey.md +3 -1
- data/docs/CreateRole.md +2 -0
- data/docs/GatewayCreateAllowedAccess.md +1 -1
- data/docs/GatewayUpdateAllowedAccess.md +1 -1
- data/docs/GatewayUpdateLogForwardingAzureAnalytics.md +2 -0
- data/docs/GatewayUpdateLogForwardingSplunk.md +2 -0
- data/docs/GeminiTargetDetails.md +22 -0
- data/docs/GenerateCsr.md +2 -0
- data/docs/GetCertChallenge.md +22 -0
- data/docs/GetCertChallengeOutput.md +18 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +2 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +2 -0
- data/docs/OpenAITargetDetails.md +26 -0
- data/docs/PathRule.md +2 -0
- data/docs/ReverseRBACClient.md +2 -0
- data/docs/RoleAuthMethodAssociation.md +2 -0
- data/docs/SharingItemFullInfo.md +2 -0
- data/docs/SplunkLogForwardingConfig.md +2 -0
- data/docs/StaticSecretSync.md +2 -0
- data/docs/TargetCreateGemini.md +36 -0
- data/docs/TargetCreateOpenAI.md +40 -0
- data/docs/TargetItemAssociation.md +2 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateGemini.md +42 -0
- data/docs/TargetUpdateOpenAI.md +46 -0
- data/docs/UpdateRole.md +2 -0
- data/docs/V2Api.md +315 -0
- data/lib/akeyless/api/v2_api.rb +320 -0
- data/lib/akeyless/models/auth.rb +21 -1
- data/lib/akeyless/models/auth_output.rb +10 -1
- data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +10 -1
- data/lib/akeyless/models/certificate_template_info.rb +10 -1
- data/lib/akeyless/models/create_classic_key.rb +14 -2
- data/lib/akeyless/models/create_dfc_key.rb +14 -2
- data/lib/akeyless/models/create_key.rb +14 -2
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_update_log_forwarding_azure_analytics.rb +13 -1
- data/lib/akeyless/models/gateway_update_log_forwarding_splunk.rb +13 -1
- data/lib/akeyless/models/gemini_target_details.rb +233 -0
- data/lib/akeyless/models/generate_csr.rb +13 -1
- data/lib/akeyless/models/get_cert_challenge.rb +238 -0
- data/lib/akeyless/models/get_cert_challenge_output.rb +214 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +13 -1
- data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +13 -1
- data/lib/akeyless/models/open_ai_target_details.rb +251 -0
- data/lib/akeyless/models/path_rule.rb +11 -1
- data/lib/akeyless/models/reverse_rbac_client.rb +10 -1
- data/lib/akeyless/models/role_auth_method_association.rb +10 -1
- data/lib/akeyless/models/sharing_item_full_info.rb +11 -1
- data/lib/akeyless/models/splunk_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/static_secret_sync.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +317 -0
- data/lib/akeyless/models/target_create_open_ai.rb +337 -0
- data/lib/akeyless/models/target_item_association.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_gemini.rb +351 -0
- data/lib/akeyless/models/target_update_open_ai.rb +371 -0
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -0
- data/spec/models/gemini_target_details_spec.rb +48 -0
- data/spec/models/get_cert_challenge_output_spec.rb +36 -0
- data/spec/models/get_cert_challenge_spec.rb +48 -0
- data/spec/models/open_ai_target_details_spec.rb +60 -0
- data/spec/models/target_create_gemini_spec.rb +90 -0
- data/spec/models/target_create_open_ai_spec.rb +102 -0
- data/spec/models/target_update_gemini_spec.rb +108 -0
- data/spec/models/target_update_open_ai_spec.rb +120 -0
- metadata +33 -1
@@ -0,0 +1,40 @@
|
|
1
|
+
# Akeyless::TargetCreateOpenAI
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_key** | **String** | API key for OpenAI | [optional] |
|
8
|
+
| **api_key_id** | **String** | API key ID | [optional] |
|
9
|
+
| **description** | **String** | Description of the object | [optional] |
|
10
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
11
|
+
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
12
|
+
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
13
|
+
| **model** | **String** | Default model to use with OpenAI | [optional] |
|
14
|
+
| **name** | **String** | Target name | |
|
15
|
+
| **openai_url** | **String** | Base URL of the OpenAI API | [optional][default to 'https://api.openai.com/v1'] |
|
16
|
+
| **organization_id** | **String** | Organization ID | [optional] |
|
17
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
18
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'akeyless'
|
24
|
+
|
25
|
+
instance = Akeyless::TargetCreateOpenAI.new(
|
26
|
+
api_key: null,
|
27
|
+
api_key_id: null,
|
28
|
+
description: null,
|
29
|
+
json: null,
|
30
|
+
key: null,
|
31
|
+
max_versions: null,
|
32
|
+
model: null,
|
33
|
+
name: null,
|
34
|
+
openai_url: null,
|
35
|
+
organization_id: null,
|
36
|
+
token: null,
|
37
|
+
uid_token: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **assoc_id** | **String** | | [optional] |
|
8
8
|
| **attributes** | **Hash<String, String>** | | [optional] |
|
9
9
|
| **cluster_id** | **Integer** | | [optional] |
|
10
|
+
| **item_id** | **Integer** | | [optional] |
|
10
11
|
| **item_name** | **String** | | [optional] |
|
11
12
|
| **item_type** | **String** | | [optional] |
|
12
13
|
| **relationship** | **String** | | [optional] |
|
@@ -20,6 +21,7 @@ instance = Akeyless::TargetItemAssociation.new(
|
|
20
21
|
assoc_id: null,
|
21
22
|
attributes: null,
|
22
23
|
cluster_id: null,
|
24
|
+
item_id: null,
|
23
25
|
item_name: null,
|
24
26
|
item_type: null,
|
25
27
|
relationship: null
|
@@ -13,6 +13,7 @@
|
|
13
13
|
| **dockerhub_target_details** | [**DockerhubTargetDetails**](DockerhubTargetDetails.md) | | [optional] |
|
14
14
|
| **eks_target_details** | [**EKSTargetDetails**](EKSTargetDetails.md) | | [optional] |
|
15
15
|
| **gcp_target_details** | [**GcpTargetDetails**](GcpTargetDetails.md) | | [optional] |
|
16
|
+
| **gemini_target_details** | [**GeminiTargetDetails**](GeminiTargetDetails.md) | | [optional] |
|
16
17
|
| **github_target_details** | [**GithubTargetDetails**](GithubTargetDetails.md) | | [optional] |
|
17
18
|
| **gitlab_target_details** | [**GitlabTargetDetails**](GitlabTargetDetails.md) | | [optional] |
|
18
19
|
| **gke_target_details** | [**GKETargetDetails**](GKETargetDetails.md) | | [optional] |
|
@@ -24,6 +25,7 @@
|
|
24
25
|
| **linked_target_details** | [**LinkedTargetDetails**](LinkedTargetDetails.md) | | [optional] |
|
25
26
|
| **mongo_db_target_details** | [**MongoDBTargetDetails**](MongoDBTargetDetails.md) | | [optional] |
|
26
27
|
| **native_k8s_target_details** | [**NativeK8sTargetDetails**](NativeK8sTargetDetails.md) | | [optional] |
|
28
|
+
| **openai_target_details** | [**OpenAITargetDetails**](OpenAITargetDetails.md) | | [optional] |
|
27
29
|
| **ping_target_details** | [**PingTargetDetails**](PingTargetDetails.md) | | [optional] |
|
28
30
|
| **rabbit_mq_target_details** | [**RabbitMQTargetDetails**](RabbitMQTargetDetails.md) | | [optional] |
|
29
31
|
| **salesforce_target_details** | [**SalesforceTargetDetails**](SalesforceTargetDetails.md) | | [optional] |
|
@@ -49,6 +51,7 @@ instance = Akeyless::TargetTypeDetailsInput.new(
|
|
49
51
|
dockerhub_target_details: null,
|
50
52
|
eks_target_details: null,
|
51
53
|
gcp_target_details: null,
|
54
|
+
gemini_target_details: null,
|
52
55
|
github_target_details: null,
|
53
56
|
gitlab_target_details: null,
|
54
57
|
gke_target_details: null,
|
@@ -60,6 +63,7 @@ instance = Akeyless::TargetTypeDetailsInput.new(
|
|
60
63
|
linked_target_details: null,
|
61
64
|
mongo_db_target_details: null,
|
62
65
|
native_k8s_target_details: null,
|
66
|
+
openai_target_details: null,
|
63
67
|
ping_target_details: null,
|
64
68
|
rabbit_mq_target_details: null,
|
65
69
|
salesforce_target_details: null,
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Akeyless::TargetUpdateGemini
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_key** | **String** | API key for Gemini | [optional] |
|
8
|
+
| **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
|
9
|
+
| **gemini_url** | **String** | Base URL of the Gemini API | [optional][default to 'https://generativelanguage.googleapis.com'] |
|
10
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
11
|
+
| **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
|
12
|
+
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
13
|
+
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
14
|
+
| **model** | **String** | Default model to use with Gemini | [optional] |
|
15
|
+
| **name** | **String** | Target name | |
|
16
|
+
| **new_comment** | **String** | Deprecated - use description | [optional][default to 'default_comment'] |
|
17
|
+
| **new_name** | **String** | New target name | [optional] |
|
18
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
19
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'akeyless'
|
25
|
+
|
26
|
+
instance = Akeyless::TargetUpdateGemini.new(
|
27
|
+
api_key: null,
|
28
|
+
description: null,
|
29
|
+
gemini_url: null,
|
30
|
+
json: null,
|
31
|
+
keep_prev_version: null,
|
32
|
+
key: null,
|
33
|
+
max_versions: null,
|
34
|
+
model: null,
|
35
|
+
name: null,
|
36
|
+
new_comment: null,
|
37
|
+
new_name: null,
|
38
|
+
token: null,
|
39
|
+
uid_token: null
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Akeyless::TargetUpdateOpenAI
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_key** | **String** | API key for OpenAI | [optional] |
|
8
|
+
| **api_key_id** | **String** | API key ID | [optional] |
|
9
|
+
| **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
|
10
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
11
|
+
| **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
|
12
|
+
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
13
|
+
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
14
|
+
| **model** | **String** | Default model to use with OpenAI | [optional] |
|
15
|
+
| **name** | **String** | Target name | |
|
16
|
+
| **new_comment** | **String** | Deprecated - use description | [optional][default to 'default_comment'] |
|
17
|
+
| **new_name** | **String** | New target name | [optional] |
|
18
|
+
| **openai_url** | **String** | Base URL of the OpenAI API | [optional][default to 'https://api.openai.com/v1'] |
|
19
|
+
| **organization_id** | **String** | Organization ID | [optional] |
|
20
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
21
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'akeyless'
|
27
|
+
|
28
|
+
instance = Akeyless::TargetUpdateOpenAI.new(
|
29
|
+
api_key: null,
|
30
|
+
api_key_id: null,
|
31
|
+
description: null,
|
32
|
+
json: null,
|
33
|
+
keep_prev_version: null,
|
34
|
+
key: null,
|
35
|
+
max_versions: null,
|
36
|
+
model: null,
|
37
|
+
name: null,
|
38
|
+
new_comment: null,
|
39
|
+
new_name: null,
|
40
|
+
openai_url: null,
|
41
|
+
organization_id: null,
|
42
|
+
token: null,
|
43
|
+
uid_token: null
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|
data/docs/UpdateRole.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
| **name** | **String** | Role name | |
|
16
16
|
| **new_comment** | **String** | Deprecated - use description | [optional][default to 'default_comment'] |
|
17
17
|
| **new_name** | **String** | New Role name | [optional] |
|
18
|
+
| **reverse_rbac_access** | **String** | Allow this role to view Reverse RBAC. Supported values: 'own', 'all'. | [optional] |
|
18
19
|
| **sra_reports_access** | **String** | Allow this role to view SRA Clusters. Currently only 'none', 'own', 'all' values are supported. | [optional] |
|
19
20
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
20
21
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -37,6 +38,7 @@ instance = Akeyless::UpdateRole.new(
|
|
37
38
|
name: null,
|
38
39
|
new_comment: null,
|
39
40
|
new_name: null,
|
41
|
+
reverse_rbac_access: null,
|
40
42
|
sra_reports_access: null,
|
41
43
|
token: null,
|
42
44
|
uid_token: null,
|
data/docs/V2Api.md
CHANGED
@@ -320,6 +320,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
320
320
|
| [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
|
321
321
|
| [**get_analytics_data**](V2Api.md#get_analytics_data) | **POST** /get-analytics-data | |
|
322
322
|
| [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
|
323
|
+
| [**get_cert_challenge**](V2Api.md#get_cert_challenge) | **POST** /get-cert-challenge | |
|
323
324
|
| [**get_certificate_value**](V2Api.md#get_certificate_value) | **POST** /get-certificate-value | |
|
324
325
|
| [**get_dynamic_secret_value**](V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value | |
|
325
326
|
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
@@ -447,6 +448,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
447
448
|
| [**target_create_dockerhub**](V2Api.md#target_create_dockerhub) | **POST** /target-create-dockerhub | |
|
448
449
|
| [**target_create_eks**](V2Api.md#target_create_eks) | **POST** /target-create-eks | |
|
449
450
|
| [**target_create_gcp**](V2Api.md#target_create_gcp) | **POST** /target-create-gcp | |
|
451
|
+
| [**target_create_gemini**](V2Api.md#target_create_gemini) | **POST** /target-create-gemini | |
|
450
452
|
| [**target_create_github**](V2Api.md#target_create_github) | **POST** /target-create-github | |
|
451
453
|
| [**target_create_gitlab**](V2Api.md#target_create_gitlab) | **POST** /target-create-gitlab | |
|
452
454
|
| [**target_create_gke**](V2Api.md#target_create_gke) | **POST** /target-create-gke | |
|
@@ -457,6 +459,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
457
459
|
| [**target_create_k8s**](V2Api.md#target_create_k8s) | **POST** /target-create-k8s | |
|
458
460
|
| [**target_create_ldap**](V2Api.md#target_create_ldap) | **POST** /target-create-ldap | |
|
459
461
|
| [**target_create_linked**](V2Api.md#target_create_linked) | **POST** /target-create-linked | |
|
462
|
+
| [**target_create_open_ai**](V2Api.md#target_create_open_ai) | **POST** /target-create-openai | |
|
460
463
|
| [**target_create_ping**](V2Api.md#target_create_ping) | **POST** /target-create-ping | |
|
461
464
|
| [**target_create_rabbit_mq**](V2Api.md#target_create_rabbit_mq) | **POST** /target-create-rabbitmq | |
|
462
465
|
| [**target_create_salesforce**](V2Api.md#target_create_salesforce) | **POST** /target-create-salesforce | |
|
@@ -476,6 +479,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
476
479
|
| [**target_update_dockerhub**](V2Api.md#target_update_dockerhub) | **POST** /target-update-dockerhub | |
|
477
480
|
| [**target_update_eks**](V2Api.md#target_update_eks) | **POST** /target-update-eks | |
|
478
481
|
| [**target_update_gcp**](V2Api.md#target_update_gcp) | **POST** /target-update-gcp | |
|
482
|
+
| [**target_update_gemini**](V2Api.md#target_update_gemini) | **POST** /target-update-gemini | |
|
479
483
|
| [**target_update_github**](V2Api.md#target_update_github) | **POST** /target-update-github | |
|
480
484
|
| [**target_update_gitlab**](V2Api.md#target_update_gitlab) | **POST** /target-update-gitlab | |
|
481
485
|
| [**target_update_gke**](V2Api.md#target_update_gke) | **POST** /target-update-gke | |
|
@@ -486,6 +490,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
486
490
|
| [**target_update_k8s**](V2Api.md#target_update_k8s) | **POST** /target-update-k8s | |
|
487
491
|
| [**target_update_ldap**](V2Api.md#target_update_ldap) | **POST** /target-update-ldap | |
|
488
492
|
| [**target_update_linked**](V2Api.md#target_update_linked) | **POST** /target-update-linked | |
|
493
|
+
| [**target_update_open_ai**](V2Api.md#target_update_open_ai) | **POST** /target-update-openai | |
|
489
494
|
| [**target_update_ping**](V2Api.md#target_update_ping) | **POST** /target-update-ping | |
|
490
495
|
| [**target_update_rabbit_mq**](V2Api.md#target_update_rabbit_mq) | **POST** /target-update-rabbitmq | |
|
491
496
|
| [**target_update_salesforce**](V2Api.md#target_update_salesforce) | **POST** /target-update-salesforce | |
|
@@ -20172,6 +20177,68 @@ No authorization required
|
|
20172
20177
|
- **Accept**: application/json
|
20173
20178
|
|
20174
20179
|
|
20180
|
+
## get_cert_challenge
|
20181
|
+
|
20182
|
+
> <GetCertChallengeOutput> get_cert_challenge(get_cert_challenge)
|
20183
|
+
|
20184
|
+
|
20185
|
+
|
20186
|
+
### Examples
|
20187
|
+
|
20188
|
+
```ruby
|
20189
|
+
require 'time'
|
20190
|
+
require 'akeyless'
|
20191
|
+
|
20192
|
+
api_instance = Akeyless::V2Api.new
|
20193
|
+
get_cert_challenge = Akeyless::GetCertChallenge.new # GetCertChallenge |
|
20194
|
+
|
20195
|
+
begin
|
20196
|
+
|
20197
|
+
result = api_instance.get_cert_challenge(get_cert_challenge)
|
20198
|
+
p result
|
20199
|
+
rescue Akeyless::ApiError => e
|
20200
|
+
puts "Error when calling V2Api->get_cert_challenge: #{e}"
|
20201
|
+
end
|
20202
|
+
```
|
20203
|
+
|
20204
|
+
#### Using the get_cert_challenge_with_http_info variant
|
20205
|
+
|
20206
|
+
This returns an Array which contains the response data, status code and headers.
|
20207
|
+
|
20208
|
+
> <Array(<GetCertChallengeOutput>, Integer, Hash)> get_cert_challenge_with_http_info(get_cert_challenge)
|
20209
|
+
|
20210
|
+
```ruby
|
20211
|
+
begin
|
20212
|
+
|
20213
|
+
data, status_code, headers = api_instance.get_cert_challenge_with_http_info(get_cert_challenge)
|
20214
|
+
p status_code # => 2xx
|
20215
|
+
p headers # => { ... }
|
20216
|
+
p data # => <GetCertChallengeOutput>
|
20217
|
+
rescue Akeyless::ApiError => e
|
20218
|
+
puts "Error when calling V2Api->get_cert_challenge_with_http_info: #{e}"
|
20219
|
+
end
|
20220
|
+
```
|
20221
|
+
|
20222
|
+
### Parameters
|
20223
|
+
|
20224
|
+
| Name | Type | Description | Notes |
|
20225
|
+
| ---- | ---- | ----------- | ----- |
|
20226
|
+
| **get_cert_challenge** | [**GetCertChallenge**](GetCertChallenge.md) | | |
|
20227
|
+
|
20228
|
+
### Return type
|
20229
|
+
|
20230
|
+
[**GetCertChallengeOutput**](GetCertChallengeOutput.md)
|
20231
|
+
|
20232
|
+
### Authorization
|
20233
|
+
|
20234
|
+
No authorization required
|
20235
|
+
|
20236
|
+
### HTTP request headers
|
20237
|
+
|
20238
|
+
- **Content-Type**: application/json
|
20239
|
+
- **Accept**: application/json
|
20240
|
+
|
20241
|
+
|
20175
20242
|
## get_certificate_value
|
20176
20243
|
|
20177
20244
|
> <GetCertificateValueOutput> get_certificate_value(get_certificate_value)
|
@@ -28067,6 +28134,68 @@ No authorization required
|
|
28067
28134
|
- **Accept**: application/json
|
28068
28135
|
|
28069
28136
|
|
28137
|
+
## target_create_gemini
|
28138
|
+
|
28139
|
+
> <TargetCreateOutput> target_create_gemini(target_create_gemini)
|
28140
|
+
|
28141
|
+
|
28142
|
+
|
28143
|
+
### Examples
|
28144
|
+
|
28145
|
+
```ruby
|
28146
|
+
require 'time'
|
28147
|
+
require 'akeyless'
|
28148
|
+
|
28149
|
+
api_instance = Akeyless::V2Api.new
|
28150
|
+
target_create_gemini = Akeyless::TargetCreateGemini.new({name: 'name_example'}) # TargetCreateGemini |
|
28151
|
+
|
28152
|
+
begin
|
28153
|
+
|
28154
|
+
result = api_instance.target_create_gemini(target_create_gemini)
|
28155
|
+
p result
|
28156
|
+
rescue Akeyless::ApiError => e
|
28157
|
+
puts "Error when calling V2Api->target_create_gemini: #{e}"
|
28158
|
+
end
|
28159
|
+
```
|
28160
|
+
|
28161
|
+
#### Using the target_create_gemini_with_http_info variant
|
28162
|
+
|
28163
|
+
This returns an Array which contains the response data, status code and headers.
|
28164
|
+
|
28165
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_gemini_with_http_info(target_create_gemini)
|
28166
|
+
|
28167
|
+
```ruby
|
28168
|
+
begin
|
28169
|
+
|
28170
|
+
data, status_code, headers = api_instance.target_create_gemini_with_http_info(target_create_gemini)
|
28171
|
+
p status_code # => 2xx
|
28172
|
+
p headers # => { ... }
|
28173
|
+
p data # => <TargetCreateOutput>
|
28174
|
+
rescue Akeyless::ApiError => e
|
28175
|
+
puts "Error when calling V2Api->target_create_gemini_with_http_info: #{e}"
|
28176
|
+
end
|
28177
|
+
```
|
28178
|
+
|
28179
|
+
### Parameters
|
28180
|
+
|
28181
|
+
| Name | Type | Description | Notes |
|
28182
|
+
| ---- | ---- | ----------- | ----- |
|
28183
|
+
| **target_create_gemini** | [**TargetCreateGemini**](TargetCreateGemini.md) | | |
|
28184
|
+
|
28185
|
+
### Return type
|
28186
|
+
|
28187
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
28188
|
+
|
28189
|
+
### Authorization
|
28190
|
+
|
28191
|
+
No authorization required
|
28192
|
+
|
28193
|
+
### HTTP request headers
|
28194
|
+
|
28195
|
+
- **Content-Type**: application/json
|
28196
|
+
- **Accept**: application/json
|
28197
|
+
|
28198
|
+
|
28070
28199
|
## target_create_github
|
28071
28200
|
|
28072
28201
|
> <TargetCreateOutput> target_create_github(target_create_github)
|
@@ -28687,6 +28816,68 @@ No authorization required
|
|
28687
28816
|
- **Accept**: application/json
|
28688
28817
|
|
28689
28818
|
|
28819
|
+
## target_create_open_ai
|
28820
|
+
|
28821
|
+
> <TargetCreateOutput> target_create_open_ai(target_create_open_ai)
|
28822
|
+
|
28823
|
+
|
28824
|
+
|
28825
|
+
### Examples
|
28826
|
+
|
28827
|
+
```ruby
|
28828
|
+
require 'time'
|
28829
|
+
require 'akeyless'
|
28830
|
+
|
28831
|
+
api_instance = Akeyless::V2Api.new
|
28832
|
+
target_create_open_ai = Akeyless::TargetCreateOpenAI.new({name: 'name_example'}) # TargetCreateOpenAI |
|
28833
|
+
|
28834
|
+
begin
|
28835
|
+
|
28836
|
+
result = api_instance.target_create_open_ai(target_create_open_ai)
|
28837
|
+
p result
|
28838
|
+
rescue Akeyless::ApiError => e
|
28839
|
+
puts "Error when calling V2Api->target_create_open_ai: #{e}"
|
28840
|
+
end
|
28841
|
+
```
|
28842
|
+
|
28843
|
+
#### Using the target_create_open_ai_with_http_info variant
|
28844
|
+
|
28845
|
+
This returns an Array which contains the response data, status code and headers.
|
28846
|
+
|
28847
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_open_ai_with_http_info(target_create_open_ai)
|
28848
|
+
|
28849
|
+
```ruby
|
28850
|
+
begin
|
28851
|
+
|
28852
|
+
data, status_code, headers = api_instance.target_create_open_ai_with_http_info(target_create_open_ai)
|
28853
|
+
p status_code # => 2xx
|
28854
|
+
p headers # => { ... }
|
28855
|
+
p data # => <TargetCreateOutput>
|
28856
|
+
rescue Akeyless::ApiError => e
|
28857
|
+
puts "Error when calling V2Api->target_create_open_ai_with_http_info: #{e}"
|
28858
|
+
end
|
28859
|
+
```
|
28860
|
+
|
28861
|
+
### Parameters
|
28862
|
+
|
28863
|
+
| Name | Type | Description | Notes |
|
28864
|
+
| ---- | ---- | ----------- | ----- |
|
28865
|
+
| **target_create_open_ai** | [**TargetCreateOpenAI**](TargetCreateOpenAI.md) | | |
|
28866
|
+
|
28867
|
+
### Return type
|
28868
|
+
|
28869
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
28870
|
+
|
28871
|
+
### Authorization
|
28872
|
+
|
28873
|
+
No authorization required
|
28874
|
+
|
28875
|
+
### HTTP request headers
|
28876
|
+
|
28877
|
+
- **Content-Type**: application/json
|
28878
|
+
- **Accept**: application/json
|
28879
|
+
|
28880
|
+
|
28690
28881
|
## target_create_ping
|
28691
28882
|
|
28692
28883
|
> <TargetCreateOutput> target_create_ping(target_create_ping)
|
@@ -29865,6 +30056,68 @@ No authorization required
|
|
29865
30056
|
- **Accept**: application/json
|
29866
30057
|
|
29867
30058
|
|
30059
|
+
## target_update_gemini
|
30060
|
+
|
30061
|
+
> <TargetUpdateOutput> target_update_gemini(target_update_gemini)
|
30062
|
+
|
30063
|
+
|
30064
|
+
|
30065
|
+
### Examples
|
30066
|
+
|
30067
|
+
```ruby
|
30068
|
+
require 'time'
|
30069
|
+
require 'akeyless'
|
30070
|
+
|
30071
|
+
api_instance = Akeyless::V2Api.new
|
30072
|
+
target_update_gemini = Akeyless::TargetUpdateGemini.new({name: 'name_example'}) # TargetUpdateGemini |
|
30073
|
+
|
30074
|
+
begin
|
30075
|
+
|
30076
|
+
result = api_instance.target_update_gemini(target_update_gemini)
|
30077
|
+
p result
|
30078
|
+
rescue Akeyless::ApiError => e
|
30079
|
+
puts "Error when calling V2Api->target_update_gemini: #{e}"
|
30080
|
+
end
|
30081
|
+
```
|
30082
|
+
|
30083
|
+
#### Using the target_update_gemini_with_http_info variant
|
30084
|
+
|
30085
|
+
This returns an Array which contains the response data, status code and headers.
|
30086
|
+
|
30087
|
+
> <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_gemini_with_http_info(target_update_gemini)
|
30088
|
+
|
30089
|
+
```ruby
|
30090
|
+
begin
|
30091
|
+
|
30092
|
+
data, status_code, headers = api_instance.target_update_gemini_with_http_info(target_update_gemini)
|
30093
|
+
p status_code # => 2xx
|
30094
|
+
p headers # => { ... }
|
30095
|
+
p data # => <TargetUpdateOutput>
|
30096
|
+
rescue Akeyless::ApiError => e
|
30097
|
+
puts "Error when calling V2Api->target_update_gemini_with_http_info: #{e}"
|
30098
|
+
end
|
30099
|
+
```
|
30100
|
+
|
30101
|
+
### Parameters
|
30102
|
+
|
30103
|
+
| Name | Type | Description | Notes |
|
30104
|
+
| ---- | ---- | ----------- | ----- |
|
30105
|
+
| **target_update_gemini** | [**TargetUpdateGemini**](TargetUpdateGemini.md) | | |
|
30106
|
+
|
30107
|
+
### Return type
|
30108
|
+
|
30109
|
+
[**TargetUpdateOutput**](TargetUpdateOutput.md)
|
30110
|
+
|
30111
|
+
### Authorization
|
30112
|
+
|
30113
|
+
No authorization required
|
30114
|
+
|
30115
|
+
### HTTP request headers
|
30116
|
+
|
30117
|
+
- **Content-Type**: application/json
|
30118
|
+
- **Accept**: application/json
|
30119
|
+
|
30120
|
+
|
29868
30121
|
## target_update_github
|
29869
30122
|
|
29870
30123
|
> <TargetUpdateOutput> target_update_github(target_update_github)
|
@@ -30485,6 +30738,68 @@ No authorization required
|
|
30485
30738
|
- **Accept**: application/json
|
30486
30739
|
|
30487
30740
|
|
30741
|
+
## target_update_open_ai
|
30742
|
+
|
30743
|
+
> <TargetUpdateOutput> target_update_open_ai(target_update_open_ai)
|
30744
|
+
|
30745
|
+
|
30746
|
+
|
30747
|
+
### Examples
|
30748
|
+
|
30749
|
+
```ruby
|
30750
|
+
require 'time'
|
30751
|
+
require 'akeyless'
|
30752
|
+
|
30753
|
+
api_instance = Akeyless::V2Api.new
|
30754
|
+
target_update_open_ai = Akeyless::TargetUpdateOpenAI.new({name: 'name_example'}) # TargetUpdateOpenAI |
|
30755
|
+
|
30756
|
+
begin
|
30757
|
+
|
30758
|
+
result = api_instance.target_update_open_ai(target_update_open_ai)
|
30759
|
+
p result
|
30760
|
+
rescue Akeyless::ApiError => e
|
30761
|
+
puts "Error when calling V2Api->target_update_open_ai: #{e}"
|
30762
|
+
end
|
30763
|
+
```
|
30764
|
+
|
30765
|
+
#### Using the target_update_open_ai_with_http_info variant
|
30766
|
+
|
30767
|
+
This returns an Array which contains the response data, status code and headers.
|
30768
|
+
|
30769
|
+
> <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_open_ai_with_http_info(target_update_open_ai)
|
30770
|
+
|
30771
|
+
```ruby
|
30772
|
+
begin
|
30773
|
+
|
30774
|
+
data, status_code, headers = api_instance.target_update_open_ai_with_http_info(target_update_open_ai)
|
30775
|
+
p status_code # => 2xx
|
30776
|
+
p headers # => { ... }
|
30777
|
+
p data # => <TargetUpdateOutput>
|
30778
|
+
rescue Akeyless::ApiError => e
|
30779
|
+
puts "Error when calling V2Api->target_update_open_ai_with_http_info: #{e}"
|
30780
|
+
end
|
30781
|
+
```
|
30782
|
+
|
30783
|
+
### Parameters
|
30784
|
+
|
30785
|
+
| Name | Type | Description | Notes |
|
30786
|
+
| ---- | ---- | ----------- | ----- |
|
30787
|
+
| **target_update_open_ai** | [**TargetUpdateOpenAI**](TargetUpdateOpenAI.md) | | |
|
30788
|
+
|
30789
|
+
### Return type
|
30790
|
+
|
30791
|
+
[**TargetUpdateOutput**](TargetUpdateOutput.md)
|
30792
|
+
|
30793
|
+
### Authorization
|
30794
|
+
|
30795
|
+
No authorization required
|
30796
|
+
|
30797
|
+
### HTTP request headers
|
30798
|
+
|
30799
|
+
- **Content-Type**: application/json
|
30800
|
+
- **Accept**: application/json
|
30801
|
+
|
30802
|
+
|
30488
30803
|
## target_update_ping
|
30489
30804
|
|
30490
30805
|
> <TargetUpdateOutput> target_update_ping(target_update_ping)
|