akeyless 5.0.17 → 5.0.19

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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/CertificateDiscovery.md +34 -0
  5. data/docs/CertificateDiscoveryOutput.md +18 -0
  6. data/docs/CertificateMigration.md +20 -0
  7. data/docs/CertificatePayload.md +30 -0
  8. data/docs/CertificateScanTarget.md +20 -0
  9. data/docs/CreateRole.md +5 -5
  10. data/docs/GatewayCreateMigration.md +7 -1
  11. data/docs/GatewayUpdateMigration.md +6 -0
  12. data/docs/ItemUSCSyncAssociation.md +2 -0
  13. data/docs/ListItems.md +2 -0
  14. data/docs/MigrationsConfigPart.md +2 -0
  15. data/docs/RotatedSecretCreateOpenAI.md +56 -0
  16. data/docs/RotatedSecretCreateSsh.md +1 -1
  17. data/docs/RotatedSecretDeleteSync.md +2 -0
  18. data/docs/RotatedSecretSync.md +2 -0
  19. data/docs/RotatedSecretUpdateOpenAI.md +58 -0
  20. data/docs/RotatedSecretUpdateSsh.md +1 -1
  21. data/docs/ScanResults.md +32 -0
  22. data/docs/StaticSecretDeleteSync.md +2 -0
  23. data/docs/StaticSecretSync.md +2 -0
  24. data/docs/TargetError.md +22 -0
  25. data/docs/UpdateRole.md +5 -5
  26. data/docs/UscDelete.md +2 -0
  27. data/docs/UscSyncInfo.md +2 -0
  28. data/docs/V2Api.md +191 -2
  29. data/lib/akeyless/api/v2_api.rb +192 -0
  30. data/lib/akeyless/models/account_general_settings.rb +10 -1
  31. data/lib/akeyless/models/certificate_discovery.rb +318 -0
  32. data/lib/akeyless/models/certificate_discovery_output.rb +214 -0
  33. data/lib/akeyless/models/certificate_migration.rb +223 -0
  34. data/lib/akeyless/models/certificate_payload.rb +272 -0
  35. data/lib/akeyless/models/certificate_scan_target.rb +223 -0
  36. data/lib/akeyless/models/create_role.rb +5 -5
  37. data/lib/akeyless/models/gateway_create_migration.rb +43 -2
  38. data/lib/akeyless/models/gateway_update_migration.rb +42 -1
  39. data/lib/akeyless/models/item_usc_sync_association.rb +10 -1
  40. data/lib/akeyless/models/list_items.rb +13 -1
  41. data/lib/akeyless/models/migrations_config_part.rb +12 -1
  42. data/lib/akeyless/models/rotated_secret_create_open_ai.rb +437 -0
  43. data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
  44. data/lib/akeyless/models/rotated_secret_delete_sync.rb +13 -1
  45. data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
  46. data/lib/akeyless/models/rotated_secret_update_open_ai.rb +437 -0
  47. data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
  48. data/lib/akeyless/models/scan_results.rb +282 -0
  49. data/lib/akeyless/models/static_secret_delete_sync.rb +13 -1
  50. data/lib/akeyless/models/static_secret_sync.rb +11 -1
  51. data/lib/akeyless/models/target_error.rb +233 -0
  52. data/lib/akeyless/models/update_role.rb +5 -5
  53. data/lib/akeyless/models/usc_delete.rb +11 -1
  54. data/lib/akeyless/models/usc_sync_info.rb +10 -1
  55. data/lib/akeyless/version.rb +1 -1
  56. data/lib/akeyless.rb +9 -0
  57. data/spec/models/certificate_discovery_output_spec.rb +36 -0
  58. data/spec/models/certificate_discovery_spec.rb +84 -0
  59. data/spec/models/certificate_migration_spec.rb +42 -0
  60. data/spec/models/certificate_payload_spec.rb +72 -0
  61. data/spec/models/certificate_scan_target_spec.rb +42 -0
  62. data/spec/models/rotated_secret_create_open_ai_spec.rb +150 -0
  63. data/spec/models/rotated_secret_update_open_ai_spec.rb +156 -0
  64. data/spec/models/scan_results_spec.rb +78 -0
  65. data/spec/models/target_error_spec.rb +48 -0
  66. metadata +38 -2
