akeyless 5.0.17 → 5.0.18
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 +5 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ItemUSCSyncAssociation.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/RotatedSecretCreateOpenAI.md +56 -0
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretSync.md +2 -0
- data/docs/RotatedSecretUpdateOpenAI.md +58 -0
- data/docs/RotatedSecretUpdateSsh.md +1 -1
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/StaticSecretSync.md +2 -0
- data/docs/UscSyncInfo.md +2 -0
- data/docs/V2Api.md +126 -0
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/item_usc_sync_association.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
- data/lib/akeyless/models/static_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/static_secret_sync.rb +11 -1
- data/lib/akeyless/models/usc_sync_info.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +2 -0
- data/spec/models/rotated_secret_create_open_ai_spec.rb +150 -0
- data/spec/models/rotated_secret_update_open_ai_spec.rb +156 -0
- metadata +9 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32922357b8e87c9aeb8c3f953fd7d59c31c9d0ffd591d8cb862e0f2142b2f82f
|
|
4
|
+
data.tar.gz: acd8d70774cfa95e595600361626468d759f39993b312d616c49b1ada744bfca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43c8dced7af0c7018ded50b66b5990d3494aa38cb7a685927055b3def709042f43b72997055641882f75128759383c3df0b81d777efd5bb2884152daef785ac2
|
|
7
|
+
data.tar.gz: 446ff80c7e8422f0f5b02c22ba2f48ef22f9ad7320f9bee932a872477ef15865af18f6335409e3220899ba149cfedd29a124071236270f41b66d8cea2fe5c88c
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 3.0
|
|
10
|
-
- Package version: 5.0.
|
|
10
|
+
- Package version: 5.0.18
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
|
@@ -467,6 +467,7 @@ Class | Method | HTTP request | Description
|
|
|
467
467
|
*Akeyless::V2Api* | [**rotated_secret_create_mongodb**](docs/V2Api.md#rotated_secret_create_mongodb) | **POST** /rotated-secret-create-mongodb |
|
|
468
468
|
*Akeyless::V2Api* | [**rotated_secret_create_mssql**](docs/V2Api.md#rotated_secret_create_mssql) | **POST** /rotated-secret-create-mssql |
|
|
469
469
|
*Akeyless::V2Api* | [**rotated_secret_create_mysql**](docs/V2Api.md#rotated_secret_create_mysql) | **POST** /rotated-secret-create-mysql |
|
|
470
|
+
*Akeyless::V2Api* | [**rotated_secret_create_open_ai**](docs/V2Api.md#rotated_secret_create_open_ai) | **POST** /rotated-secret-create-openai |
|
|
470
471
|
*Akeyless::V2Api* | [**rotated_secret_create_oracledb**](docs/V2Api.md#rotated_secret_create_oracledb) | **POST** /rotated-secret-create-oracledb |
|
|
471
472
|
*Akeyless::V2Api* | [**rotated_secret_create_postgresql**](docs/V2Api.md#rotated_secret_create_postgresql) | **POST** /rotated-secret-create-postgresql |
|
|
472
473
|
*Akeyless::V2Api* | [**rotated_secret_create_redis**](docs/V2Api.md#rotated_secret_create_redis) | **POST** /rotated-secret-create-redis |
|
|
@@ -490,6 +491,7 @@ Class | Method | HTTP request | Description
|
|
|
490
491
|
*Akeyless::V2Api* | [**rotated_secret_update_mongodb**](docs/V2Api.md#rotated_secret_update_mongodb) | **POST** /rotated-secret-update-mongodb |
|
|
491
492
|
*Akeyless::V2Api* | [**rotated_secret_update_mssql**](docs/V2Api.md#rotated_secret_update_mssql) | **POST** /rotated-secret-update-mssql |
|
|
492
493
|
*Akeyless::V2Api* | [**rotated_secret_update_mysql**](docs/V2Api.md#rotated_secret_update_mysql) | **POST** /rotated-secret-update-mysql |
|
|
494
|
+
*Akeyless::V2Api* | [**rotated_secret_update_open_ai**](docs/V2Api.md#rotated_secret_update_open_ai) | **POST** /rotated-secret-update-openai |
|
|
493
495
|
*Akeyless::V2Api* | [**rotated_secret_update_oracledb**](docs/V2Api.md#rotated_secret_update_oracledb) | **POST** /rotated-secret-update-oracledb |
|
|
494
496
|
*Akeyless::V2Api* | [**rotated_secret_update_postgresql**](docs/V2Api.md#rotated_secret_update_postgresql) | **POST** /rotated-secret-update-postgresql |
|
|
495
497
|
*Akeyless::V2Api* | [**rotated_secret_update_redis**](docs/V2Api.md#rotated_secret_update_redis) | **POST** /rotated-secret-update-redis |
|
|
@@ -1480,6 +1482,7 @@ Class | Method | HTTP request | Description
|
|
|
1480
1482
|
- [Akeyless::RotatedSecretCreateMongodb](docs/RotatedSecretCreateMongodb.md)
|
|
1481
1483
|
- [Akeyless::RotatedSecretCreateMssql](docs/RotatedSecretCreateMssql.md)
|
|
1482
1484
|
- [Akeyless::RotatedSecretCreateMysql](docs/RotatedSecretCreateMysql.md)
|
|
1485
|
+
- [Akeyless::RotatedSecretCreateOpenAI](docs/RotatedSecretCreateOpenAI.md)
|
|
1483
1486
|
- [Akeyless::RotatedSecretCreateOracledb](docs/RotatedSecretCreateOracledb.md)
|
|
1484
1487
|
- [Akeyless::RotatedSecretCreateOutput](docs/RotatedSecretCreateOutput.md)
|
|
1485
1488
|
- [Akeyless::RotatedSecretCreatePostgresql](docs/RotatedSecretCreatePostgresql.md)
|
|
@@ -1507,6 +1510,7 @@ Class | Method | HTTP request | Description
|
|
|
1507
1510
|
- [Akeyless::RotatedSecretUpdateMongodb](docs/RotatedSecretUpdateMongodb.md)
|
|
1508
1511
|
- [Akeyless::RotatedSecretUpdateMssql](docs/RotatedSecretUpdateMssql.md)
|
|
1509
1512
|
- [Akeyless::RotatedSecretUpdateMysql](docs/RotatedSecretUpdateMysql.md)
|
|
1513
|
+
- [Akeyless::RotatedSecretUpdateOpenAI](docs/RotatedSecretUpdateOpenAI.md)
|
|
1510
1514
|
- [Akeyless::RotatedSecretUpdateOracledb](docs/RotatedSecretUpdateOracledb.md)
|
|
1511
1515
|
- [Akeyless::RotatedSecretUpdateOutput](docs/RotatedSecretUpdateOutput.md)
|
|
1512
1516
|
- [Akeyless::RotatedSecretUpdatePostgresql](docs/RotatedSecretUpdatePostgresql.md)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **account_default_key_item_id** | **Integer** | AccountDefaultKeyItemID is the item ID of the DFC key item configured as the default protection key | [optional] |
|
|
8
8
|
| **account_default_key_name** | **String** | AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will. | [optional] |
|
|
9
9
|
| **ai_insights** | [**AiInsightsSetting**](AiInsightsSetting.md) | | [optional] |
|
|
10
|
+
| **allow_auto_fill** | **Boolean** | | [optional] |
|
|
10
11
|
| **allowed_client_types** | [**AllowedClientType**](AllowedClientType.md) | | [optional] |
|
|
11
12
|
| **allowed_clients_ips** | [**AllowedIpSettings**](AllowedIpSettings.md) | | [optional] |
|
|
12
13
|
| **allowed_gateways_ips** | [**AllowedIpSettings**](AllowedIpSettings.md) | | [optional] |
|
|
@@ -37,6 +38,7 @@ instance = Akeyless::AccountGeneralSettings.new(
|
|
|
37
38
|
account_default_key_item_id: null,
|
|
38
39
|
account_default_key_name: null,
|
|
39
40
|
ai_insights: null,
|
|
41
|
+
allow_auto_fill: null,
|
|
40
42
|
allowed_client_types: null,
|
|
41
43
|
allowed_clients_ips: null,
|
|
42
44
|
allowed_gateways_ips: null,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **assoc_id** | **String** | | [optional] |
|
|
8
8
|
| **attributes** | [**UscSyncInfo**](UscSyncInfo.md) | | [optional] |
|
|
9
|
+
| **delete_remote** | **Boolean** | | [optional] |
|
|
9
10
|
| **item_id** | **Integer** | | [optional] |
|
|
10
11
|
| **item_name** | **String** | | [optional] |
|
|
11
12
|
| **item_type** | **String** | | [optional] |
|
|
@@ -18,6 +19,7 @@ require 'akeyless'
|
|
|
18
19
|
instance = Akeyless::ItemUSCSyncAssociation.new(
|
|
19
20
|
assoc_id: null,
|
|
20
21
|
attributes: null,
|
|
22
|
+
delete_remote: null,
|
|
21
23
|
item_id: null,
|
|
22
24
|
item_name: null,
|
|
23
25
|
item_type: null
|
data/docs/ListItems.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
|
|
8
8
|
| **advanced_filter** | **String** | Filter by item name/username/website or part of it | [optional] |
|
|
9
9
|
| **auto_pagination** | **String** | Retrieve all items using pagination, when disabled retrieving only first 1000 items | [optional][default to 'enabled'] |
|
|
10
|
+
| **current_folder** | **Boolean** | List only items in the current folder (excludes subfolders) | [optional][default to false] |
|
|
10
11
|
| **filter** | **String** | Filter by item name or part of it | [optional] |
|
|
11
12
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
12
13
|
| **minimal_view** | **Boolean** | Show only basic information of the items | [optional] |
|
|
@@ -29,6 +30,7 @@ instance = Akeyless::ListItems.new(
|
|
|
29
30
|
accessibility: null,
|
|
30
31
|
advanced_filter: null,
|
|
31
32
|
auto_pagination: null,
|
|
33
|
+
current_folder: null,
|
|
32
34
|
filter: null,
|
|
33
35
|
json: null,
|
|
34
36
|
minimal_view: null,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Akeyless::RotatedSecretCreateOpenAI
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **api_key** | **String** | Admin API key value to rotate (relevant only for rotator-type=api-key) | [optional] |
|
|
8
|
+
| **api_key_id** | **String** | Admin API key ID to rotate (relevant only for rotator-type=api-key) | [optional] |
|
|
9
|
+
| **authentication_credentials** | **String** | The credentials to connect with use-user-creds/use-target-creds | [optional][default to 'use-user-creds'] |
|
|
10
|
+
| **auto_rotate** | **String** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] | [optional] |
|
|
11
|
+
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
|
12
|
+
| **description** | **String** | Description of the object | [optional] |
|
|
13
|
+
| **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
|
|
14
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
15
|
+
| **key** | **String** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
|
16
|
+
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
|
17
|
+
| **name** | **String** | Rotated secret name | |
|
|
18
|
+
| **password_length** | **String** | The length of the password to be generated | [optional] |
|
|
19
|
+
| **rotation_event_in** | **Array<String>** | How many days before the rotation of the item would you like to be notified | [optional] |
|
|
20
|
+
| **rotation_hour** | **Integer** | The Hour of the rotation in UTC | [optional] |
|
|
21
|
+
| **rotation_interval** | **String** | The number of days to wait between every automatic key rotation (1-365) | [optional] |
|
|
22
|
+
| **rotator_type** | **String** | The rotator type. options: [target/api-key] | |
|
|
23
|
+
| **tags** | **Array<String>** | Add tags attached to this object | [optional] |
|
|
24
|
+
| **target_name** | **String** | Target name | |
|
|
25
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
26
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```ruby
|
|
31
|
+
require 'akeyless'
|
|
32
|
+
|
|
33
|
+
instance = Akeyless::RotatedSecretCreateOpenAI.new(
|
|
34
|
+
api_key: null,
|
|
35
|
+
api_key_id: null,
|
|
36
|
+
authentication_credentials: null,
|
|
37
|
+
auto_rotate: null,
|
|
38
|
+
delete_protection: null,
|
|
39
|
+
description: null,
|
|
40
|
+
item_custom_fields: null,
|
|
41
|
+
json: null,
|
|
42
|
+
key: null,
|
|
43
|
+
max_versions: null,
|
|
44
|
+
name: null,
|
|
45
|
+
password_length: null,
|
|
46
|
+
rotation_event_in: null,
|
|
47
|
+
rotation_hour: null,
|
|
48
|
+
rotation_interval: null,
|
|
49
|
+
rotator_type: null,
|
|
50
|
+
tags: null,
|
|
51
|
+
target_name: null,
|
|
52
|
+
token: null,
|
|
53
|
+
uid_token: null
|
|
54
|
+
)
|
|
55
|
+
```
|
|
56
|
+
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| **rotation_hour** | **Integer** | The Hour of the rotation in UTC | [optional] |
|
|
24
24
|
| **rotation_interval** | **String** | The number of days to wait between every automatic key rotation (1-365) | [optional] |
|
|
25
25
|
| **rotator_custom_cmd** | **String** | Custom rotation command | [optional] |
|
|
26
|
-
| **rotator_type** | **String** | The rotator type. options: [target/password] | |
|
|
26
|
+
| **rotator_type** | **String** | The rotator type. options: [target/password/key] | |
|
|
27
27
|
| **same_password** | **String** | Rotate same password for each host from the Linked Target (relevant only for Linked Target) | [optional] |
|
|
28
28
|
| **secure_access_allow_external_user** | **Boolean** | Allow providing external user for a domain users | [optional][default to false] |
|
|
29
29
|
| **secure_access_bastion_issuer** | **String** | Deprecated. use secure-access-certificate-issuer | [optional] |
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **delete_from_usc** | **Boolean** | Delete the secret from the remote target USC as well | [optional][default to false] |
|
|
7
8
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
8
9
|
| **name** | **String** | Rotated secret name | |
|
|
9
10
|
| **remote_secret_name** | **String** | Remote Secret Name to disambiguate when multiple syncs exist under the same USC | [optional] |
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
require 'akeyless'
|
|
18
19
|
|
|
19
20
|
instance = Akeyless::RotatedSecretDeleteSync.new(
|
|
21
|
+
delete_from_usc: null,
|
|
20
22
|
json: null,
|
|
21
23
|
name: null,
|
|
22
24
|
remote_secret_name: null,
|
data/docs/RotatedSecretSync.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **delete_remote** | **Boolean** | Delete the secret from remote secret manager (for association create/update) | [optional] |
|
|
7
8
|
| **filter_secret_value** | **String** | JQ expression to filter or transform the secret value | [optional] |
|
|
8
9
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
9
10
|
| **name** | **String** | Rotated secret name | |
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
require 'akeyless'
|
|
20
21
|
|
|
21
22
|
instance = Akeyless::RotatedSecretSync.new(
|
|
23
|
+
delete_remote: null,
|
|
22
24
|
filter_secret_value: null,
|
|
23
25
|
json: null,
|
|
24
26
|
name: null,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Akeyless::RotatedSecretUpdateOpenAI
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **add_tag** | **Array<String>** | List of the new tags that will be attached to this item | [optional] |
|
|
8
|
+
| **api_key** | **String** | Admin API key value to update (relevant only for rotator-type=api-key) | [optional] |
|
|
9
|
+
| **api_key_id** | **String** | Admin API key ID to update (relevant only for rotator-type=api-key) | [optional] |
|
|
10
|
+
| **authentication_credentials** | **String** | The credentials to connect with use-user-creds/use-target-creds | [optional][default to 'use-user-creds'] |
|
|
11
|
+
| **auto_rotate** | **String** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] | [optional] |
|
|
12
|
+
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
|
13
|
+
| **description** | **String** | Description of the object | [optional][default to 'default_metadata'] |
|
|
14
|
+
| **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
|
|
15
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
16
|
+
| **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
|
|
17
|
+
| **key** | **String** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
|
18
|
+
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
|
19
|
+
| **name** | **String** | Rotated secret name | |
|
|
20
|
+
| **new_name** | **String** | New item name | [optional] |
|
|
21
|
+
| **password_length** | **String** | The length of the password to be generated | [optional] |
|
|
22
|
+
| **rm_tag** | **Array<String>** | List of the existent tags that will be removed from this item | [optional] |
|
|
23
|
+
| **rotation_event_in** | **Array<String>** | How many days before the rotation of the item would you like to be notified | [optional] |
|
|
24
|
+
| **rotation_hour** | **Integer** | The Hour of the rotation in UTC | [optional] |
|
|
25
|
+
| **rotation_interval** | **String** | The number of days to wait between every automatic key rotation (1-365) | [optional] |
|
|
26
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
27
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'akeyless'
|
|
33
|
+
|
|
34
|
+
instance = Akeyless::RotatedSecretUpdateOpenAI.new(
|
|
35
|
+
add_tag: null,
|
|
36
|
+
api_key: null,
|
|
37
|
+
api_key_id: null,
|
|
38
|
+
authentication_credentials: null,
|
|
39
|
+
auto_rotate: null,
|
|
40
|
+
delete_protection: null,
|
|
41
|
+
description: null,
|
|
42
|
+
item_custom_fields: null,
|
|
43
|
+
json: null,
|
|
44
|
+
keep_prev_version: null,
|
|
45
|
+
key: null,
|
|
46
|
+
max_versions: null,
|
|
47
|
+
name: null,
|
|
48
|
+
new_name: null,
|
|
49
|
+
password_length: null,
|
|
50
|
+
rm_tag: null,
|
|
51
|
+
rotation_event_in: null,
|
|
52
|
+
rotation_hour: null,
|
|
53
|
+
rotation_interval: null,
|
|
54
|
+
token: null,
|
|
55
|
+
uid_token: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
| **rotation_hour** | **Integer** | The Hour of the rotation in UTC | [optional] |
|
|
28
28
|
| **rotation_interval** | **String** | The number of days to wait between every automatic key rotation (1-365) | [optional] |
|
|
29
29
|
| **rotator_custom_cmd** | **String** | Custom rotation command | [optional] |
|
|
30
|
-
| **rotator_type** | **String** | The rotator type. options: [target/password] | |
|
|
30
|
+
| **rotator_type** | **String** | The rotator type. options: [target/password/key] | |
|
|
31
31
|
| **same_password** | **String** | Rotate same password for each host from the Linked Target (relevant only for Linked Target) | [optional] |
|
|
32
32
|
| **secure_access_allow_external_user** | **Boolean** | Allow providing external user for a domain users | [optional][default to false] |
|
|
33
33
|
| **secure_access_bastion_issuer** | **String** | Deprecated. use secure-access-certificate-issuer | [optional] |
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **delete_from_usc** | **Boolean** | Delete the secret from the remote target USC as well | [optional][default to false] |
|
|
7
8
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
8
9
|
| **name** | **String** | Static secret name | |
|
|
9
10
|
| **remote_secret_name** | **String** | Remote Secret Name to disambiguate when multiple syncs exist under the same USC | [optional] |
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
require 'akeyless'
|
|
18
19
|
|
|
19
20
|
instance = Akeyless::StaticSecretDeleteSync.new(
|
|
21
|
+
delete_from_usc: null,
|
|
20
22
|
json: null,
|
|
21
23
|
name: null,
|
|
22
24
|
remote_secret_name: null,
|
data/docs/StaticSecretSync.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **delete_remote** | **Boolean** | Delete the secret from remote secret manager (for association create/update) | [optional] |
|
|
7
8
|
| **filter_secret_value** | **String** | JQ expression to filter or transform the secret value | [optional] |
|
|
8
9
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
9
10
|
| **name** | **String** | Static secret name | |
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
require 'akeyless'
|
|
20
21
|
|
|
21
22
|
instance = Akeyless::StaticSecretSync.new(
|
|
23
|
+
delete_remote: null,
|
|
22
24
|
filter_secret_value: null,
|
|
23
25
|
json: null,
|
|
24
26
|
name: null,
|
data/docs/UscSyncInfo.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **delete_remote** | **Boolean** | | [optional] |
|
|
7
8
|
| **jq_secret_filter** | **String** | | [optional] |
|
|
8
9
|
| **last_error** | **String** | | [optional] |
|
|
9
10
|
| **namespace** | **String** | | [optional] |
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
require 'akeyless'
|
|
17
18
|
|
|
18
19
|
instance = Akeyless::UscSyncInfo.new(
|
|
20
|
+
delete_remote: null,
|
|
19
21
|
jq_secret_filter: null,
|
|
20
22
|
last_error: null,
|
|
21
23
|
namespace: null,
|
data/docs/V2Api.md
CHANGED
|
@@ -411,6 +411,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
411
411
|
| [**rotated_secret_create_mongodb**](V2Api.md#rotated_secret_create_mongodb) | **POST** /rotated-secret-create-mongodb | |
|
|
412
412
|
| [**rotated_secret_create_mssql**](V2Api.md#rotated_secret_create_mssql) | **POST** /rotated-secret-create-mssql | |
|
|
413
413
|
| [**rotated_secret_create_mysql**](V2Api.md#rotated_secret_create_mysql) | **POST** /rotated-secret-create-mysql | |
|
|
414
|
+
| [**rotated_secret_create_open_ai**](V2Api.md#rotated_secret_create_open_ai) | **POST** /rotated-secret-create-openai | |
|
|
414
415
|
| [**rotated_secret_create_oracledb**](V2Api.md#rotated_secret_create_oracledb) | **POST** /rotated-secret-create-oracledb | |
|
|
415
416
|
| [**rotated_secret_create_postgresql**](V2Api.md#rotated_secret_create_postgresql) | **POST** /rotated-secret-create-postgresql | |
|
|
416
417
|
| [**rotated_secret_create_redis**](V2Api.md#rotated_secret_create_redis) | **POST** /rotated-secret-create-redis | |
|
|
@@ -434,6 +435,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
434
435
|
| [**rotated_secret_update_mongodb**](V2Api.md#rotated_secret_update_mongodb) | **POST** /rotated-secret-update-mongodb | |
|
|
435
436
|
| [**rotated_secret_update_mssql**](V2Api.md#rotated_secret_update_mssql) | **POST** /rotated-secret-update-mssql | |
|
|
436
437
|
| [**rotated_secret_update_mysql**](V2Api.md#rotated_secret_update_mysql) | **POST** /rotated-secret-update-mysql | |
|
|
438
|
+
| [**rotated_secret_update_open_ai**](V2Api.md#rotated_secret_update_open_ai) | **POST** /rotated-secret-update-openai | |
|
|
437
439
|
| [**rotated_secret_update_oracledb**](V2Api.md#rotated_secret_update_oracledb) | **POST** /rotated-secret-update-oracledb | |
|
|
438
440
|
| [**rotated_secret_update_postgresql**](V2Api.md#rotated_secret_update_postgresql) | **POST** /rotated-secret-update-postgresql | |
|
|
439
441
|
| [**rotated_secret_update_redis**](V2Api.md#rotated_secret_update_redis) | **POST** /rotated-secret-update-redis | |
|
|
@@ -25855,6 +25857,68 @@ No authorization required
|
|
|
25855
25857
|
- **Accept**: application/json
|
|
25856
25858
|
|
|
25857
25859
|
|
|
25860
|
+
## rotated_secret_create_open_ai
|
|
25861
|
+
|
|
25862
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_open_ai(rotated_secret_create_open_ai)
|
|
25863
|
+
|
|
25864
|
+
|
|
25865
|
+
|
|
25866
|
+
### Examples
|
|
25867
|
+
|
|
25868
|
+
```ruby
|
|
25869
|
+
require 'time'
|
|
25870
|
+
require 'akeyless'
|
|
25871
|
+
|
|
25872
|
+
api_instance = Akeyless::V2Api.new
|
|
25873
|
+
rotated_secret_create_open_ai = Akeyless::RotatedSecretCreateOpenAI.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateOpenAI |
|
|
25874
|
+
|
|
25875
|
+
begin
|
|
25876
|
+
|
|
25877
|
+
result = api_instance.rotated_secret_create_open_ai(rotated_secret_create_open_ai)
|
|
25878
|
+
p result
|
|
25879
|
+
rescue Akeyless::ApiError => e
|
|
25880
|
+
puts "Error when calling V2Api->rotated_secret_create_open_ai: #{e}"
|
|
25881
|
+
end
|
|
25882
|
+
```
|
|
25883
|
+
|
|
25884
|
+
#### Using the rotated_secret_create_open_ai_with_http_info variant
|
|
25885
|
+
|
|
25886
|
+
This returns an Array which contains the response data, status code and headers.
|
|
25887
|
+
|
|
25888
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai)
|
|
25889
|
+
|
|
25890
|
+
```ruby
|
|
25891
|
+
begin
|
|
25892
|
+
|
|
25893
|
+
data, status_code, headers = api_instance.rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai)
|
|
25894
|
+
p status_code # => 2xx
|
|
25895
|
+
p headers # => { ... }
|
|
25896
|
+
p data # => <RotatedSecretCreateOutput>
|
|
25897
|
+
rescue Akeyless::ApiError => e
|
|
25898
|
+
puts "Error when calling V2Api->rotated_secret_create_open_ai_with_http_info: #{e}"
|
|
25899
|
+
end
|
|
25900
|
+
```
|
|
25901
|
+
|
|
25902
|
+
### Parameters
|
|
25903
|
+
|
|
25904
|
+
| Name | Type | Description | Notes |
|
|
25905
|
+
| ---- | ---- | ----------- | ----- |
|
|
25906
|
+
| **rotated_secret_create_open_ai** | [**RotatedSecretCreateOpenAI**](RotatedSecretCreateOpenAI.md) | | |
|
|
25907
|
+
|
|
25908
|
+
### Return type
|
|
25909
|
+
|
|
25910
|
+
[**RotatedSecretCreateOutput**](RotatedSecretCreateOutput.md)
|
|
25911
|
+
|
|
25912
|
+
### Authorization
|
|
25913
|
+
|
|
25914
|
+
No authorization required
|
|
25915
|
+
|
|
25916
|
+
### HTTP request headers
|
|
25917
|
+
|
|
25918
|
+
- **Content-Type**: application/json
|
|
25919
|
+
- **Accept**: application/json
|
|
25920
|
+
|
|
25921
|
+
|
|
25858
25922
|
## rotated_secret_create_oracledb
|
|
25859
25923
|
|
|
25860
25924
|
> <RotatedSecretCreateOutput> rotated_secret_create_oracledb(rotated_secret_create_oracledb)
|
|
@@ -27281,6 +27345,68 @@ No authorization required
|
|
|
27281
27345
|
- **Accept**: application/json
|
|
27282
27346
|
|
|
27283
27347
|
|
|
27348
|
+
## rotated_secret_update_open_ai
|
|
27349
|
+
|
|
27350
|
+
> <RotatedSecretUpdateOutput> rotated_secret_update_open_ai(rotated_secret_update_open_ai)
|
|
27351
|
+
|
|
27352
|
+
|
|
27353
|
+
|
|
27354
|
+
### Examples
|
|
27355
|
+
|
|
27356
|
+
```ruby
|
|
27357
|
+
require 'time'
|
|
27358
|
+
require 'akeyless'
|
|
27359
|
+
|
|
27360
|
+
api_instance = Akeyless::V2Api.new
|
|
27361
|
+
rotated_secret_update_open_ai = Akeyless::RotatedSecretUpdateOpenAI.new({name: 'name_example'}) # RotatedSecretUpdateOpenAI |
|
|
27362
|
+
|
|
27363
|
+
begin
|
|
27364
|
+
|
|
27365
|
+
result = api_instance.rotated_secret_update_open_ai(rotated_secret_update_open_ai)
|
|
27366
|
+
p result
|
|
27367
|
+
rescue Akeyless::ApiError => e
|
|
27368
|
+
puts "Error when calling V2Api->rotated_secret_update_open_ai: #{e}"
|
|
27369
|
+
end
|
|
27370
|
+
```
|
|
27371
|
+
|
|
27372
|
+
#### Using the rotated_secret_update_open_ai_with_http_info variant
|
|
27373
|
+
|
|
27374
|
+
This returns an Array which contains the response data, status code and headers.
|
|
27375
|
+
|
|
27376
|
+
> <Array(<RotatedSecretUpdateOutput>, Integer, Hash)> rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai)
|
|
27377
|
+
|
|
27378
|
+
```ruby
|
|
27379
|
+
begin
|
|
27380
|
+
|
|
27381
|
+
data, status_code, headers = api_instance.rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai)
|
|
27382
|
+
p status_code # => 2xx
|
|
27383
|
+
p headers # => { ... }
|
|
27384
|
+
p data # => <RotatedSecretUpdateOutput>
|
|
27385
|
+
rescue Akeyless::ApiError => e
|
|
27386
|
+
puts "Error when calling V2Api->rotated_secret_update_open_ai_with_http_info: #{e}"
|
|
27387
|
+
end
|
|
27388
|
+
```
|
|
27389
|
+
|
|
27390
|
+
### Parameters
|
|
27391
|
+
|
|
27392
|
+
| Name | Type | Description | Notes |
|
|
27393
|
+
| ---- | ---- | ----------- | ----- |
|
|
27394
|
+
| **rotated_secret_update_open_ai** | [**RotatedSecretUpdateOpenAI**](RotatedSecretUpdateOpenAI.md) | | |
|
|
27395
|
+
|
|
27396
|
+
### Return type
|
|
27397
|
+
|
|
27398
|
+
[**RotatedSecretUpdateOutput**](RotatedSecretUpdateOutput.md)
|
|
27399
|
+
|
|
27400
|
+
### Authorization
|
|
27401
|
+
|
|
27402
|
+
No authorization required
|
|
27403
|
+
|
|
27404
|
+
### HTTP request headers
|
|
27405
|
+
|
|
27406
|
+
- **Content-Type**: application/json
|
|
27407
|
+
- **Accept**: application/json
|
|
27408
|
+
|
|
27409
|
+
|
|
27284
27410
|
## rotated_secret_update_oracledb
|
|
27285
27411
|
|
|
27286
27412
|
> <RotatedSecretUpdateOutput> rotated_secret_update_oracledb(rotated_secret_update_oracledb)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -25970,6 +25970,70 @@ module Akeyless
|
|
|
25970
25970
|
return data, status_code, headers
|
|
25971
25971
|
end
|
|
25972
25972
|
|
|
25973
|
+
# @param rotated_secret_create_open_ai [RotatedSecretCreateOpenAI]
|
|
25974
|
+
# @param [Hash] opts the optional parameters
|
|
25975
|
+
# @return [RotatedSecretCreateOutput]
|
|
25976
|
+
def rotated_secret_create_open_ai(rotated_secret_create_open_ai, opts = {})
|
|
25977
|
+
data, _status_code, _headers = rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai, opts)
|
|
25978
|
+
data
|
|
25979
|
+
end
|
|
25980
|
+
|
|
25981
|
+
# @param rotated_secret_create_open_ai [RotatedSecretCreateOpenAI]
|
|
25982
|
+
# @param [Hash] opts the optional parameters
|
|
25983
|
+
# @return [Array<(RotatedSecretCreateOutput, Integer, Hash)>] RotatedSecretCreateOutput data, response status code and response headers
|
|
25984
|
+
def rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai, opts = {})
|
|
25985
|
+
if @api_client.config.debugging
|
|
25986
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_create_open_ai ...'
|
|
25987
|
+
end
|
|
25988
|
+
# verify the required parameter 'rotated_secret_create_open_ai' is set
|
|
25989
|
+
if @api_client.config.client_side_validation && rotated_secret_create_open_ai.nil?
|
|
25990
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_create_open_ai' when calling V2Api.rotated_secret_create_open_ai"
|
|
25991
|
+
end
|
|
25992
|
+
# resource path
|
|
25993
|
+
local_var_path = '/rotated-secret-create-openai'
|
|
25994
|
+
|
|
25995
|
+
# query parameters
|
|
25996
|
+
query_params = opts[:query_params] || {}
|
|
25997
|
+
|
|
25998
|
+
# header parameters
|
|
25999
|
+
header_params = opts[:header_params] || {}
|
|
26000
|
+
# HTTP header 'Accept' (if needed)
|
|
26001
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
26002
|
+
# HTTP header 'Content-Type'
|
|
26003
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
26004
|
+
if !content_type.nil?
|
|
26005
|
+
header_params['Content-Type'] = content_type
|
|
26006
|
+
end
|
|
26007
|
+
|
|
26008
|
+
# form parameters
|
|
26009
|
+
form_params = opts[:form_params] || {}
|
|
26010
|
+
|
|
26011
|
+
# http body (model)
|
|
26012
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_create_open_ai)
|
|
26013
|
+
|
|
26014
|
+
# return_type
|
|
26015
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretCreateOutput'
|
|
26016
|
+
|
|
26017
|
+
# auth_names
|
|
26018
|
+
auth_names = opts[:debug_auth_names] || []
|
|
26019
|
+
|
|
26020
|
+
new_options = opts.merge(
|
|
26021
|
+
:operation => :"V2Api.rotated_secret_create_open_ai",
|
|
26022
|
+
:header_params => header_params,
|
|
26023
|
+
:query_params => query_params,
|
|
26024
|
+
:form_params => form_params,
|
|
26025
|
+
:body => post_body,
|
|
26026
|
+
:auth_names => auth_names,
|
|
26027
|
+
:return_type => return_type
|
|
26028
|
+
)
|
|
26029
|
+
|
|
26030
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
26031
|
+
if @api_client.config.debugging
|
|
26032
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
26033
|
+
end
|
|
26034
|
+
return data, status_code, headers
|
|
26035
|
+
end
|
|
26036
|
+
|
|
25973
26037
|
# @param rotated_secret_create_oracledb [RotatedSecretCreateOracledb]
|
|
25974
26038
|
# @param [Hash] opts the optional parameters
|
|
25975
26039
|
# @return [RotatedSecretCreateOutput]
|
|
@@ -27442,6 +27506,70 @@ module Akeyless
|
|
|
27442
27506
|
return data, status_code, headers
|
|
27443
27507
|
end
|
|
27444
27508
|
|
|
27509
|
+
# @param rotated_secret_update_open_ai [RotatedSecretUpdateOpenAI]
|
|
27510
|
+
# @param [Hash] opts the optional parameters
|
|
27511
|
+
# @return [RotatedSecretUpdateOutput]
|
|
27512
|
+
def rotated_secret_update_open_ai(rotated_secret_update_open_ai, opts = {})
|
|
27513
|
+
data, _status_code, _headers = rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai, opts)
|
|
27514
|
+
data
|
|
27515
|
+
end
|
|
27516
|
+
|
|
27517
|
+
# @param rotated_secret_update_open_ai [RotatedSecretUpdateOpenAI]
|
|
27518
|
+
# @param [Hash] opts the optional parameters
|
|
27519
|
+
# @return [Array<(RotatedSecretUpdateOutput, Integer, Hash)>] RotatedSecretUpdateOutput data, response status code and response headers
|
|
27520
|
+
def rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai, opts = {})
|
|
27521
|
+
if @api_client.config.debugging
|
|
27522
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_update_open_ai ...'
|
|
27523
|
+
end
|
|
27524
|
+
# verify the required parameter 'rotated_secret_update_open_ai' is set
|
|
27525
|
+
if @api_client.config.client_side_validation && rotated_secret_update_open_ai.nil?
|
|
27526
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_update_open_ai' when calling V2Api.rotated_secret_update_open_ai"
|
|
27527
|
+
end
|
|
27528
|
+
# resource path
|
|
27529
|
+
local_var_path = '/rotated-secret-update-openai'
|
|
27530
|
+
|
|
27531
|
+
# query parameters
|
|
27532
|
+
query_params = opts[:query_params] || {}
|
|
27533
|
+
|
|
27534
|
+
# header parameters
|
|
27535
|
+
header_params = opts[:header_params] || {}
|
|
27536
|
+
# HTTP header 'Accept' (if needed)
|
|
27537
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
27538
|
+
# HTTP header 'Content-Type'
|
|
27539
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
27540
|
+
if !content_type.nil?
|
|
27541
|
+
header_params['Content-Type'] = content_type
|
|
27542
|
+
end
|
|
27543
|
+
|
|
27544
|
+
# form parameters
|
|
27545
|
+
form_params = opts[:form_params] || {}
|
|
27546
|
+
|
|
27547
|
+
# http body (model)
|
|
27548
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_update_open_ai)
|
|
27549
|
+
|
|
27550
|
+
# return_type
|
|
27551
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretUpdateOutput'
|
|
27552
|
+
|
|
27553
|
+
# auth_names
|
|
27554
|
+
auth_names = opts[:debug_auth_names] || []
|
|
27555
|
+
|
|
27556
|
+
new_options = opts.merge(
|
|
27557
|
+
:operation => :"V2Api.rotated_secret_update_open_ai",
|
|
27558
|
+
:header_params => header_params,
|
|
27559
|
+
:query_params => query_params,
|
|
27560
|
+
:form_params => form_params,
|
|
27561
|
+
:body => post_body,
|
|
27562
|
+
:auth_names => auth_names,
|
|
27563
|
+
:return_type => return_type
|
|
27564
|
+
)
|
|
27565
|
+
|
|
27566
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
27567
|
+
if @api_client.config.debugging
|
|
27568
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
27569
|
+
end
|
|
27570
|
+
return data, status_code, headers
|
|
27571
|
+
end
|
|
27572
|
+
|
|
27445
27573
|
# @param rotated_secret_update_oracledb [RotatedSecretUpdateOracledb]
|
|
27446
27574
|
# @param [Hash] opts the optional parameters
|
|
27447
27575
|
# @return [RotatedSecretUpdateOutput]
|