akeyless 3.1.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/CreatePingTarget.md +38 -0
  4. data/docs/CreatePingTargetOutput.md +18 -0
  5. data/docs/CreateRotatedSecret.md +2 -0
  6. data/docs/DSProducerDetails.md +40 -0
  7. data/docs/GatewayCreateProducerPing.md +66 -0
  8. data/docs/GatewayCreateProducerPingOutput.md +18 -0
  9. data/docs/GatewayUpdateProducerPing.md +68 -0
  10. data/docs/GatewayUpdateProducerPingOutput.md +18 -0
  11. data/docs/GetKubeExecCreds.md +5 -3
  12. data/docs/GetPKICertificate.md +5 -3
  13. data/docs/SecureRemoteAccess.md +2 -0
  14. data/docs/TargetTypeDetailsInput.md +10 -0
  15. data/docs/UpdatePingTarget.md +44 -0
  16. data/docs/UpdateRotatedSecret.md +2 -0
  17. data/docs/V2Api.md +252 -0
  18. data/lib/akeyless/api/v2_api.rb +256 -0
  19. data/lib/akeyless/models/create_ping_target.rb +329 -0
  20. data/lib/akeyless/models/create_ping_target_output.rb +219 -0
  21. data/lib/akeyless/models/create_rotated_secret.rb +13 -1
  22. data/lib/akeyless/models/ds_producer_details.rb +196 -1
  23. data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
  24. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
  25. data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
  26. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
  27. data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
  28. data/lib/akeyless/models/get_pki_certificate.rb +14 -4
  29. data/lib/akeyless/models/secure_remote_access.rb +10 -1
  30. data/lib/akeyless/models/target_type_details_input.rb +46 -1
  31. data/lib/akeyless/models/update_ping_target.rb +358 -0
  32. data/lib/akeyless/models/update_rotated_secret.rb +13 -1
  33. data/lib/akeyless/version.rb +1 -1
  34. data/lib/akeyless.rb +7 -0
  35. data/spec/models/create_ping_target_output_spec.rb +34 -0
  36. data/spec/models/create_ping_target_spec.rb +94 -0
  37. data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
  38. data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
  39. data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
  40. data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
  41. data/spec/models/update_ping_target_spec.rb +112 -0
  42. metadata +590 -562
@@ -4,11 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **administrative_port** | **String** | | [optional] |
7
8
  | **app_private_key** | **Array<Integer>** | params needed for jwt auth AppPrivateKey is the rsa private key in PEM format | [optional] |
8
9
  | **artifactory_admin_apikey** | **String** | | [optional] |
9
10
  | **artifactory_admin_username** | **String** | | [optional] |
10
11
  | **artifactory_base_url** | **String** | | [optional] |
11
12
  | **auth_flow** | **String** | | [optional] |
13
+ | **authorization_port** | **String** | | [optional] |
12
14
  | **aws_access_key_id** | **String** | | [optional] |
13
15
  | **aws_region** | **String** | | [optional] |
14
16
  | **aws_secret_access_key** | **String** | | [optional] |
@@ -78,9 +80,11 @@
78
80
  | **mongodb_username** | **String** | | [optional] |
79
81
  | **password** | **String** | | [optional] |
80
82
  | **payload** | **String** | | [optional] |
83
+ | **ping_url** | **String** | | [optional] |
81
84
  | **port** | **String** | | [optional] |
82
85
  | **private_key** | **String** | | [optional] |
83
86
  | **private_key_password** | **String** | | [optional] |
87
+ | **privileged_user** | **String** | | [optional] |
84
88
  | **rabbitmq_server_password** | **String** | | [optional] |
85
89
  | **rabbitmq_server_uri** | **String** | | [optional] |
86
90
  | **rabbitmq_server_user** | **String** | | [optional] |
@@ -92,6 +96,7 @@
92
96
  | **url** | **String** | | [optional] |
93
97
  | **use_gw_cloud_identity** | **Boolean** | | [optional] |
94
98
  | **user_name** | **String** | | [optional] |
99
+ | **user_password** | **String** | | [optional] |
95
100
  | **username** | **String** | | [optional] |
96
101
  | **venafi_api_key** | **String** | | [optional] |
97
102
  | **venafi_base_url** | **String** | | [optional] |
@@ -106,11 +111,13 @@
106
111
  require 'akeyless'
107
112
 
