akeyless 3.0.1 → 3.1.1

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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -3
  3. data/docs/AttributeTypeAndValue.md +20 -0
  4. data/docs/CertificateChainInfo.md +22 -0
  5. data/docs/CertificateExpirationEvent.md +18 -0
  6. data/docs/CertificateInfo.md +62 -0
  7. data/docs/Connect.md +2 -0
  8. data/docs/CreateCertificate.md +38 -0
  9. data/docs/CreateCertificateOutput.md +18 -0
  10. data/docs/CreateEventForwarder.md +48 -0
  11. data/docs/CreateEventForwarderOutput.md +18 -0
  12. data/docs/CreateRotatedSecret.md +2 -0
  13. data/docs/DeleteEventForwarder.md +24 -0
  14. data/docs/EmailEntry.md +20 -0
  15. data/docs/Extension.md +22 -0
  16. data/docs/GatewayUpdateItem.md +2 -0
  17. data/docs/GatewayUpdateTlsCert.md +26 -0
  18. data/docs/GatewayUpdateTlsCertOutput.md +18 -0
  19. data/docs/GetCertificateValue.md +26 -0
  20. data/docs/GetCertificateValueOutput.md +20 -0
  21. data/docs/GetEventForwarder.md +24 -0
  22. data/docs/GetEventForwarderOutput.md +18 -0
  23. data/docs/Item.md +4 -0
  24. data/docs/ItemGeneralInfo.md +2 -0
  25. data/docs/ListSRABastions.md +2 -0
  26. data/docs/ListSharedItems.md +24 -0
  27. data/docs/Name.md +28 -0
  28. data/docs/NotiForwarder.md +56 -0
  29. data/docs/RequestAccess.md +28 -0
  30. data/docs/RequestAccessOutput.md +18 -0
  31. data/docs/RotateKey.md +2 -0
  32. data/docs/Target.md +4 -0
  33. data/docs/UpdateCertificateOutput.md +18 -0
  34. data/docs/UpdateCertificateValue.md +32 -0
  35. data/docs/UpdateEventForwarder.md +40 -0
  36. data/docs/UpdateRotatedSecret.md +2 -0
  37. data/docs/V2Api.md +631 -65
  38. data/lib/akeyless/api/v2_api.rb +664 -88
  39. data/lib/akeyless/api_error.rb +1 -0
  40. data/lib/akeyless/configuration.rb +11 -0
  41. data/lib/akeyless/models/attribute_type_and_value.rb +231 -0
  42. data/lib/akeyless/models/certificate_chain_info.rb +241 -0
  43. data/lib/akeyless/models/certificate_expiration_event.rb +219 -0
  44. data/lib/akeyless/models/certificate_info.rb +434 -0
  45. data/lib/akeyless/models/connect.rb +11 -1
  46. data/lib/akeyless/models/create_certificate.rb +329 -0
  47. data/lib/akeyless/models/create_certificate_output.rb +219 -0
  48. data/lib/akeyless/models/create_event_forwarder.rb +394 -0
  49. data/lib/akeyless/models/create_event_forwarder_output.rb +219 -0
  50. data/lib/akeyless/models/create_rotated_secret.rb +11 -1
  51. data/lib/akeyless/models/delete_event_forwarder.rb +255 -0
  52. data/lib/akeyless/models/email_entry.rb +228 -0
  53. data/lib/akeyless/models/extension.rb +237 -0
  54. data/lib/akeyless/models/gateway_update_item.rb +11 -1
  55. data/lib/akeyless/models/gateway_update_tls_cert.rb +261 -0
  56. data/lib/akeyless/models/gateway_update_tls_cert_output.rb +219 -0
  57. data/lib/akeyless/models/get_certificate_value.rb +265 -0
  58. data/lib/akeyless/models/get_certificate_value_output.rb +228 -0
  59. data/lib/akeyless/models/get_event_forwarder.rb +255 -0
  60. data/lib/akeyless/models/get_event_forwarder_output.rb +219 -0
  61. data/lib/akeyless/models/item.rb +19 -1
  62. data/lib/akeyless/models/item_general_info.rb +10 -1
  63. data/lib/akeyless/models/list_shared_items.rb +253 -0
  64. data/lib/akeyless/models/list_sra_bastions.rb +10 -1
  65. data/lib/akeyless/models/name.rb +277 -0
  66. data/lib/akeyless/models/noti_forwarder.rb +400 -0
  67. data/lib/akeyless/models/request_access.rb +282 -0
  68. data/lib/akeyless/models/request_access_output.rb +219 -0
  69. data/lib/akeyless/models/rotate_key.rb +11 -1
  70. data/lib/akeyless/models/target.rb +19 -1
  71. data/lib/akeyless/models/update_certificate_output.rb +219 -0
  72. data/lib/akeyless/models/update_certificate_value.rb +297 -0
  73. data/lib/akeyless/models/update_event_forwarder.rb +341 -0
  74. data/lib/akeyless/models/update_rotated_secret.rb +11 -1
  75. data/lib/akeyless/version.rb +1 -1
  76. data/lib/akeyless.rb +25 -1
  77. data/spec/models/attribute_type_and_value_spec.rb +40 -0
  78. data/spec/models/certificate_chain_info_spec.rb +46 -0
  79. data/spec/models/certificate_expiration_event_spec.rb +34 -0
  80. data/spec/models/certificate_info_spec.rb +166 -0
  81. data/spec/models/create_certificate_output_spec.rb +34 -0
  82. data/spec/models/create_certificate_spec.rb +94 -0
  83. data/spec/models/create_event_forwarder_output_spec.rb +34 -0
  84. data/spec/models/create_event_forwarder_spec.rb +124 -0
  85. data/spec/models/delete_event_forwarder_spec.rb +52 -0
  86. data/spec/models/email_entry_spec.rb +40 -0
  87. data/spec/models/extension_spec.rb +46 -0
  88. data/spec/models/gateway_update_tls_cert_output_spec.rb +34 -0
  89. data/spec/models/gateway_update_tls_cert_spec.rb +58 -0
  90. data/spec/models/get_certificate_value_output_spec.rb +40 -0
  91. data/spec/models/get_certificate_value_spec.rb +58 -0
  92. data/spec/models/get_event_forwarder_output_spec.rb +34 -0
  93. data/spec/models/get_event_forwarder_spec.rb +52 -0
  94. data/spec/models/list_shared_items_spec.rb +52 -0
  95. data/spec/models/name_spec.rb +64 -0
  96. data/spec/models/noti_forwarder_spec.rb +148 -0
  97. data/spec/models/request_access_output_spec.rb +34 -0
  98. data/spec/models/request_access_spec.rb +64 -0
  99. data/spec/models/update_certificate_output_spec.rb +34 -0
  100. data/spec/models/update_certificate_value_spec.rb +76 -0
  101. data/spec/models/update_event_forwarder_spec.rb +100 -0
  102. metadata +630 -530