@@ -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,
@@ -0,0 +1,22 @@
1
+ # Akeyless::TargetError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | **String** | | [optional] |
8
+ | **host** | **String** | | [optional] |
9
+ | **port** | **Integer** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'akeyless'
15
+
16
+ instance = Akeyless::TargetError.new(
17
+ error: null,
18
+ host: null,
19
+ port: null
20
+ )
21
+ ```
22
+
data/docs/UpdateRole.md CHANGED
@@ -5,18 +5,18 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **analytics_access** | **String** | Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
8
- | **audit_access** | **String** | Allow this role to view audit logs. Currently only 'none', 'own' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods. | [optional] |
8
+ | **audit_access** | **String** | Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods. | [optional] |
9
9
  | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
10
10
  | **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
11
- | **event_center_access** | **String** | Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported | [optional] |
11
+ | **event_center_access** | **String** | Allow this role to view Event Center. Currently only 'none', 'scoped' and 'all' values are supported | [optional] |
12
12
  | **event_forwarder_access** | **String** | Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported. | [optional] |
13
- | **gw_analytics_access** | **String** | Allow this role to view gw analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
13
+ | **gw_analytics_access** | **String** | Allow this role to view gw analytics. Currently only 'none', 'scoped', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
14
14
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
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] |
19
- | **sra_reports_access** | **String** | Allow this role to view SRA Clusters. Currently only 'none', 'own', 'all' values are supported. | [optional] |
18
+ | **reverse_rbac_access** | **String** | Allow this role to view Reverse RBAC. Supported values: 'scoped', 'all'. | [optional] |
19
+ | **sra_reports_access** | **String** | Allow this role to view SRA Clusters. Currently only 'none', 'scoped', 'all' values are supported. | [optional] |
20
20
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
21
21
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
22
22
  | **usage_reports_access** | **String** | Allow this role to view Usage Report. Currently only 'none' and 'all' values are supported. | [optional] |
data/docs/UscDelete.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **force_delete** | **Boolean** | Force delete objects that are soft deleted by default (relavent only for Azure target) | [optional] |
7
8
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
8
9
  | **namespace** | **String** | The namespace (relevant for Hashi vault target) | [optional] |
9
10
  | **secret_id** | **String** | The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete | |
@@ -17,6 +18,7 @@
17
18
  require 'akeyless'
18
19
 
19
20
  instance = Akeyless::UscDelete.new(
21
+ force_delete: null,
20
22
  json: null,
21
23
  namespace: null,
22
24
  secret_id: 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
@@ -45,6 +45,7 @@ All URIs are relative to *https://api.akeyless.io*
45
45
  | [**auth_method_update_saml**](V2Api.md#auth_method_update_saml) | **POST** /auth-method-update-saml | |
46
46
  | [**auth_method_update_universal_identity**](V2Api.md#auth_method_update_universal_identity) | **POST** /auth-method-update-universal-identity | |
47
47
  | [**calc_password_security_info**](V2Api.md#calc_password_security_info) | **POST** /calc-password-security-info | |
48
+ | [**certificate_discovery**](V2Api.md#certificate_discovery) | **POST** /certificate-discovery | |
48
49
  | [**change_admin_account_password**](V2Api.md#change_admin_account_password) | **POST** /change-admin-account-password | |
49
50
  | [**configure**](V2Api.md#configure) | **POST** /configure | |
50
51
  | [**connect**](V2Api.md#connect) | **POST** /connect | |
@@ -411,6 +412,7 @@ All URIs are relative to *https://api.akeyless.io*
411
412
  | [**rotated_secret_create_mongodb**](V2Api.md#rotated_secret_create_mongodb) | **POST** /rotated-secret-create-mongodb | |
412
413
  | [**rotated_secret_create_mssql**](V2Api.md#rotated_secret_create_mssql) | **POST** /rotated-secret-create-mssql | |
413
414
  | [**rotated_secret_create_mysql**](V2Api.md#rotated_secret_create_mysql) | **POST** /rotated-secret-create-mysql | |
415
+ | [**rotated_secret_create_open_ai**](V2Api.md#rotated_secret_create_open_ai) | **POST** /rotated-secret-create-openai | |
414
416
  | [**rotated_secret_create_oracledb**](V2Api.md#rotated_secret_create_oracledb) | **POST** /rotated-secret-create-oracledb | |
415
417
  | [**rotated_secret_create_postgresql**](V2Api.md#rotated_secret_create_postgresql) | **POST** /rotated-secret-create-postgresql | |
416
418
  | [**rotated_secret_create_redis**](V2Api.md#rotated_secret_create_redis) | **POST** /rotated-secret-create-redis | |
@@ -434,6 +436,7 @@ All URIs are relative to *https://api.akeyless.io*
434
436
  | [**rotated_secret_update_mongodb**](V2Api.md#rotated_secret_update_mongodb) | **POST** /rotated-secret-update-mongodb | |
435
437
  | [**rotated_secret_update_mssql**](V2Api.md#rotated_secret_update_mssql) | **POST** /rotated-secret-update-mssql | |
436
438
  | [**rotated_secret_update_mysql**](V2Api.md#rotated_secret_update_mysql) | **POST** /rotated-secret-update-mysql | |
439
+ | [**rotated_secret_update_open_ai**](V2Api.md#rotated_secret_update_open_ai) | **POST** /rotated-secret-update-openai | |
437
440
  | [**rotated_secret_update_oracledb**](V2Api.md#rotated_secret_update_oracledb) | **POST** /rotated-secret-update-oracledb | |
438
441
  | [**rotated_secret_update_postgresql**](V2Api.md#rotated_secret_update_postgresql) | **POST** /rotated-secret-update-postgresql | |
439
442
  | [**rotated_secret_update_redis**](V2Api.md#rotated_secret_update_redis) | **POST** /rotated-secret-update-redis | |
@@ -3139,6 +3142,68 @@ No authorization required
3139
3142
  - **Accept**: application/json
3140
3143
 
3141
3144
 
3145
+ ## certificate_discovery
3146
+
3147
+ > <CertificateDiscoveryOutput> certificate_discovery(certificate_discovery)
3148
+
3149
+
3150
+
3151
+ ### Examples
3152
+
3153
+ ```ruby
3154
+ require 'time'
3155
+ require 'akeyless'
3156
+
3157
+ api_instance = Akeyless::V2Api.new
3158
+ certificate_discovery = Akeyless::CertificateDiscovery.new({hosts: 'hosts_example', target_location: 'target_location_example'}) # CertificateDiscovery |
3159
+
3160
+ begin
3161
+
3162
+ result = api_instance.certificate_discovery(certificate_discovery)
3163
+ p result
3164
+ rescue Akeyless::ApiError => e
3165
+ puts "Error when calling V2Api->certificate_discovery: #{e}"
3166
+ end
3167
+ ```
3168
+
3169
+ #### Using the certificate_discovery_with_http_info variant
3170
+
3171
+ This returns an Array which contains the response data, status code and headers.
3172
+
3173
+ > <Array(<CertificateDiscoveryOutput>, Integer, Hash)> certificate_discovery_with_http_info(certificate_discovery)
3174
+
3175
+ ```ruby
3176
+ begin
3177
+
3178
+ data, status_code, headers = api_instance.certificate_discovery_with_http_info(certificate_discovery)
3179
+ p status_code # => 2xx
3180
+ p headers # => { ... }
3181
+ p data # => <CertificateDiscoveryOutput>
3182
+ rescue Akeyless::ApiError => e
3183
+ puts "Error when calling V2Api->certificate_discovery_with_http_info: #{e}"
3184
+ end
3185
+ ```
3186
+
3187
+ ### Parameters
3188
+
3189
+ | Name | Type | Description | Notes |
3190
+ | ---- | ---- | ----------- | ----- |
3191
+ | **certificate_discovery** | [**CertificateDiscovery**](CertificateDiscovery.md) | | |
3192
+
3193
+ ### Return type
3194
+
3195
+ [**CertificateDiscoveryOutput**](CertificateDiscoveryOutput.md)
3196
+
3197
+ ### Authorization
3198
+
3199
+ No authorization required
3200
+
3201
+ ### HTTP request headers
3202
+
3203
+ - **Content-Type**: application/json
3204
+ - **Accept**: application/json
3205
+
3206
+
3142
3207
  ## change_admin_account_password
3143
3208
 
3144
3209
  > Object change_admin_account_password(change_admin_account_password)
@@ -14252,7 +14317,7 @@ require 'time'
14252
14317
  require 'akeyless'
14253
14318
 
14254
14319
  api_instance = Akeyless::V2Api.new
14255
- gateway_create_migration = Akeyless::GatewayCreateMigration.new({name: 'name_example', si_target_name: 'si_target_name_example', si_users_path_template: 'si_users_path_template_example', target_location: 'target_location_example'}) # GatewayCreateMigration |
14320
+ gateway_create_migration = Akeyless::GatewayCreateMigration.new({hosts: 'hosts_example', name: 'name_example', si_target_name: 'si_target_name_example', si_users_path_template: 'si_users_path_template_example', target_location: 'target_location_example'}) # GatewayCreateMigration |
14256
14321
 
14257
14322
  begin
14258
14323
 
@@ -18595,7 +18660,7 @@ require 'time'
18595
18660
  require 'akeyless'
18596
18661
 
18597
18662
  api_instance = Akeyless::V2Api.new
18598
- gateway_update_migration = Akeyless::GatewayUpdateMigration.new({si_target_name: 'si_target_name_example', si_users_path_template: 'si_users_path_template_example', target_location: 'target_location_example'}) # GatewayUpdateMigration |
18663
+ gateway_update_migration = Akeyless::GatewayUpdateMigration.new({hosts: 'hosts_example', si_target_name: 'si_target_name_example', si_users_path_template: 'si_users_path_template_example', target_location: 'target_location_example'}) # GatewayUpdateMigration |
18599
18664
 
18600
18665
  begin
18601
18666
 
@@ -25855,6 +25920,68 @@ No authorization required
25855
25920
  - **Accept**: application/json
25856
25921
 
25857
25922
 
25923
+ ## rotated_secret_create_open_ai
25924
+
25925
+ > <RotatedSecretCreateOutput> rotated_secret_create_open_ai(rotated_secret_create_open_ai)
25926
+
25927
+
25928
+
25929
+ ### Examples
25930
+
25931
+ ```ruby
25932
+ require 'time'
25933
+ require 'akeyless'
25934
+
25935
+ api_instance = Akeyless::V2Api.new
25936
+ rotated_secret_create_open_ai = Akeyless::RotatedSecretCreateOpenAI.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateOpenAI |
25937
+
25938
+ begin
25939
+
25940
+ result = api_instance.rotated_secret_create_open_ai(rotated_secret_create_open_ai)
25941
+ p result
25942
+ rescue Akeyless::ApiError => e
25943
+ puts "Error when calling V2Api->rotated_secret_create_open_ai: #{e}"
25944
+ end
25945
+ ```
25946
+
25947
+ #### Using the rotated_secret_create_open_ai_with_http_info variant
25948
+
25949
+ This returns an Array which contains the response data, status code and headers.
25950
+
25951
+ > <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai)
25952
+
25953
+ ```ruby
25954
+ begin
25955
+
25956
+ data, status_code, headers = api_instance.rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai)
25957
+ p status_code # => 2xx
25958
+ p headers # => { ... }
25959
+ p data # => <RotatedSecretCreateOutput>
25960
+ rescue Akeyless::ApiError => e
25961
+ puts "Error when calling V2Api->rotated_secret_create_open_ai_with_http_info: #{e}"
25962
+ end
25963
+ ```
25964
+
25965
+ ### Parameters
25966
+
25967
+ | Name | Type | Description | Notes |
25968
+ | ---- | ---- | ----------- | ----- |
25969
+ | **rotated_secret_create_open_ai** | [**RotatedSecretCreateOpenAI**](RotatedSecretCreateOpenAI.md) | | |
25970
+
25971
+ ### Return type
25972
+
25973
+ [**RotatedSecretCreateOutput**](RotatedSecretCreateOutput.md)
25974
+
25975
+ ### Authorization
25976
+
25977
+ No authorization required
25978
+
25979
+ ### HTTP request headers
25980
+
25981
+ - **Content-Type**: application/json
25982
+ - **Accept**: application/json
25983
+
25984
+
25858
25985
  ## rotated_secret_create_oracledb
25859
25986
 
25860
25987
  > <RotatedSecretCreateOutput> rotated_secret_create_oracledb(rotated_secret_create_oracledb)
@@ -27281,6 +27408,68 @@ No authorization required
27281
27408
  - **Accept**: application/json
27282
27409
 
27283
27410
 
27411
+ ## rotated_secret_update_open_ai
27412
+
27413
+ > <RotatedSecretUpdateOutput> rotated_secret_update_open_ai(rotated_secret_update_open_ai)
27414
+
27415
+
27416
+
27417
+ ### Examples
27418
+
27419
+ ```ruby
27420
+ require 'time'
27421
+ require 'akeyless'
27422
+
27423
+ api_instance = Akeyless::V2Api.new
27424
+ rotated_secret_update_open_ai = Akeyless::RotatedSecretUpdateOpenAI.new({name: 'name_example'}) # RotatedSecretUpdateOpenAI |
27425
+
27426
+ begin
27427
+
27428
+ result = api_instance.rotated_secret_update_open_ai(rotated_secret_update_open_ai)
27429
+ p result
27430
+ rescue Akeyless::ApiError => e
27431
+ puts "Error when calling V2Api->rotated_secret_update_open_ai: #{e}"
27432
+ end
27433
+ ```
27434
+
27435
+ #### Using the rotated_secret_update_open_ai_with_http_info variant
27436
+
27437
+ This returns an Array which contains the response data, status code and headers.
27438
+
27439
+ > <Array(<RotatedSecretUpdateOutput>, Integer, Hash)> rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai)
27440
+
27441
+ ```ruby
27442
+ begin
27443
+
27444
+ data, status_code, headers = api_instance.rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai)
27445
+ p status_code # => 2xx
27446
+ p headers # => { ... }
27447
+ p data # => <RotatedSecretUpdateOutput>
27448
+ rescue Akeyless::ApiError => e
27449
+ puts "Error when calling V2Api->rotated_secret_update_open_ai_with_http_info: #{e}"
27450
+ end
27451
+ ```
27452
+
27453
+ ### Parameters
27454
+
27455
+ | Name | Type | Description | Notes |
27456
+ | ---- | ---- | ----------- | ----- |
27457
+ | **rotated_secret_update_open_ai** | [**RotatedSecretUpdateOpenAI**](RotatedSecretUpdateOpenAI.md) | | |
27458
+
27459
+ ### Return type
27460
+
27461
+ [**RotatedSecretUpdateOutput**](RotatedSecretUpdateOutput.md)
27462
+
27463
+ ### Authorization
27464
+
27465
+ No authorization required
27466
+
27467
+ ### HTTP request headers
27468
+
27469
+ - **Content-Type**: application/json
27470
+ - **Accept**: application/json
27471
+
27472
+
27284
27473
  ## rotated_secret_update_oracledb
27285
27474
 
27286
27475
  > <RotatedSecretUpdateOutput> rotated_secret_update_oracledb(rotated_secret_update_oracledb)
@@ -2655,6 +2655,70 @@ module Akeyless
2655
2655
  return data, status_code, headers
2656
2656
  end
2657
2657
 
2658
+ # @param certificate_discovery [CertificateDiscovery]
2659
+ # @param [Hash] opts the optional parameters
2660
+ # @return [CertificateDiscoveryOutput]
2661
+ def certificate_discovery(certificate_discovery, opts = {})
2662
+ data, _status_code, _headers = certificate_discovery_with_http_info(certificate_discovery, opts)
2663
+ data
2664
+ end
2665
+
2666
+ # @param certificate_discovery [CertificateDiscovery]
2667
+ # @param [Hash] opts the optional parameters
2668
+ # @return [Array<(CertificateDiscoveryOutput, Integer, Hash)>] CertificateDiscoveryOutput data, response status code and response headers
2669
+ def certificate_discovery_with_http_info(certificate_discovery, opts = {})
2670
+ if @api_client.config.debugging
2671
+ @api_client.config.logger.debug 'Calling API: V2Api.certificate_discovery ...'
2672
+ end
2673
+ # verify the required parameter 'certificate_discovery' is set
2674
+ if @api_client.config.client_side_validation && certificate_discovery.nil?
2675
+ fail ArgumentError, "Missing the required parameter 'certificate_discovery' when calling V2Api.certificate_discovery"
2676
+ end
2677
+ # resource path
2678
+ local_var_path = '/certificate-discovery'
2679
+
2680
+ # query parameters
2681
+ query_params = opts[:query_params] || {}
2682
+
2683
+ # header parameters
2684
+ header_params = opts[:header_params] || {}
2685
+ # HTTP header 'Accept' (if needed)
2686
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
2687
+ # HTTP header 'Content-Type'
2688
+ content_type = @api_client.select_header_content_type(['application/json'])
2689
+ if !content_type.nil?
2690
+ header_params['Content-Type'] = content_type
2691
+ end
2692
+
2693
+ # form parameters
2694
+ form_params = opts[:form_params] || {}
2695
+
2696
+ # http body (model)
2697
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(certificate_discovery)
2698
+
2699
+ # return_type
2700
+ return_type = opts[:debug_return_type] || 'CertificateDiscoveryOutput'
2701
+
2702
+ # auth_names
2703
+ auth_names = opts[:debug_auth_names] || []
2704
+
2705
+ new_options = opts.merge(
2706
+ :operation => :"V2Api.certificate_discovery",
2707
+ :header_params => header_params,
2708
+ :query_params => query_params,
2709
+ :form_params => form_params,
2710
+ :body => post_body,
2711
+ :auth_names => auth_names,
2712
+ :return_type => return_type
2713
+ )
2714
+
2715
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2716
+ if @api_client.config.debugging
2717
+ @api_client.config.logger.debug "API called: V2Api#certificate_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2718
+ end
2719
+ return data, status_code, headers
2720
+ end
2721
+
2658
2722
  # @param change_admin_account_password [ChangeAdminAccountPassword]
2659
2723
  # @param [Hash] opts the optional parameters
2660
2724
  # @return [Object]
@@ -25970,6 +26034,70 @@ module Akeyless
25970
26034
  return data, status_code, headers
25971
26035
  end
25972
26036
 
26037
+ # @param rotated_secret_create_open_ai [RotatedSecretCreateOpenAI]
26038
+ # @param [Hash] opts the optional parameters
26039
+ # @return [RotatedSecretCreateOutput]
26040
+ def rotated_secret_create_open_ai(rotated_secret_create_open_ai, opts = {})
26041
+ data, _status_code, _headers = rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai, opts)
26042
+ data
26043
+ end
26044
+
26045
+ # @param rotated_secret_create_open_ai [RotatedSecretCreateOpenAI]
26046
+ # @param [Hash] opts the optional parameters
26047
+ # @return [Array<(RotatedSecretCreateOutput, Integer, Hash)>] RotatedSecretCreateOutput data, response status code and response headers
26048
+ def rotated_secret_create_open_ai_with_http_info(rotated_secret_create_open_ai, opts = {})
26049
+ if @api_client.config.debugging
26050
+ @api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_create_open_ai ...'
26051
+ end
26052
+ # verify the required parameter 'rotated_secret_create_open_ai' is set
26053
+ if @api_client.config.client_side_validation && rotated_secret_create_open_ai.nil?
26054
+ fail ArgumentError, "Missing the required parameter 'rotated_secret_create_open_ai' when calling V2Api.rotated_secret_create_open_ai"
26055
+ end
26056
+ # resource path
26057
+ local_var_path = '/rotated-secret-create-openai'
26058
+
26059
+ # query parameters
26060
+ query_params = opts[:query_params] || {}
26061
+
26062
+ # header parameters
26063
+ header_params = opts[:header_params] || {}
26064
+ # HTTP header 'Accept' (if needed)
26065
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
26066
+ # HTTP header 'Content-Type'
26067
+ content_type = @api_client.select_header_content_type(['application/json'])
26068
+ if !content_type.nil?
26069
+ header_params['Content-Type'] = content_type
26070
+ end
26071
+
26072
+ # form parameters
26073
+ form_params = opts[:form_params] || {}
26074
+
26075
+ # http body (model)
26076
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_create_open_ai)
26077
+
26078
+ # return_type
26079
+ return_type = opts[:debug_return_type] || 'RotatedSecretCreateOutput'
26080
+
26081
+ # auth_names
26082
+ auth_names = opts[:debug_auth_names] || []
26083
+
26084
+ new_options = opts.merge(
26085
+ :operation => :"V2Api.rotated_secret_create_open_ai",
26086
+ :header_params => header_params,
26087
+ :query_params => query_params,
26088
+ :form_params => form_params,
26089
+ :body => post_body,
26090
+ :auth_names => auth_names,
26091
+ :return_type => return_type
26092
+ )
26093
+
26094
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
26095
+ if @api_client.config.debugging
26096
+ @api_client.config.logger.debug "API called: V2Api#rotated_secret_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
26097
+ end
26098
+ return data, status_code, headers
26099
+ end
26100
+
25973
26101
  # @param rotated_secret_create_oracledb [RotatedSecretCreateOracledb]
25974
26102
  # @param [Hash] opts the optional parameters
25975
26103
  # @return [RotatedSecretCreateOutput]
@@ -27442,6 +27570,70 @@ module Akeyless
27442
27570
  return data, status_code, headers
27443
27571
  end
27444
27572
 
27573
+ # @param rotated_secret_update_open_ai [RotatedSecretUpdateOpenAI]
27574
+ # @param [Hash] opts the optional parameters
27575
+ # @return [RotatedSecretUpdateOutput]
27576
+ def rotated_secret_update_open_ai(rotated_secret_update_open_ai, opts = {})
27577
+ data, _status_code, _headers = rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai, opts)
27578
+ data
27579
+ end
27580
+
27581
+ # @param rotated_secret_update_open_ai [RotatedSecretUpdateOpenAI]
27582
+ # @param [Hash] opts the optional parameters
27583
+ # @return [Array<(RotatedSecretUpdateOutput, Integer, Hash)>] RotatedSecretUpdateOutput data, response status code and response headers
27584
+ def rotated_secret_update_open_ai_with_http_info(rotated_secret_update_open_ai, opts = {})
27585
+ if @api_client.config.debugging
27586
+ @api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_update_open_ai ...'
27587
+ end
27588
+ # verify the required parameter 'rotated_secret_update_open_ai' is set
27589
+ if @api_client.config.client_side_validation && rotated_secret_update_open_ai.nil?
27590
+ fail ArgumentError, "Missing the required parameter 'rotated_secret_update_open_ai' when calling V2Api.rotated_secret_update_open_ai"
27591
+ end
27592
+ # resource path
27593
+ local_var_path = '/rotated-secret-update-openai'
27594
+
27595
+ # query parameters
27596
+ query_params = opts[:query_params] || {}
27597
+
27598
+ # header parameters
27599
+ header_params = opts[:header_params] || {}
27600
+ # HTTP header 'Accept' (if needed)
27601
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
27602
+ # HTTP header 'Content-Type'
27603
+ content_type = @api_client.select_header_content_type(['application/json'])
27604
+ if !content_type.nil?
27605
+ header_params['Content-Type'] = content_type
27606
+ end
27607
+
27608
+ # form parameters
27609
+ form_params = opts[:form_params] || {}
27610
+
27611
+ # http body (model)
27612
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_update_open_ai)
27613
+
27614
+ # return_type
27615
+ return_type = opts[:debug_return_type] || 'RotatedSecretUpdateOutput'
27616
+
27617
+ # auth_names
27618
+ auth_names = opts[:debug_auth_names] || []
27619
+
27620
+ new_options = opts.merge(
27621
+ :operation => :"V2Api.rotated_secret_update_open_ai",
27622
+ :header_params => header_params,
27623
+ :query_params => query_params,
27624
+ :form_params => form_params,
27625
+ :body => post_body,
27626
+ :auth_names => auth_names,
27627
+ :return_type => return_type
27628
+ )
27629
+
27630
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
27631
+ if @api_client.config.debugging
27632
+ @api_client.config.logger.debug "API called: V2Api#rotated_secret_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
27633
+ end
27634
+ return data, status_code, headers
27635
+ end
27636
+
27445
27637
  # @param rotated_secret_update_oracledb [RotatedSecretUpdateOracledb]
27446
27638
  # @param [Hash] opts the optional parameters
27447
27639
  # @return [RotatedSecretUpdateOutput]
@@ -24,6 +24,8 @@ module Akeyless
24
24
 
25
25
  attr_accessor :ai_insights
26
26
 
27
+ attr_accessor :allow_auto_fill
28
+
27
29
  attr_accessor :allowed_client_types
28
30
 
29
31
  attr_accessor :allowed_clients_ips
@@ -72,6 +74,7 @@ module Akeyless
72
74
  :'account_default_key_item_id' => :'account_default_key_item_id',
73
75
  :'account_default_key_name' => :'account_default_key_name',
74
76
  :'ai_insights' => :'ai_insights',
77
+ :'allow_auto_fill' => :'allow_auto_fill',
75
78
  :'allowed_client_types' => :'allowed_client_types',
76
79
  :'allowed_clients_ips' => :'allowed_clients_ips',
77
80
  :'allowed_gateways_ips' => :'allowed_gateways_ips',
@@ -106,6 +109,7 @@ module Akeyless
106
109
  :'account_default_key_item_id' => :'Integer',
107
110
  :'account_default_key_name' => :'String',
108
111
  :'ai_insights' => :'AiInsightsSetting',
112
+ :'allow_auto_fill' => :'Boolean',
109
113
  :'allowed_client_types' => :'AllowedClientType',
110
114
  :'allowed_clients_ips' => :'AllowedIpSettings',
111
115
  :'allowed_gateways_ips' => :'AllowedIpSettings',
@@ -162,6 +166,10 @@ module Akeyless
162
166
  self.ai_insights = attributes[:'ai_insights']
163
167
  end
164
168
 
169
+ if attributes.key?(:'allow_auto_fill')
170
+ self.allow_auto_fill = attributes[:'allow_auto_fill']
171
+ end
172
+
165
173
  if attributes.key?(:'allowed_client_types')
166
174
  self.allowed_client_types = attributes[:'allowed_client_types']
167
175
  end
@@ -266,6 +274,7 @@ module Akeyless
266
274
  account_default_key_item_id == o.account_default_key_item_id &&
267
275
  account_default_key_name == o.account_default_key_name &&
268
276
  ai_insights == o.ai_insights &&
277
+ allow_auto_fill == o.allow_auto_fill &&
269
278
  allowed_client_types == o.allowed_client_types &&
270
279
  allowed_clients_ips == o.allowed_clients_ips &&
271
280
  allowed_gateways_ips == o.allowed_gateways_ips &&
@@ -297,7 +306,7 @@ module Akeyless
297
306
  # Calculates hash code according to all attributes.
298
307
  # @return [Integer] Hash code
299
308
  def hash
300
- [account_default_key_item_id, account_default_key_name, ai_insights, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
309
+ [account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
301
310
  end
302
311
 
303
312
  # Builds the object from hash