akeyless 2.15.29 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -9
  3. data/docs/Auth.md +5 -1
  4. data/docs/AuthMethodAccessInfo.md +2 -0
  5. data/docs/CertAccessRules.md +34 -0
  6. data/docs/ConfigHash.md +2 -0
  7. data/docs/CreateAuthMethodCert.md +48 -0
  8. data/docs/CreateAuthMethodCertOutput.md +18 -0
  9. data/docs/CreateAuthMethodLDAP.md +3 -1
  10. data/docs/CreateAuthMethodOIDC.md +4 -0
  11. data/docs/CreateClassicKey.md +5 -1
  12. data/docs/DSProducerDetails.md +4 -0
  13. data/docs/GatewayCreateProducerCustom.md +4 -0
  14. data/docs/GatewayCreateProducerHanaDb.md +54 -0
  15. data/docs/GatewayCreateProducerHanaDbOutput.md +18 -0
  16. data/docs/GatewayCreateProducerMongo.md +1 -1
  17. data/docs/GatewayCreateProducerOracleDb.md +8 -0
  18. data/docs/GatewayMessageQueueInfo.md +1 -3
  19. data/docs/GatewayUpdateProducerCustom.md +4 -0
  20. data/docs/GatewayUpdateProducerHanaDb.md +56 -0
  21. data/docs/GatewayUpdateProducerHanaDbOutput.md +18 -0
  22. data/docs/GatewayUpdateProducerMongo.md +1 -1
  23. data/docs/GatewayUpdateProducerOracleDb.md +8 -0
  24. data/docs/KMIPClient.md +2 -0
  25. data/docs/KMIPConfigPart.md +5 -1
  26. data/docs/KMIPServer.md +30 -0
  27. data/docs/KmipDeleteServer.md +20 -0
  28. data/docs/KmipDescribeServerOutput.md +4 -0
  29. data/docs/KmipMoveServer.md +22 -0
  30. data/docs/KmipMoveServerOutput.md +20 -0
  31. data/docs/ListAuthMethods.md +4 -0
  32. data/docs/ListRoles.md +2 -0
  33. data/docs/ListTargets.md +2 -0
  34. data/docs/OIDCAccessRules.md +4 -0
  35. data/docs/TargetItemAssociation.md +2 -0
  36. data/docs/UpdateAuthMethodCert.md +50 -0
  37. data/docs/UpdateAuthMethodCertOutput.md +18 -0
  38. data/docs/UpdateAuthMethodLDAP.md +3 -1
  39. data/docs/UpdateAuthMethodOIDC.md +4 -0
  40. data/docs/UpdateDBTarget.md +4 -0
  41. data/docs/UpdateOutput.md +2 -0
  42. data/docs/V2Api.md +319 -0
  43. data/git_push.sh +0 -0
  44. data/lib/akeyless/api/v2_api.rb +312 -0
  45. data/lib/akeyless/api_client.rb +3 -7
  46. data/lib/akeyless/configuration.rb +2 -1
  47. data/lib/akeyless/models/auth.rb +22 -2
  48. data/lib/akeyless/models/auth_method_access_info.rb +10 -1
  49. data/lib/akeyless/models/cert_access_rules.rb +316 -0
  50. data/lib/akeyless/models/config_hash.rb +10 -1
  51. data/lib/akeyless/models/create_auth_method_cert.rb +401 -0
  52. data/lib/akeyless/models/create_auth_method_cert_output.rb +219 -0
  53. data/lib/akeyless/models/create_auth_method_ldap.rb +14 -4
  54. data/lib/akeyless/models/create_auth_method_oidc.rb +23 -1
  55. data/lib/akeyless/models/create_classic_key.rb +26 -4
  56. data/lib/akeyless/models/ds_producer_details.rb +19 -1
  57. data/lib/akeyless/models/gateway_create_producer_custom.rb +23 -1
  58. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +411 -0
  59. data/lib/akeyless/models/gateway_create_producer_hana_db_output.rb +219 -0
  60. data/lib/akeyless/models/gateway_create_producer_mongo.rb +0 -2
  61. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +39 -1
  62. data/lib/akeyless/models/gateway_message_queue_info.rb +4 -13
  63. data/lib/akeyless/models/gateway_update_producer_custom.rb +23 -1
  64. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +421 -0
  65. data/lib/akeyless/models/gateway_update_producer_hana_db_output.rb +219 -0
  66. data/lib/akeyless/models/gateway_update_producer_mongo.rb +0 -2
  67. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +39 -1
  68. data/lib/akeyless/models/kmip_client.rb +10 -1
  69. data/lib/akeyless/models/kmip_config_part.rb +23 -1
  70. data/lib/akeyless/models/kmip_delete_server.rb +231 -0
  71. data/lib/akeyless/models/kmip_describe_server_output.rb +19 -1
  72. data/lib/akeyless/models/kmip_move_server.rb +240 -0
  73. data/lib/akeyless/models/kmip_move_server_output.rb +228 -0
  74. data/lib/akeyless/models/kmip_server.rb +277 -0
  75. data/lib/akeyless/models/list_auth_methods.rb +23 -1
  76. data/lib/akeyless/models/list_roles.rb +11 -1
  77. data/lib/akeyless/models/list_targets.rb +11 -1
  78. data/lib/akeyless/models/oidc_access_rules.rb +23 -1
  79. data/lib/akeyless/models/target_item_association.rb +10 -1
  80. data/lib/akeyless/models/update_auth_method_cert.rb +411 -0
  81. data/lib/akeyless/models/update_auth_method_cert_output.rb +219 -0
  82. data/lib/akeyless/models/update_auth_method_ldap.rb +14 -4
  83. data/lib/akeyless/models/update_auth_method_oidc.rb +23 -1
  84. data/lib/akeyless/models/update_db_target.rb +21 -1
  85. data/lib/akeyless/models/update_output.rb +10 -1
  86. data/lib/akeyless/version.rb +1 -1
  87. data/lib/akeyless.rb +13 -0
  88. data/spec/models/cert_access_rules_spec.rb +82 -0
  89. data/spec/models/create_auth_method_cert_output_spec.rb +34 -0
  90. data/spec/models/create_auth_method_cert_spec.rb +124 -0
  91. data/spec/models/gateway_create_producer_hana_db_output_spec.rb +34 -0
  92. data/spec/models/gateway_create_producer_hana_db_spec.rb +142 -0
  93. data/spec/models/gateway_update_producer_hana_db_output_spec.rb +34 -0
  94. data/spec/models/gateway_update_producer_hana_db_spec.rb +148 -0
  95. data/spec/models/kmip_delete_server_spec.rb +40 -0
  96. data/spec/models/kmip_move_server_output_spec.rb +40 -0
  97. data/spec/models/kmip_move_server_spec.rb +46 -0
  98. data/spec/models/kmip_server_spec.rb +58 -0
  99. data/spec/models/update_auth_method_cert_output_spec.rb +34 -0
  100. data/spec/models/update_auth_method_cert_spec.rb +130 -0
  101. metadata +508 -456