data/docs/V2Api.md CHANGED
@@ -24,12 +24,14 @@ All URIs are relative to *https://api.akeyless.io*
24
24
  | [**create_auth_method_universal_identity**](V2Api.md#create_auth_method_universal_identity) | **POST** /create-auth-method-universal-identity | |
25
25
  | [**create_aws_target**](V2Api.md#create_aws_target) | **POST** /create-aws-target | |
26
26
  | [**create_azure_target**](V2Api.md#create_azure_target) | **POST** /create-azure-target | |
27
+ | [**create_certificate**](V2Api.md#create_certificate) | **POST** /create-certificate | |
27
28
  | [**create_classic_key**](V2Api.md#create_classic_key) | **POST** /create-classic-key | |
28
29
  | [**create_db_target**](V2Api.md#create_db_target) | **POST** /create-db-target | |
29
30
  | [**create_dfc_key**](V2Api.md#create_dfc_key) | **POST** /create-dfc-key | |
30
31
  | [**create_dockerhub_target**](V2Api.md#create_dockerhub_target) | **POST** /create-dockerhub-target | |
31
32
  | [**create_dynamic_secret**](V2Api.md#create_dynamic_secret) | **POST** /create-dynamic-secret | |
32
33
  | [**create_eks_target**](V2Api.md#create_eks_target) | **POST** /create-eks-target | |
34
+ | [**create_event_forwarder**](V2Api.md#create_event_forwarder) | **POST** /create-event-forwarder | |
33
35
  | [**create_gcp_target**](V2Api.md#create_gcp_target) | **POST** /create-gcp-target | |
34
36
  | [**create_github_target**](V2Api.md#create_github_target) | **POST** /create-github-target | |
35
37
  | [**create_gke_target**](V2Api.md#create_gke_target) | **POST** /create-gke-target | |
@@ -51,6 +53,7 @@ All URIs are relative to *https://api.akeyless.io*
51
53
  | [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
52
54
  | [**delete_auth_method**](V2Api.md#delete_auth_method) | **POST** /delete-auth-method | |
53
55
  | [**delete_auth_methods**](V2Api.md#delete_auth_methods) | **POST** /delete-auth-methods | |
56
+ | [**delete_event_forwarder**](V2Api.md#delete_event_forwarder) | **POST** /delete-event-forwarder | |
54
57
  | [**delete_item**](V2Api.md#delete_item) | **POST** /delete-item | |
55
58
  | [**delete_items**](V2Api.md#delete_items) | **POST** /delete-items | |
56
59
  | [**delete_role**](V2Api.md#delete_role) | **POST** /delete-role | |
@@ -67,7 +70,6 @@ All URIs are relative to *https://api.akeyless.io*
67
70
  | [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
68
71
  | [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
69
72
  | [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
70
- | [**gateway_add_allowed_management_access**](V2Api.md#gateway_add_allowed_management_access) | **POST** /gateway-add-allow-management-access | |
71
73
  | [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
72
74
  | [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
73
75
  | [**gateway_create_producer_artifactory**](V2Api.md#gateway_create_producer_artifactory) | **POST** /gateway-create-producer-artifactory | |
@@ -139,11 +141,14 @@ All URIs are relative to *https://api.akeyless.io*
139
141
  | [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
140
142
  | [**gateway_update_producer_redshift**](V2Api.md#gateway_update_producer_redshift) | **POST** /gateway-update-producer-redshift | |
141
143
  | [**gateway_update_producer_snowflake**](V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake | |
144
+ | [**gateway_update_tls_cert**](V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert | |
142
145
  | [**gateway_update_tmp_users**](V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds | |
143
146
  | [**get_account_logo**](V2Api.md#get_account_logo) | **POST** /get-account-logo | |
144
147
  | [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
145
148
  | [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
149
+ | [**get_certificate_value**](V2Api.md#get_certificate_value) | **POST** /get-certificate-value | |
146
150
  | [**get_dynamic_secret_value**](V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value | |
151
+ | [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
147
152
  | [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
148
153
  | [**get_pki_certificate**](V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate | |
149
154
  | [**get_role**](V2Api.md#get_role) | **POST** /get-role | |
@@ -171,11 +176,13 @@ All URIs are relative to *https://api.akeyless.io*
171
176
  | [**list_gateways**](V2Api.md#list_gateways) | **POST** /list-gateways | |
172
177
  | [**list_items**](V2Api.md#list_items) | **POST** /list-items | |
173
178
  | [**list_roles**](V2Api.md#list_roles) | **POST** /list-roles | |
179
+ | [**list_shared_items**](V2Api.md#list_shared_items) | **POST** /list-shared-items | |
174
180
  | [**list_sra_bastions**](V2Api.md#list_sra_bastions) | **POST** /list-sra-bastions | |
175
181
  | [**list_targets**](V2Api.md#list_targets) | **POST** /list-targets | |
176
182
  | [**move_objects**](V2Api.md#move_objects) | **POST** /move-objects | |
177
183
  | [**raw_creds**](V2Api.md#raw_creds) | **POST** /raw-creds | |
178
184
  | [**refresh_key**](V2Api.md#refresh_key) | **POST** /refresh-key | |
185
+ | [**request_access**](V2Api.md#request_access) | **POST** /request-access | |
179
186
  | [**reverse_rbac**](V2Api.md#reverse_rbac) | **POST** /reverse-rbac | |
180
187
  | [**revoke_creds**](V2Api.md#revoke_creds) | **POST** /revoke-creds | |
181
188
  | [**rollback_secret**](V2Api.md#rollback_secret) | **POST** /rollback-secret | |
@@ -211,10 +218,12 @@ All URIs are relative to *https://api.akeyless.io*
211
218
  | [**update_aws_target**](V2Api.md#update_aws_target) | **POST** /update-aws-target | |
212
219
  | [**update_aws_target_details**](V2Api.md#update_aws_target_details) | **POST** /update-aws-target-details | |
213
220
  | [**update_azure_target**](V2Api.md#update_azure_target) | **POST** /update-azure-target | |
221
+ | [**update_certificate_value**](V2Api.md#update_certificate_value) | **POST** /update-certificate-value | |
214
222
  | [**update_db_target**](V2Api.md#update_db_target) | **POST** /update-db-target | |
215
223
  | [**update_db_target_details**](V2Api.md#update_db_target_details) | **POST** /update-db-target-details | |
216
224
  | [**update_dockerhub_target**](V2Api.md#update_dockerhub_target) | **POST** /update-dockerhub-target | |
217
225
  | [**update_eks_target**](V2Api.md#update_eks_target) | **POST** /update-eks-target | |
226
+ | [**update_event_forwarder**](V2Api.md#update_event_forwarder) | **POST** /update-event-forwarder | |
218
227
  | [**update_gcp_target**](V2Api.md#update_gcp_target) | **POST** /update-gcp-target | |
219
228
  | [**update_github_target**](V2Api.md#update_github_target) | **POST** /update-github-target | |
220
229
  | [**update_gke_target**](V2Api.md#update_gke_target) | **POST** /update-gke-target | |
@@ -1485,6 +1494,68 @@ No authorization required
1485
1494
  - **Accept**: application/json
1486
1495
 
1487
1496
 
1497
+ ## create_certificate
1498
+
1499
+ > <CreateCertificateOutput> create_certificate(body)
1500
+
1501
+
1502
+
1503
+ ### Examples
1504
+
1505
+ ```ruby
1506
+ require 'time'
1507
+ require 'akeyless'
1508
+
1509
+ api_instance = Akeyless::V2Api.new
1510
+ body = Akeyless::CreateCertificate.new({name: 'name_example'}) # CreateCertificate |
1511
+
1512
+ begin
1513
+
1514
+ result = api_instance.create_certificate(body)
1515
+ p result
1516
+ rescue Akeyless::ApiError => e
1517
+ puts "Error when calling V2Api->create_certificate: #{e}"
1518
+ end
1519
+ ```
1520
+
1521
+ #### Using the create_certificate_with_http_info variant
1522
+
1523
+ This returns an Array which contains the response data, status code and headers.
1524
+
1525
+ > <Array(<CreateCertificateOutput>, Integer, Hash)> create_certificate_with_http_info(body)
1526
+
1527
+ ```ruby
1528
+ begin
1529
+
1530
+ data, status_code, headers = api_instance.create_certificate_with_http_info(body)
1531
+ p status_code # => 2xx
1532
+ p headers # => { ... }
1533
+ p data # => <CreateCertificateOutput>
1534
+ rescue Akeyless::ApiError => e
1535
+ puts "Error when calling V2Api->create_certificate_with_http_info: #{e}"
1536
+ end
1537
+ ```
1538
+
1539
+ ### Parameters
1540
+
1541
+ | Name | Type | Description | Notes |
1542
+ | ---- | ---- | ----------- | ----- |
1543
+ | **body** | [**CreateCertificate**](CreateCertificate.md) | | |
1544
+
1545
+ ### Return type
1546
+
1547
+ [**CreateCertificateOutput**](CreateCertificateOutput.md)
1548
+
1549
+ ### Authorization
1550
+
1551
+ No authorization required
1552
+
1553
+ ### HTTP request headers
1554
+
1555
+ - **Content-Type**: application/json
1556
+ - **Accept**: application/json
1557
+
1558
+
1488
1559
  ## create_classic_key
1489
1560
 
1490
1561
  > <CreateClassicKeyOutput> create_classic_key(body)
@@ -1857,6 +1928,68 @@ No authorization required
1857
1928
  - **Accept**: application/json
1858
1929
 
1859
1930
 
1931
+ ## create_event_forwarder
1932
+
1933
+ > <CreateEventForwarderOutput> create_event_forwarder(body)
1934
+
1935
+
1936
+
1937
+ ### Examples
1938
+
1939
+ ```ruby
1940
+ require 'time'
1941
+ require 'akeyless'
1942
+
1943
+ api_instance = Akeyless::V2Api.new
1944
+ body = Akeyless::CreateEventForwarder.new({event_source_locations: ['event_source_locations_example'], forwarder_type: 'forwarder_type_example', name: 'name_example', runner_type: 'runner_type_example'}) # CreateEventForwarder |
1945
+
1946
+ begin
1947
+
1948
+ result = api_instance.create_event_forwarder(body)
1949
+ p result
1950
+ rescue Akeyless::ApiError => e
1951
+ puts "Error when calling V2Api->create_event_forwarder: #{e}"
1952
+ end
1953
+ ```
1954
+
1955
+ #### Using the create_event_forwarder_with_http_info variant
1956
+
1957
+ This returns an Array which contains the response data, status code and headers.
1958
+
1959
+ > <Array(<CreateEventForwarderOutput>, Integer, Hash)> create_event_forwarder_with_http_info(body)
1960
+
1961
+ ```ruby
1962
+ begin
1963
+
1964
+ data, status_code, headers = api_instance.create_event_forwarder_with_http_info(body)
1965
+ p status_code # => 2xx
1966
+ p headers # => { ... }
1967
+ p data # => <CreateEventForwarderOutput>
1968
+ rescue Akeyless::ApiError => e
1969
+ puts "Error when calling V2Api->create_event_forwarder_with_http_info: #{e}"
1970
+ end
1971
+ ```
1972
+
1973
+ ### Parameters
1974
+
1975
+ | Name | Type | Description | Notes |
1976
+ | ---- | ---- | ----------- | ----- |
1977
+ | **body** | [**CreateEventForwarder**](CreateEventForwarder.md) | | |
1978
+
1979
+ ### Return type
1980
+
1981
+ [**CreateEventForwarderOutput**](CreateEventForwarderOutput.md)
1982
+
1983
+ ### Authorization
1984
+
1985
+ No authorization required
1986
+
1987
+ ### HTTP request headers
1988
+
1989
+ - **Content-Type**: application/json
1990
+ - **Accept**: application/json
1991
+
1992
+
1860
1993
  ## create_gcp_target
1861
1994
 
1862
1995
  > <CreateGcpTargetOutput> create_gcp_target(body)
@@ -3159,6 +3292,68 @@ No authorization required
3159
3292
  - **Accept**: application/json
3160
3293
 
3161
3294
 
3295
+ ## delete_event_forwarder
3296
+
3297
+ > Object delete_event_forwarder(body)
3298
+
3299
+
3300
+
3301
+ ### Examples
3302
+
3303
+ ```ruby
3304
+ require 'time'
3305
+ require 'akeyless'
3306
+
3307
+ api_instance = Akeyless::V2Api.new
3308
+ body = Akeyless::DeleteEventForwarder.new({name: 'name_example'}) # DeleteEventForwarder |
3309
+
3310
+ begin
3311
+
3312
+ result = api_instance.delete_event_forwarder(body)
3313
+ p result
3314
+ rescue Akeyless::ApiError => e
3315
+ puts "Error when calling V2Api->delete_event_forwarder: #{e}"
3316
+ end
3317
+ ```
3318
+
3319
+ #### Using the delete_event_forwarder_with_http_info variant
3320
+
3321
+ This returns an Array which contains the response data, status code and headers.
3322
+
3323
+ > <Array(Object, Integer, Hash)> delete_event_forwarder_with_http_info(body)
3324
+
3325
+ ```ruby
3326
+ begin
3327
+
3328
+ data, status_code, headers = api_instance.delete_event_forwarder_with_http_info(body)
3329
+ p status_code # => 2xx
3330
+ p headers # => { ... }
3331
+ p data # => Object
3332
+ rescue Akeyless::ApiError => e
3333
+ puts "Error when calling V2Api->delete_event_forwarder_with_http_info: #{e}"
3334
+ end
3335
+ ```
3336
+
3337
+ ### Parameters
3338
+
3339
+ | Name | Type | Description | Notes |
3340
+ | ---- | ---- | ----------- | ----- |
3341
+ | **body** | [**DeleteEventForwarder**](DeleteEventForwarder.md) | | |
3342
+
3343
+ ### Return type
3344
+
3345
+ **Object**
3346
+
3347
+ ### Authorization
3348
+
3349
+ No authorization required
3350
+
3351
+ ### HTTP request headers
3352
+
3353
+ - **Content-Type**: application/json
3354
+ - **Accept**: application/json
3355
+
3356
+
3162
3357
  ## delete_item
3163
3358
 
3164
3359
  > <DeleteItemOutput> delete_item(body)
@@ -4151,68 +4346,6 @@ No authorization required
4151
4346
  - **Accept**: application/json
4152
4347
 
4153
4348
 
4154
- ## gateway_add_allowed_management_access
4155
-
4156
- > Object gateway_add_allowed_management_access(body)
4157
-
4158
-
4159
-
4160
- ### Examples
4161
-
4162
- ```ruby
4163
- require 'time'
4164
- require 'akeyless'
4165
-
4166
- api_instance = Akeyless::V2Api.new
4167
- body = Akeyless::GatewayAddAllowedManagementAccess.new({sub_admin_access_id: 'sub_admin_access_id_example'}) # GatewayAddAllowedManagementAccess |
4168
-
4169
- begin
4170
-
4171
- result = api_instance.gateway_add_allowed_management_access(body)
4172
- p result
4173
- rescue Akeyless::ApiError => e
4174
- puts "Error when calling V2Api->gateway_add_allowed_management_access: #{e}"
4175
- end
4176
- ```
4177
-
4178
- #### Using the gateway_add_allowed_management_access_with_http_info variant
4179
-
4180
- This returns an Array which contains the response data, status code and headers.
4181
-
4182
- > <Array(Object, Integer, Hash)> gateway_add_allowed_management_access_with_http_info(body)
4183
-
4184
- ```ruby
4185
- begin
4186
-
4187
- data, status_code, headers = api_instance.gateway_add_allowed_management_access_with_http_info(body)
4188
- p status_code # => 2xx
4189
- p headers # => { ... }
4190
- p data # => Object
4191
- rescue Akeyless::ApiError => e
4192
- puts "Error when calling V2Api->gateway_add_allowed_management_access_with_http_info: #{e}"
4193
- end
4194
- ```
4195
-
4196
- ### Parameters
4197
-
4198
- | Name | Type | Description | Notes |
4199
- | ---- | ---- | ----------- | ----- |
4200
- | **body** | [**GatewayAddAllowedManagementAccess**](GatewayAddAllowedManagementAccess.md) | | |
4201
-
4202
- ### Return type
4203
-
4204
- **Object**
4205
-
4206
- ### Authorization
4207
-
4208
- No authorization required
4209
-
4210
- ### HTTP request headers
4211
-
4212
- - **Content-Type**: application/json
4213
- - **Accept**: application/json
4214
-
4215
-
4216
4349
  ## gateway_create_k8_s_auth_config
4217
4350
 
4218
4351
  > <GatewayCreateK8SAuthConfigOutput> gateway_create_k8_s_auth_config(body)
@@ -8620,6 +8753,68 @@ No authorization required
8620
8753
  - **Accept**: application/json
8621
8754
 
8622
8755
 
8756
+ ## gateway_update_tls_cert
8757
+
8758
+ > <GatewayUpdateTlsCertOutput> gateway_update_tls_cert(body)
8759
+
8760
+
8761
+
8762
+ ### Examples
8763
+
8764
+ ```ruby
8765
+ require 'time'
8766
+ require 'akeyless'
8767
+
8768
+ api_instance = Akeyless::V2Api.new
8769
+ body = Akeyless::GatewayUpdateTlsCert.new # GatewayUpdateTlsCert |
8770
+
8771
+ begin
8772
+
8773
+ result = api_instance.gateway_update_tls_cert(body)
8774
+ p result
8775
+ rescue Akeyless::ApiError => e
8776
+ puts "Error when calling V2Api->gateway_update_tls_cert: #{e}"
8777
+ end
8778
+ ```
8779
+
8780
+ #### Using the gateway_update_tls_cert_with_http_info variant
8781
+
8782
+ This returns an Array which contains the response data, status code and headers.
8783
+
8784
+ > <Array(<GatewayUpdateTlsCertOutput>, Integer, Hash)> gateway_update_tls_cert_with_http_info(body)
8785
+
8786
+ ```ruby
8787
+ begin
8788
+
8789
+ data, status_code, headers = api_instance.gateway_update_tls_cert_with_http_info(body)
8790
+ p status_code # => 2xx
8791
+ p headers # => { ... }
8792
+ p data # => <GatewayUpdateTlsCertOutput>
8793
+ rescue Akeyless::ApiError => e
8794
+ puts "Error when calling V2Api->gateway_update_tls_cert_with_http_info: #{e}"
8795
+ end
8796
+ ```
8797
+
8798
+ ### Parameters
8799
+
8800
+ | Name | Type | Description | Notes |
8801
+ | ---- | ---- | ----------- | ----- |
8802
+ | **body** | [**GatewayUpdateTlsCert**](GatewayUpdateTlsCert.md) | | |
8803
+
8804
+ ### Return type
8805
+
8806
+ [**GatewayUpdateTlsCertOutput**](GatewayUpdateTlsCertOutput.md)
8807
+
8808
+ ### Authorization
8809
+
8810
+ No authorization required
8811
+
8812
+ ### HTTP request headers
8813
+
8814
+ - **Content-Type**: application/json
8815
+ - **Accept**: application/json
8816
+
8817
+
8623
8818
  ## gateway_update_tmp_users
8624
8819
 
8625
8820
  > gateway_update_tmp_users(body)
@@ -8864,9 +9059,71 @@ No authorization required
8864
9059
  - **Accept**: application/json
8865
9060
 
8866
9061
 
8867
- ## get_dynamic_secret_value
9062
+ ## get_certificate_value
8868
9063
 
8869
- > Hash&lt;String, String&gt; get_dynamic_secret_value(body)
9064
+ > <GetCertificateValueOutput> get_certificate_value(body)
9065
+
9066
+
9067
+
9068
+ ### Examples
9069
+
9070
+ ```ruby
9071
+ require 'time'
9072
+ require 'akeyless'
9073
+
9074
+ api_instance = Akeyless::V2Api.new
9075
+ body = Akeyless::GetCertificateValue.new({name: 'name_example'}) # GetCertificateValue |
9076
+
9077
+ begin
9078
+
9079
+ result = api_instance.get_certificate_value(body)
9080
+ p result
9081
+ rescue Akeyless::ApiError => e
9082
+ puts "Error when calling V2Api->get_certificate_value: #{e}"
9083
+ end
9084
+ ```
9085
+
9086
+ #### Using the get_certificate_value_with_http_info variant
9087
+
9088
+ This returns an Array which contains the response data, status code and headers.
9089
+
9090
+ > <Array(<GetCertificateValueOutput>, Integer, Hash)> get_certificate_value_with_http_info(body)
9091
+
9092
+ ```ruby
9093
+ begin
9094
+
9095
+ data, status_code, headers = api_instance.get_certificate_value_with_http_info(body)
9096
+ p status_code # => 2xx
9097
+ p headers # => { ... }
9098
+ p data # => <GetCertificateValueOutput>
9099
+ rescue Akeyless::ApiError => e
9100
+ puts "Error when calling V2Api->get_certificate_value_with_http_info: #{e}"
9101
+ end
9102
+ ```
9103
+
9104
+ ### Parameters
9105
+
9106
+ | Name | Type | Description | Notes |
9107
+ | ---- | ---- | ----------- | ----- |
9108
+ | **body** | [**GetCertificateValue**](GetCertificateValue.md) | | |
9109
+
9110
+ ### Return type
9111
+
9112
+ [**GetCertificateValueOutput**](GetCertificateValueOutput.md)
9113
+
9114
+ ### Authorization
9115
+
9116
+ No authorization required
9117
+
9118
+ ### HTTP request headers
9119
+
9120
+ - **Content-Type**: application/json
9121
+ - **Accept**: application/json
9122
+
9123
+
9124
+ ## get_dynamic_secret_value
9125
+
9126
+ > Hash&lt;String, String&gt; get_dynamic_secret_value(body)
8870
9127
 
8871
9128
 
8872
9129
 
@@ -8926,6 +9183,68 @@ No authorization required
8926
9183
  - **Accept**: application/json
8927
9184
 
8928
9185
 
9186
+ ## get_event_forwarder
9187
+
9188
+ > <GetEventForwarderOutput> get_event_forwarder(body)
9189
+
9190
+
9191
+
9192
+ ### Examples
9193
+
9194
+ ```ruby
9195
+ require 'time'
9196
+ require 'akeyless'
9197
+
9198
+ api_instance = Akeyless::V2Api.new
9199
+ body = Akeyless::GetEventForwarder.new({name: 'name_example'}) # GetEventForwarder |
9200
+
9201
+ begin
9202
+
9203
+ result = api_instance.get_event_forwarder(body)
9204
+ p result
9205
+ rescue Akeyless::ApiError => e
9206
+ puts "Error when calling V2Api->get_event_forwarder: #{e}"
9207
+ end
9208
+ ```
9209
+
9210
+ #### Using the get_event_forwarder_with_http_info variant
9211
+
9212
+ This returns an Array which contains the response data, status code and headers.
9213
+
9214
+ > <Array(<GetEventForwarderOutput>, Integer, Hash)> get_event_forwarder_with_http_info(body)
9215
+
9216
+ ```ruby
9217
+ begin
9218
+
9219
+ data, status_code, headers = api_instance.get_event_forwarder_with_http_info(body)
9220
+ p status_code # => 2xx
9221
+ p headers # => { ... }
9222
+ p data # => <GetEventForwarderOutput>
9223
+ rescue Akeyless::ApiError => e
9224
+ puts "Error when calling V2Api->get_event_forwarder_with_http_info: #{e}"
9225
+ end
9226
+ ```
9227
+
9228
+ ### Parameters
9229
+
9230
+ | Name | Type | Description | Notes |
9231
+ | ---- | ---- | ----------- | ----- |
9232
+ | **body** | [**GetEventForwarder**](GetEventForwarder.md) | | |
9233
+
9234
+ ### Return type
9235
+
9236
+ [**GetEventForwarderOutput**](GetEventForwarderOutput.md)
9237
+
9238
+ ### Authorization
9239
+
9240
+ No authorization required
9241
+
9242
+ ### HTTP request headers
9243
+
9244
+ - **Content-Type**: application/json
9245
+ - **Accept**: application/json
9246
+
9247
+
8929
9248
  ## get_kube_exec_creds
8930
9249
 
8931
9250
  > <GetKubeExecCredsOutput> get_kube_exec_creds(body)
@@ -10626,6 +10945,67 @@ No authorization required
10626
10945
  - **Accept**: application/json
10627
10946
 
10628
10947
 
10948
+ ## list_shared_items
10949
+
10950
+ > list_shared_items(body)
10951
+
10952
+
10953
+
10954
+ ### Examples
10955
+
10956
+ ```ruby
10957
+ require 'time'
10958
+ require 'akeyless'
10959
+
10960
+ api_instance = Akeyless::V2Api.new
10961
+ body = Akeyless::ListSharedItems.new # ListSharedItems |
10962
+
10963
+ begin
10964
+
10965
+ api_instance.list_shared_items(body)
10966
+ rescue Akeyless::ApiError => e
10967
+ puts "Error when calling V2Api->list_shared_items: #{e}"
10968
+ end
10969
+ ```
10970
+
10971
+ #### Using the list_shared_items_with_http_info variant
10972
+
10973
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
10974
+
10975
+ > <Array(nil, Integer, Hash)> list_shared_items_with_http_info(body)
10976
+
10977
+ ```ruby
10978
+ begin
10979
+
10980
+ data, status_code, headers = api_instance.list_shared_items_with_http_info(body)
10981
+ p status_code # => 2xx
10982
+ p headers # => { ... }
10983
+ p data # => nil
10984
+ rescue Akeyless::ApiError => e
10985
+ puts "Error when calling V2Api->list_shared_items_with_http_info: #{e}"
10986
+ end
10987
+ ```
10988
+
10989
+ ### Parameters
10990
+
10991
+ | Name | Type | Description | Notes |
10992
+ | ---- | ---- | ----------- | ----- |
10993
+ | **body** | [**ListSharedItems**](ListSharedItems.md) | | |
10994
+
10995
+ ### Return type
10996
+
10997
+ nil (empty response body)
10998
+
10999
+ ### Authorization
11000
+
11001
+ No authorization required
11002
+
11003
+ ### HTTP request headers
11004
+
11005
+ - **Content-Type**: application/json
11006
+ - **Accept**: application/json
11007
+
11008
+
10629
11009
  ## list_sra_bastions
10630
11010
 
10631
11011
  > <BastionsList> list_sra_bastions(body)
@@ -10938,6 +11318,68 @@ No authorization required
10938
11318
  - **Accept**: application/json
10939
11319
 
10940
11320
 
11321
+ ## request_access
11322
+
11323
+ > <RequestAccessOutput> request_access(body)
11324
+
11325
+
11326
+
11327
+ ### Examples
11328
+
11329
+ ```ruby
11330
+ require 'time'
11331
+ require 'akeyless'
11332
+
11333
+ api_instance = Akeyless::V2Api.new
11334
+ body = Akeyless::RequestAccess.new({capability: ['capability_example'], name: 'name_example'}) # RequestAccess |
11335
+
11336
+ begin
11337
+
11338
+ result = api_instance.request_access(body)
11339
+ p result
11340
+ rescue Akeyless::ApiError => e
11341
+ puts "Error when calling V2Api->request_access: #{e}"
11342
+ end
11343
+ ```
11344
+
11345
+ #### Using the request_access_with_http_info variant
11346
+
11347
+ This returns an Array which contains the response data, status code and headers.
11348
+
11349
+ > <Array(<RequestAccessOutput>, Integer, Hash)> request_access_with_http_info(body)
11350
+
11351
+ ```ruby
11352
+ begin
11353
+
11354
+ data, status_code, headers = api_instance.request_access_with_http_info(body)
11355
+ p status_code # => 2xx
11356
+ p headers # => { ... }
11357
+ p data # => <RequestAccessOutput>
11358
+ rescue Akeyless::ApiError => e
11359
+ puts "Error when calling V2Api->request_access_with_http_info: #{e}"
11360
+ end
11361
+ ```
11362
+
11363
+ ### Parameters
11364
+
11365
+ | Name | Type | Description | Notes |
11366
+ | ---- | ---- | ----------- | ----- |
11367
+ | **body** | [**RequestAccess**](RequestAccess.md) | | |
11368
+
11369
+ ### Return type
11370
+
11371
+ [**RequestAccessOutput**](RequestAccessOutput.md)
11372
+
11373
+ ### Authorization
11374
+
11375
+ No authorization required
11376
+
11377
+ ### HTTP request headers
11378
+
11379
+ - **Content-Type**: application/json
11380
+ - **Accept**: application/json
11381
+
11382
+
10941
11383
  ## reverse_rbac
10942
11384
 
10943
11385
  > <ReverseRBACOutput> reverse_rbac(body)
@@ -13104,6 +13546,68 @@ No authorization required
13104
13546
  - **Accept**: application/json
13105
13547
 
13106
13548
 
13549
+ ## update_certificate_value
13550
+
13551
+ > <UpdateCertificateOutput> update_certificate_value(body)
13552
+
13553
+
13554
+
13555
+ ### Examples
13556
+
13557
+ ```ruby
13558
+ require 'time'
13559
+ require 'akeyless'
13560
+
13561
+ api_instance = Akeyless::V2Api.new
13562
+ body = Akeyless::UpdateCertificateValue.new({name: 'name_example'}) # UpdateCertificateValue |
13563
+
13564
+ begin
13565
+
13566
+ result = api_instance.update_certificate_value(body)
13567
+ p result
13568
+ rescue Akeyless::ApiError => e
13569
+ puts "Error when calling V2Api->update_certificate_value: #{e}"
13570
+ end
13571
+ ```
13572
+
13573
+ #### Using the update_certificate_value_with_http_info variant
13574
+
13575
+ This returns an Array which contains the response data, status code and headers.
13576
+
13577
+ > <Array(<UpdateCertificateOutput>, Integer, Hash)> update_certificate_value_with_http_info(body)
13578
+
13579
+ ```ruby
13580
+ begin
13581
+
13582
+ data, status_code, headers = api_instance.update_certificate_value_with_http_info(body)
13583
+ p status_code # => 2xx
13584
+ p headers # => { ... }
13585
+ p data # => <UpdateCertificateOutput>
13586
+ rescue Akeyless::ApiError => e
13587
+ puts "Error when calling V2Api->update_certificate_value_with_http_info: #{e}"
13588
+ end
13589
+ ```
13590
+
13591
+ ### Parameters
13592
+
13593
+ | Name | Type | Description | Notes |
13594
+ | ---- | ---- | ----------- | ----- |
13595
+ | **body** | [**UpdateCertificateValue**](UpdateCertificateValue.md) | | |
13596
+
13597
+ ### Return type
13598
+
13599
+ [**UpdateCertificateOutput**](UpdateCertificateOutput.md)
13600
+
13601
+ ### Authorization
13602
+
13603
+ No authorization required
13604
+
13605
+ ### HTTP request headers
13606
+
13607
+ - **Content-Type**: application/json
13608
+ - **Accept**: application/json
13609
+
13610
+
13107
13611
  ## update_db_target
13108
13612
 
13109
13613
  > <UpdateDBTargetOutput> update_db_target(body)
@@ -13352,6 +13856,68 @@ No authorization required
13352
13856
  - **Accept**: application/json
13353
13857
 
13354
13858
 
13859
+ ## update_event_forwarder
13860
+
13861
+ > Object update_event_forwarder(body)
13862
+
13863
+
13864
+
13865
+ ### Examples
13866
+
13867
+ ```ruby
13868
+ require 'time'
13869
+ require 'akeyless'
13870
+
13871
+ api_instance = Akeyless::V2Api.new
13872
+ body = Akeyless::UpdateEventForwarder.new({name: 'name_example'}) # UpdateEventForwarder |
13873
+
13874
+ begin
13875
+
13876
+ result = api_instance.update_event_forwarder(body)
13877
+ p result
13878
+ rescue Akeyless::ApiError => e
13879
+ puts "Error when calling V2Api->update_event_forwarder: #{e}"
13880
+ end
13881
+ ```
13882
+
13883
+ #### Using the update_event_forwarder_with_http_info variant
13884
+
13885
+ This returns an Array which contains the response data, status code and headers.
13886
+
13887
+ > <Array(Object, Integer, Hash)> update_event_forwarder_with_http_info(body)
13888
+
13889
+ ```ruby
13890
+ begin
13891
+
13892
+ data, status_code, headers = api_instance.update_event_forwarder_with_http_info(body)
13893
+ p status_code # => 2xx
13894
+ p headers # => { ... }
13895
+ p data # => Object
13896
+ rescue Akeyless::ApiError => e
13897
+ puts "Error when calling V2Api->update_event_forwarder_with_http_info: #{e}"
13898
+ end
13899
+ ```
13900
+
13901
+ ### Parameters
13902
+
13903
+ | Name | Type | Description | Notes |
13904
+ | ---- | ---- | ----------- | ----- |
13905
+ | **body** | [**UpdateEventForwarder**](UpdateEventForwarder.md) | | |
13906
+
13907
+ ### Return type
13908
+
13909
+ **Object**
13910
+
13911
+ ### Authorization
13912
+
13913
+ No authorization required
13914
+
13915
+ ### HTTP request headers
13916
+
13917
+ - **Content-Type**: application/json
13918
+ - **Accept**: application/json
13919
+
13920
+
13355
13921
  ## update_gcp_target
13356
13922
 
13357
13923
  > <UpdateGcpTargetOutput> update_gcp_target(body)