108
113
  instance = Akeyless::TargetTypeDetailsInput.new(
114
+ administrative_port: null,
109
115
  app_private_key: null,
110
116
  artifactory_admin_apikey: null,
111
117
  artifactory_admin_username: null,
112
118
  artifactory_base_url: null,
113
119
  auth_flow: null,
120
+ authorization_port: null,
114
121
  aws_access_key_id: null,
115
122
  aws_region: null,
116
123
  aws_secret_access_key: null,
@@ -180,9 +187,11 @@ instance = Akeyless::TargetTypeDetailsInput.new(
180
187
  mongodb_username: null,
181
188
  password: null,
182
189
  payload: null,
190
+ ping_url: null,
183
191
  port: null,
184
192
  private_key: null,
185
193
  private_key_password: null,
194
+ privileged_user: null,
186
195
  rabbitmq_server_password: null,
187
196
  rabbitmq_server_uri: null,
188
197
  rabbitmq_server_user: null,
@@ -194,6 +203,7 @@ instance = Akeyless::TargetTypeDetailsInput.new(
194
203
  url: null,
195
204
  use_gw_cloud_identity: null,
196
205
  user_name: null,
206
+ user_password: null,
197
207
  username: null,
198
208
  venafi_api_key: null,
199
209
  venafi_base_url: null,
@@ -0,0 +1,44 @@
1
+ # Akeyless::UpdatePingTarget
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **administrative_port** | **String** | Ping Federate administrative port | [optional][default to '9999'] |
8
+ | **authorization_port** | **String** | Ping Federate authorization port | [optional][default to '9031'] |
9
+ | **comment** | **String** | Comment about the target | [optional] |
10
+ | **json** | **Boolean** | Set output format to JSON | [optional] |
11
+ | **keep_prev_version** | **String** | | [optional] |
12
+ | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
13
+ | **name** | **String** | Target name | |
14
+ | **new_name** | **String** | New target name | [optional] |
15
+ | **password** | **String** | Ping Federate privileged user password | [optional] |
16
+ | **ping_url** | **String** | Ping URL | [optional] |
17
+ | **privileged_user** | **String** | Ping Federate privileged user | [optional] |
18
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
19
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
20
+ | **update_version** | **Boolean** | Deprecated | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'akeyless'
26
+
27
+ instance = Akeyless::UpdatePingTarget.new(
28
+ administrative_port: null,
29
+ authorization_port: null,
30
+ comment: null,
31
+ json: null,
32
+ keep_prev_version: null,
33
+ key: null,
34
+ name: null,
35
+ new_name: null,
36
+ password: null,
37
+ ping_url: null,
38
+ privileged_user: null,
39
+ token: null,
40
+ uid_token: null,
41
+ update_version: null
42
+ )
43
+ ```
44
+
@@ -20,6 +20,7 @@
20
20
  | **new_name** | **String** | New item name | [optional] |
21
21
  | **new_version** | **Boolean** | Deprecated | [optional] |
22
22
  | **rm_tag** | **Array<String>** | List of the existent tags that will be removed from this item | [optional] |
23
+ | **rotate_after_disconnect** | **String** | Rotate the value of the secret after SRA session ends | [optional][default to 'false'] |
23
24
  | **rotated_password** | **String** | | [optional] |
24
25
  | **rotated_username** | **String** | | [optional] |
25
26
  | **rotation_hour** | **Integer** | | [optional] |
@@ -67,6 +68,7 @@ instance = Akeyless::UpdateRotatedSecret.new(
67
68
  new_name: null,
68
69
  new_version: null,
69
70
  rm_tag: null,
71
+ rotate_after_disconnect: null,
70
72
  rotated_password: null,
71
73
  rotated_username: null,
72
74
  rotation_hour: null,
data/docs/V2Api.md CHANGED
@@ -37,6 +37,7 @@ All URIs are relative to *https://api.akeyless.io*
37
37
  | [**create_gke_target**](V2Api.md#create_gke_target) | **POST** /create-gke-target | |
38
38
  | [**create_key**](V2Api.md#create_key) | **POST** /create-key | |
39
39
  | [**create_native_k8_s_target**](V2Api.md#create_native_k8_s_target) | **POST** /create-k8s-target | |
40
+ | [**create_ping_target**](V2Api.md#create_ping_target) | **POST** /create-ping-target | |
40
41
  | [**create_pki_cert_issuer**](V2Api.md#create_pki_cert_issuer) | **POST** /create-pki-cert-issuer | |
41
42
  | [**create_rabbit_mq_target**](V2Api.md#create_rabbit_mq_target) | **POST** /create-rabbitmq-target | |
42
43
  | [**create_role**](V2Api.md#create_role) | **POST** /create-role | |
@@ -92,6 +93,7 @@ All URIs are relative to *https://api.akeyless.io*
92
93
  | [**gateway_create_producer_my_sql**](V2Api.md#gateway_create_producer_my_sql) | **POST** /gateway-create-producer-mysql | |
93
94
  | [**gateway_create_producer_native_k8_s**](V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s | |
94
95
  | [**gateway_create_producer_oracle_db**](V2Api.md#gateway_create_producer_oracle_db) | **POST** /gateway-create-producer-oracle | |
96
+ | [**gateway_create_producer_ping**](V2Api.md#gateway_create_producer_ping) | **POST** /gateway-create-producer-ping | |
95
97
  | [**gateway_create_producer_postgre_sql**](V2Api.md#gateway_create_producer_postgre_sql) | **POST** /gateway-create-producer-postgresql | |
96
98
  | [**gateway_create_producer_rabbit_mq**](V2Api.md#gateway_create_producer_rabbit_mq) | **POST** /gateway-create-producer-rabbitmq | |
97
99
  | [**gateway_create_producer_rdp**](V2Api.md#gateway_create_producer_rdp) | **POST** /gateway-create-producer-rdp | |
@@ -138,6 +140,7 @@ All URIs are relative to *https://api.akeyless.io*
138
140
  | [**gateway_update_producer_my_sql**](V2Api.md#gateway_update_producer_my_sql) | **POST** /gateway-update-producer-mysql | |
139
141
  | [**gateway_update_producer_native_k8_s**](V2Api.md#gateway_update_producer_native_k8_s) | **POST** /gateway-update-producer-k8s | |
140
142
  | [**gateway_update_producer_oracle_db**](V2Api.md#gateway_update_producer_oracle_db) | **POST** /gateway-update-producer-oracle | |
143
+ | [**gateway_update_producer_ping**](V2Api.md#gateway_update_producer_ping) | **POST** /gateway-update-producer-ping | |
141
144
  | [**gateway_update_producer_postgre_sql**](V2Api.md#gateway_update_producer_postgre_sql) | **POST** /gateway-update-producer-postgresql | |
142
145
  | [**gateway_update_producer_rabbit_mq**](V2Api.md#gateway_update_producer_rabbit_mq) | **POST** /gateway-update-producer-rabbitmq | |
143
146
  | [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
@@ -234,6 +237,7 @@ All URIs are relative to *https://api.akeyless.io*
234
237
  | [**update_ldap_target**](V2Api.md#update_ldap_target) | **POST** /update-ldap-target | |
235
238
  | [**update_ldap_target_details**](V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | |
236
239
  | [**update_native_k8_s_target**](V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target | |
240
+ | [**update_ping_target**](V2Api.md#update_ping_target) | **POST** /update-ping-target | |
237
241
  | [**update_pki_cert_issuer**](V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer | |
238
242
  | [**update_rabbit_mq_target**](V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target | |
239
243
  | [**update_rabbit_mq_target_details**](V2Api.md#update_rabbit_mq_target_details) | **POST** /update-rabbitmq-target-details | |
@@ -2304,6 +2308,68 @@ No authorization required
2304
2308
  - **Accept**: application/json
2305
2309
 
2306
2310
 
2311
+ ## create_ping_target
2312
+
2313
+ > <CreatePingTargetOutput> create_ping_target(body)
2314
+
2315
+
2316
+
2317
+ ### Examples
2318
+
2319
+ ```ruby
2320
+ require 'time'
2321
+ require 'akeyless'
2322
+
2323
+ api_instance = Akeyless::V2Api.new
2324
+ body = Akeyless::CreatePingTarget.new({name: 'name_example'}) # CreatePingTarget |
2325
+
2326
+ begin
2327
+
2328
+ result = api_instance.create_ping_target(body)
2329
+ p result
2330
+ rescue Akeyless::ApiError => e
2331
+ puts "Error when calling V2Api->create_ping_target: #{e}"
2332
+ end
2333
+ ```
2334
+
2335
+ #### Using the create_ping_target_with_http_info variant
2336
+
2337
+ This returns an Array which contains the response data, status code and headers.
2338
+
2339
+ > <Array(<CreatePingTargetOutput>, Integer, Hash)> create_ping_target_with_http_info(body)
2340
+
2341
+ ```ruby
2342
+ begin
2343
+
2344
+ data, status_code, headers = api_instance.create_ping_target_with_http_info(body)
2345
+ p status_code # => 2xx
2346
+ p headers # => { ... }
2347
+ p data # => <CreatePingTargetOutput>
2348
+ rescue Akeyless::ApiError => e
2349
+ puts "Error when calling V2Api->create_ping_target_with_http_info: #{e}"
2350
+ end
2351
+ ```
2352
+
2353
+ ### Parameters
2354
+
2355
+ | Name | Type | Description | Notes |
2356
+ | ---- | ---- | ----------- | ----- |
2357
+ | **body** | [**CreatePingTarget**](CreatePingTarget.md) | | |
2358
+
2359
+ ### Return type
2360
+
2361
+ [**CreatePingTargetOutput**](CreatePingTargetOutput.md)
2362
+
2363
+ ### Authorization
2364
+
2365
+ No authorization required
2366
+
2367
+ ### HTTP request headers
2368
+
2369
+ - **Content-Type**: application/json
2370
+ - **Accept**: application/json
2371
+
2372
+
2307
2373
  ## create_pki_cert_issuer
2308
2374
 
2309
2375
  > <CreatePKICertIssuerOutput> create_pki_cert_issuer(body)
@@ -5716,6 +5782,68 @@ No authorization required
5716
5782
  - **Accept**: application/json
5717
5783
 
5718
5784
 
5785
+ ## gateway_create_producer_ping
5786
+
5787
+ > <GatewayCreateProducerPingOutput> gateway_create_producer_ping(body)
5788
+
5789
+
5790
+
5791
+ ### Examples
5792
+
5793
+ ```ruby
5794
+ require 'time'
5795
+ require 'akeyless'
5796
+
5797
+ api_instance = Akeyless::V2Api.new
5798
+ body = Akeyless::GatewayCreateProducerPing.new({name: 'name_example'}) # GatewayCreateProducerPing |
5799
+
5800
+ begin
5801
+
5802
+ result = api_instance.gateway_create_producer_ping(body)
5803
+ p result
5804
+ rescue Akeyless::ApiError => e
5805
+ puts "Error when calling V2Api->gateway_create_producer_ping: #{e}"
5806
+ end
5807
+ ```
5808
+
5809
+ #### Using the gateway_create_producer_ping_with_http_info variant
5810
+
5811
+ This returns an Array which contains the response data, status code and headers.
5812
+
5813
+ > <Array(<GatewayCreateProducerPingOutput>, Integer, Hash)> gateway_create_producer_ping_with_http_info(body)
5814
+
5815
+ ```ruby
5816
+ begin
5817
+
5818
+ data, status_code, headers = api_instance.gateway_create_producer_ping_with_http_info(body)
5819
+ p status_code # => 2xx
5820
+ p headers # => { ... }
5821
+ p data # => <GatewayCreateProducerPingOutput>
5822
+ rescue Akeyless::ApiError => e
5823
+ puts "Error when calling V2Api->gateway_create_producer_ping_with_http_info: #{e}"
5824
+ end
5825
+ ```
5826
+
5827
+ ### Parameters
5828
+
5829
+ | Name | Type | Description | Notes |
5830
+ | ---- | ---- | ----------- | ----- |
5831
+ | **body** | [**GatewayCreateProducerPing**](GatewayCreateProducerPing.md) | | |
5832
+
5833
+ ### Return type
5834
+
5835
+ [**GatewayCreateProducerPingOutput**](GatewayCreateProducerPingOutput.md)
5836
+
5837
+ ### Authorization
5838
+
5839
+ No authorization required
5840
+
5841
+ ### HTTP request headers
5842
+
5843
+ - **Content-Type**: application/json
5844
+ - **Accept**: application/json
5845
+
5846
+
5719
5847
  ## gateway_create_producer_postgre_sql
5720
5848
 
5721
5849
  > <GatewayCreateProducerPostgreSQLOutput> gateway_create_producer_postgre_sql(body)
@@ -8571,6 +8699,68 @@ No authorization required
8571
8699
  - **Accept**: application/json
8572
8700
 
8573
8701
 
8702
+ ## gateway_update_producer_ping
8703
+
8704
+ > <GatewayUpdateProducerPingOutput> gateway_update_producer_ping(body)
8705
+
8706
+
8707
+
8708
+ ### Examples
8709
+
8710
+ ```ruby
8711
+ require 'time'
8712
+ require 'akeyless'
8713
+
8714
+ api_instance = Akeyless::V2Api.new
8715
+ body = Akeyless::GatewayUpdateProducerPing.new({name: 'name_example'}) # GatewayUpdateProducerPing |
8716
+
8717
+ begin
8718
+
8719
+ result = api_instance.gateway_update_producer_ping(body)
8720
+ p result
8721
+ rescue Akeyless::ApiError => e
8722
+ puts "Error when calling V2Api->gateway_update_producer_ping: #{e}"
8723
+ end
8724
+ ```
8725
+
8726
+ #### Using the gateway_update_producer_ping_with_http_info variant
8727
+
8728
+ This returns an Array which contains the response data, status code and headers.
8729
+
8730
+ > <Array(<GatewayUpdateProducerPingOutput>, Integer, Hash)> gateway_update_producer_ping_with_http_info(body)
8731
+
8732
+ ```ruby
8733
+ begin
8734
+
8735
+ data, status_code, headers = api_instance.gateway_update_producer_ping_with_http_info(body)
8736
+ p status_code # => 2xx
8737
+ p headers # => { ... }
8738
+ p data # => <GatewayUpdateProducerPingOutput>
8739
+ rescue Akeyless::ApiError => e
8740
+ puts "Error when calling V2Api->gateway_update_producer_ping_with_http_info: #{e}"
8741
+ end
8742
+ ```
8743
+
8744
+ ### Parameters
8745
+
8746
+ | Name | Type | Description | Notes |
8747
+ | ---- | ---- | ----------- | ----- |
8748
+ | **body** | [**GatewayUpdateProducerPing**](GatewayUpdateProducerPing.md) | | |
8749
+
8750
+ ### Return type
8751
+
8752
+ [**GatewayUpdateProducerPingOutput**](GatewayUpdateProducerPingOutput.md)
8753
+
8754
+ ### Authorization
8755
+
8756
+ No authorization required
8757
+
8758
+ ### HTTP request headers
8759
+
8760
+ - **Content-Type**: application/json
8761
+ - **Accept**: application/json
8762
+
8763
+
8574
8764
  ## gateway_update_producer_postgre_sql
8575
8765
 
8576
8766
  > <GatewayUpdateProducerPostgreSQLOutput> gateway_update_producer_postgre_sql(body)
@@ -14542,6 +14732,68 @@ No authorization required
14542
14732
  - **Accept**: application/json
14543
14733
 
14544
14734
 
14735
+ ## update_ping_target
14736
+
14737
+ > Object update_ping_target(body)
14738
+
14739
+
14740
+
14741
+ ### Examples
14742
+
14743
+ ```ruby
14744
+ require 'time'
14745
+ require 'akeyless'
14746
+
14747
+ api_instance = Akeyless::V2Api.new
14748
+ body = Akeyless::UpdatePingTarget.new({name: 'name_example'}) # UpdatePingTarget |
14749
+
14750
+ begin
14751
+
14752
+ result = api_instance.update_ping_target(body)
14753
+ p result
14754
+ rescue Akeyless::ApiError => e
14755
+ puts "Error when calling V2Api->update_ping_target: #{e}"
14756
+ end
14757
+ ```
14758
+
14759
+ #### Using the update_ping_target_with_http_info variant
14760
+
14761
+ This returns an Array which contains the response data, status code and headers.
14762
+
14763
+ > <Array(Object, Integer, Hash)> update_ping_target_with_http_info(body)
14764
+
14765
+ ```ruby
14766
+ begin
14767
+
14768
+ data, status_code, headers = api_instance.update_ping_target_with_http_info(body)
14769
+ p status_code # => 2xx
14770
+ p headers # => { ... }
14771
+ p data # => Object
14772
+ rescue Akeyless::ApiError => e
14773
+ puts "Error when calling V2Api->update_ping_target_with_http_info: #{e}"
14774
+ end
14775
+ ```
14776
+
14777
+ ### Parameters
14778
+
14779
+ | Name | Type | Description | Notes |
14780
+ | ---- | ---- | ----------- | ----- |
14781
+ | **body** | [**UpdatePingTarget**](UpdatePingTarget.md) | | |
14782
+
14783
+ ### Return type
14784
+
14785
+ **Object**
14786
+
14787
+ ### Authorization
14788
+
14789
+ No authorization required
14790
+
14791
+ ### HTTP request headers
14792
+
14793
+ - **Content-Type**: application/json
14794
+ - **Accept**: application/json
14795
+
14796
+
14545
14797
  ## update_pki_cert_issuer
14546
14798
 
14547
14799
  > <UpdatePKICertIssuerOutput> update_pki_cert_issuer(body)