data/docs/V2Api.md CHANGED
@@ -13,6 +13,7 @@ All URIs are relative to *https://api.akeyless.io*
13
13
  | [**create_auth_method**](V2Api.md#create_auth_method) | **POST** /create-auth-method | |
14
14
  | [**create_auth_method_awsiam**](V2Api.md#create_auth_method_awsiam) | **POST** /create-auth-method-aws-iam | |
15
15
  | [**create_auth_method_azure_ad**](V2Api.md#create_auth_method_azure_ad) | **POST** /create-auth-method-azure-ad | |
16
+ | [**create_auth_method_cert**](V2Api.md#create_auth_method_cert) | **POST** /create-auth-method-cert | |
16
17
  | [**create_auth_method_gcp**](V2Api.md#create_auth_method_gcp) | **POST** /create-auth-method-gcp | |
17
18
  | [**create_auth_method_huawei**](V2Api.md#create_auth_method_huawei) | **POST** /create-auth-method-huawei | |
18
19
  | [**create_auth_method_k8_s**](V2Api.md#create_auth_method_k8_s) | **POST** /create-auth-method-k8s | |
@@ -74,6 +75,7 @@ All URIs are relative to *https://api.akeyless.io*
74
75
  | [**gateway_create_producer_gcp**](V2Api.md#gateway_create_producer_gcp) | **POST** /gateway-create-producer-gcp | |
75
76
  | [**gateway_create_producer_github**](V2Api.md#gateway_create_producer_github) | **POST** /gateway-create-producer-github | |
76
77
  | [**gateway_create_producer_gke**](V2Api.md#gateway_create_producer_gke) | **POST** /gateway-create-producer-gke | |
78
+ | [**gateway_create_producer_hana_db**](V2Api.md#gateway_create_producer_hana_db) | **POST** /gateway-create-producer-hanadb | |
77
79
  | [**gateway_create_producer_ldap**](V2Api.md#gateway_create_producer_ldap) | **POST** /gateway-create-producer-ldap | |
78
80
  | [**gateway_create_producer_mongo**](V2Api.md#gateway_create_producer_mongo) | **POST** /gateway-create-producer-mongo | |
79
81
  | [**gateway_create_producer_mssql**](V2Api.md#gateway_create_producer_mssql) | **POST** /gateway-create-producer-mssql | |
@@ -142,9 +144,11 @@ All URIs are relative to *https://api.akeyless.io*
142
144
  | [**kmip_client_set_rule**](V2Api.md#kmip_client_set_rule) | **POST** /kmip-client-set-rule | |
143
145
  | [**kmip_create_client**](V2Api.md#kmip_create_client) | **POST** /kmip-create-client | |
144
146
  | [**kmip_delete_client**](V2Api.md#kmip_delete_client) | **POST** /kmip-delete-client | |
147
+ | [**kmip_delete_server**](V2Api.md#kmip_delete_server) | **DELETE** /kmip-delete-environment | |
145
148
  | [**kmip_describe_client**](V2Api.md#kmip_describe_client) | **POST** /kmip-get-client | |
146
149
  | [**kmip_describe_server**](V2Api.md#kmip_describe_server) | **POST** /kmip-get-environment | |
147
150
  | [**kmip_list_clients**](V2Api.md#kmip_list_clients) | **POST** /kmip-list-clients | |
151
+ | [**kmip_move_server**](V2Api.md#kmip_move_server) | **POST** /kmip-move-environment | |
148
152
  | [**kmip_renew_client_certificate**](V2Api.md#kmip_renew_client_certificate) | **POST** /kmip-renew-client | |
149
153
  | [**kmip_renew_server_certificate**](V2Api.md#kmip_renew_server_certificate) | **POST** /kmip-renew-environment | |
150
154
  | [**kmip_server_setup**](V2Api.md#kmip_server_setup) | **POST** /kmip-create-environment | |
@@ -177,6 +181,7 @@ All URIs are relative to *https://api.akeyless.io*
177
181
  | [**update_auth_method**](V2Api.md#update_auth_method) | **POST** /update-auth-method | |
178
182
  | [**update_auth_method_awsiam**](V2Api.md#update_auth_method_awsiam) | **POST** /update-auth-method-aws-iam | |
179
183
  | [**update_auth_method_azure_ad**](V2Api.md#update_auth_method_azure_ad) | **POST** /update-auth-method-azure-ad | |
184
+ | [**update_auth_method_cert**](V2Api.md#update_auth_method_cert) | **POST** /update-auth-method-cert | |
180
185
  | [**update_auth_method_gcp**](V2Api.md#update_auth_method_gcp) | **POST** /update-auth-method-gcp | |
181
186
  | [**update_auth_method_k8_s**](V2Api.md#update_auth_method_k8_s) | **POST** /update-auth-method-k8s | |
182
187
  | [**update_auth_method_ldap**](V2Api.md#update_auth_method_ldap) | **POST** /update-auth-method-ldap | |
@@ -776,6 +781,68 @@ No authorization required
776
781
  - **Accept**: application/json
777
782
 
778
783
 
784
+ ## create_auth_method_cert
785
+
786
+ > <CreateAuthMethodCertOutput> create_auth_method_cert(body)
787
+
788
+
789
+
790
+ ### Examples
791
+
792
+ ```ruby
793
+ require 'time'
794
+ require 'akeyless'
795
+
796
+ api_instance = Akeyless::V2Api.new
797
+ body = Akeyless::CreateAuthMethodCert.new({name: 'name_example', unique_identifier: 'unique_identifier_example'}) # CreateAuthMethodCert |
798
+
799
+ begin
800
+
801
+ result = api_instance.create_auth_method_cert(body)
802
+ p result
803
+ rescue Akeyless::ApiError => e
804
+ puts "Error when calling V2Api->create_auth_method_cert: #{e}"
805
+ end
806
+ ```
807
+
808
+ #### Using the create_auth_method_cert_with_http_info variant
809
+
810
+ This returns an Array which contains the response data, status code and headers.
811
+
812
+ > <Array(<CreateAuthMethodCertOutput>, Integer, Hash)> create_auth_method_cert_with_http_info(body)
813
+
814
+ ```ruby
815
+ begin
816
+
817
+ data, status_code, headers = api_instance.create_auth_method_cert_with_http_info(body)
818
+ p status_code # => 2xx
819
+ p headers # => { ... }
820
+ p data # => <CreateAuthMethodCertOutput>
821
+ rescue Akeyless::ApiError => e
822
+ puts "Error when calling V2Api->create_auth_method_cert_with_http_info: #{e}"
823
+ end
824
+ ```
825
+
826
+ ### Parameters
827
+
828
+ | Name | Type | Description | Notes |
829
+ | ---- | ---- | ----------- | ----- |
830
+ | **body** | [**CreateAuthMethodCert**](CreateAuthMethodCert.md) | | |
831
+
832
+ ### Return type
833
+
834
+ [**CreateAuthMethodCertOutput**](CreateAuthMethodCertOutput.md)
835
+
836
+ ### Authorization
837
+
838
+ No authorization required
839
+
840
+ ### HTTP request headers
841
+
842
+ - **Content-Type**: application/json
843
+ - **Accept**: application/json
844
+
845
+
779
846
  ## create_auth_method_gcp
780
847
 
781
848
  > <CreateAuthMethodGCPOutput> create_auth_method_gcp(body)
@@ -4560,6 +4627,68 @@ No authorization required
4560
4627
  - **Accept**: application/json
4561
4628
 
4562
4629
 
4630
+ ## gateway_create_producer_hana_db
4631
+
4632
+ > <GatewayCreateProducerHanaDbOutput> gateway_create_producer_hana_db(body)
4633
+
4634
+
4635
+
4636
+ ### Examples
4637
+
4638
+ ```ruby
4639
+ require 'time'
4640
+ require 'akeyless'
4641
+
4642
+ api_instance = Akeyless::V2Api.new
4643
+ body = Akeyless::GatewayCreateProducerHanaDb.new({name: 'name_example'}) # GatewayCreateProducerHanaDb |
4644
+
4645
+ begin
4646
+
4647
+ result = api_instance.gateway_create_producer_hana_db(body)
4648
+ p result
4649
+ rescue Akeyless::ApiError => e
4650
+ puts "Error when calling V2Api->gateway_create_producer_hana_db: #{e}"
4651
+ end
4652
+ ```
4653
+
4654
+ #### Using the gateway_create_producer_hana_db_with_http_info variant
4655
+
4656
+ This returns an Array which contains the response data, status code and headers.
4657
+
4658
+ > <Array(<GatewayCreateProducerHanaDbOutput>, Integer, Hash)> gateway_create_producer_hana_db_with_http_info(body)
4659
+
4660
+ ```ruby
4661
+ begin
4662
+
4663
+ data, status_code, headers = api_instance.gateway_create_producer_hana_db_with_http_info(body)
4664
+ p status_code # => 2xx
4665
+ p headers # => { ... }
4666
+ p data # => <GatewayCreateProducerHanaDbOutput>
4667
+ rescue Akeyless::ApiError => e
4668
+ puts "Error when calling V2Api->gateway_create_producer_hana_db_with_http_info: #{e}"
4669
+ end
4670
+ ```
4671
+
4672
+ ### Parameters
4673
+
4674
+ | Name | Type | Description | Notes |
4675
+ | ---- | ---- | ----------- | ----- |
4676
+ | **body** | [**GatewayCreateProducerHanaDb**](GatewayCreateProducerHanaDb.md) | | |
4677
+
4678
+ ### Return type
4679
+
4680
+ [**GatewayCreateProducerHanaDbOutput**](GatewayCreateProducerHanaDbOutput.md)
4681
+
4682
+ ### Authorization
4683
+
4684
+ No authorization required
4685
+
4686
+ ### HTTP request headers
4687
+
4688
+ - **Content-Type**: application/json
4689
+ - **Accept**: application/json
4690
+
4691
+
4563
4692
  ## gateway_create_producer_ldap
4564
4693
 
4565
4694
  > <GatewayCreateProducerLdapOutput> gateway_create_producer_ldap(body)
@@ -8781,6 +8910,70 @@ No authorization required
8781
8910
  - **Accept**: application/json
8782
8911
 
8783
8912
 
8913
+ ## kmip_delete_server
8914
+
8915
+ > Object kmip_delete_server(opts)
8916
+
8917
+
8918
+
8919
+ ### Examples
8920
+
8921
+ ```ruby
8922
+ require 'time'
8923
+ require 'akeyless'
8924
+
8925
+ api_instance = Akeyless::V2Api.new
8926
+ opts = {
8927
+ body: Akeyless::KmipDeleteServer.new # KmipDeleteServer |
8928
+ }
8929
+
8930
+ begin
8931
+
8932
+ result = api_instance.kmip_delete_server(opts)
8933
+ p result
8934
+ rescue Akeyless::ApiError => e
8935
+ puts "Error when calling V2Api->kmip_delete_server: #{e}"
8936
+ end
8937
+ ```
8938
+
8939
+ #### Using the kmip_delete_server_with_http_info variant
8940
+
8941
+ This returns an Array which contains the response data, status code and headers.
8942
+
8943
+ > <Array(Object, Integer, Hash)> kmip_delete_server_with_http_info(opts)
8944
+
8945
+ ```ruby
8946
+ begin
8947
+
8948
+ data, status_code, headers = api_instance.kmip_delete_server_with_http_info(opts)
8949
+ p status_code # => 2xx
8950
+ p headers # => { ... }
8951
+ p data # => Object
8952
+ rescue Akeyless::ApiError => e
8953
+ puts "Error when calling V2Api->kmip_delete_server_with_http_info: #{e}"
8954
+ end
8955
+ ```
8956
+
8957
+ ### Parameters
8958
+
8959
+ | Name | Type | Description | Notes |
8960
+ | ---- | ---- | ----------- | ----- |
8961
+ | **body** | [**KmipDeleteServer**](KmipDeleteServer.md) | | [optional] |
8962
+
8963
+ ### Return type
8964
+
8965
+ **Object**
8966
+
8967
+ ### Authorization
8968
+
8969
+ No authorization required
8970
+
8971
+ ### HTTP request headers
8972
+
8973
+ - **Content-Type**: application/json
8974
+ - **Accept**: application/json
8975
+
8976
+
8784
8977
  ## kmip_describe_client
8785
8978
 
8786
8979
  > <KMIPClientGetResponse> kmip_describe_client(opts)
@@ -8973,6 +9166,70 @@ No authorization required
8973
9166
  - **Accept**: application/json
8974
9167
 
8975
9168
 
9169
+ ## kmip_move_server
9170
+
9171
+ > <KmipMoveServerOutput> kmip_move_server(opts)
9172
+
9173
+
9174
+
9175
+ ### Examples
9176
+
9177
+ ```ruby
9178
+ require 'time'
9179
+ require 'akeyless'
9180
+
9181
+ api_instance = Akeyless::V2Api.new
9182
+ opts = {
9183
+ body: Akeyless::KmipMoveServer.new # KmipMoveServer |
9184
+ }
9185
+
9186
+ begin
9187
+
9188
+ result = api_instance.kmip_move_server(opts)
9189
+ p result
9190
+ rescue Akeyless::ApiError => e
9191
+ puts "Error when calling V2Api->kmip_move_server: #{e}"
9192
+ end
9193
+ ```
9194
+
9195
+ #### Using the kmip_move_server_with_http_info variant
9196
+
9197
+ This returns an Array which contains the response data, status code and headers.
9198
+
9199
+ > <Array(<KmipMoveServerOutput>, Integer, Hash)> kmip_move_server_with_http_info(opts)
9200
+
9201
+ ```ruby
9202
+ begin
9203
+
9204
+ data, status_code, headers = api_instance.kmip_move_server_with_http_info(opts)
9205
+ p status_code # => 2xx
9206
+ p headers # => { ... }
9207
+ p data # => <KmipMoveServerOutput>
9208
+ rescue Akeyless::ApiError => e
9209
+ puts "Error when calling V2Api->kmip_move_server_with_http_info: #{e}"
9210
+ end
9211
+ ```
9212
+
9213
+ ### Parameters
9214
+
9215
+ | Name | Type | Description | Notes |
9216
+ | ---- | ---- | ----------- | ----- |
9217
+ | **body** | [**KmipMoveServer**](KmipMoveServer.md) | | [optional] |
9218
+
9219
+ ### Return type
9220
+
9221
+ [**KmipMoveServerOutput**](KmipMoveServerOutput.md)
9222
+
9223
+ ### Authorization
9224
+
9225
+ No authorization required
9226
+
9227
+ ### HTTP request headers
9228
+
9229
+ - **Content-Type**: application/json
9230
+ - **Accept**: application/json
9231
+
9232
+
8976
9233
  ## kmip_renew_client_certificate
8977
9234
 
8978
9235
  > <KmipRenewClientCertificateOutput> kmip_renew_client_certificate(opts)
@@ -10964,6 +11221,68 @@ No authorization required
10964
11221
  - **Accept**: application/json
10965
11222
 
10966
11223
 
11224
+ ## update_auth_method_cert
11225
+
11226
+ > <UpdateAuthMethodCertOutput> update_auth_method_cert(body)
11227
+
11228
+
11229
+
11230
+ ### Examples
11231
+
11232
+ ```ruby
11233
+ require 'time'
11234
+ require 'akeyless'
11235
+
11236
+ api_instance = Akeyless::V2Api.new
11237
+ body = Akeyless::UpdateAuthMethodCert.new({name: 'name_example', unique_identifier: 'unique_identifier_example'}) # UpdateAuthMethodCert |
11238
+
11239
+ begin
11240
+
11241
+ result = api_instance.update_auth_method_cert(body)
11242
+ p result
11243
+ rescue Akeyless::ApiError => e
11244
+ puts "Error when calling V2Api->update_auth_method_cert: #{e}"
11245
+ end
11246
+ ```
11247
+
11248
+ #### Using the update_auth_method_cert_with_http_info variant
11249
+
11250
+ This returns an Array which contains the response data, status code and headers.
11251
+
11252
+ > <Array(<UpdateAuthMethodCertOutput>, Integer, Hash)> update_auth_method_cert_with_http_info(body)
11253
+
11254
+ ```ruby
11255
+ begin
11256
+
11257
+ data, status_code, headers = api_instance.update_auth_method_cert_with_http_info(body)
11258
+ p status_code # => 2xx
11259
+ p headers # => { ... }
11260
+ p data # => <UpdateAuthMethodCertOutput>
11261
+ rescue Akeyless::ApiError => e
11262
+ puts "Error when calling V2Api->update_auth_method_cert_with_http_info: #{e}"
11263
+ end
11264
+ ```
11265
+
11266
+ ### Parameters
11267
+
11268
+ | Name | Type | Description | Notes |
11269
+ | ---- | ---- | ----------- | ----- |
11270
+ | **body** | [**UpdateAuthMethodCert**](UpdateAuthMethodCert.md) | | |
11271
+
11272
+ ### Return type
11273
+
11274
+ [**UpdateAuthMethodCertOutput**](UpdateAuthMethodCertOutput.md)
11275
+
11276
+ ### Authorization
11277
+
11278
+ No authorization required
11279
+
11280
+ ### HTTP request headers
11281
+
11282
+ - **Content-Type**: application/json
11283
+ - **Accept**: application/json
11284
+
11285
+
10967
11286
  ## update_auth_method_gcp
10968
11287
 
10969
11288
  > Object update_auth_method_gcp(body)
data/git_push.sh CHANGED
File without changes