akeyless 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/docs/CreateAWSTarget.md +3 -1
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAzureTarget.md +3 -1
- data/docs/CreateDBTarget.md +3 -1
- data/docs/CreateDockerhubTarget.md +3 -1
- data/docs/CreateEKSTarget.md +3 -1
- data/docs/CreateEventForwarder.md +3 -1
- data/docs/CreateGKETarget.md +3 -1
- data/docs/CreateGcpTarget.md +3 -1
- data/docs/CreateGithubTarget.md +3 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreateNativeK8STarget.md +3 -1
- data/docs/CreatePingTarget.md +40 -0
- data/docs/CreatePingTargetOutput.md +18 -0
- data/docs/CreateRabbitMQTarget.md +3 -1
- data/docs/CreateRole.md +3 -1
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/CreateSSHTarget.md +3 -1
- data/docs/CreateSalesforceTarget.md +3 -1
- data/docs/CreateWebTarget.md +3 -1
- data/docs/DSProducerDetails.md +40 -0
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayCreateProducerPing.md +66 -0
- data/docs/GatewayCreateProducerPingOutput.md +18 -0
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerPing.md +68 -0
- data/docs/GatewayUpdateProducerPingOutput.md +18 -0
- data/docs/GetKubeExecCreds.md +5 -3
- data/docs/GetPKICertificate.md +5 -3
- data/docs/ImporterInfo.md +20 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/RequestAccess.md +3 -1
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/TargetTypeDetailsInput.md +10 -0
- data/docs/UidCreateChildToken.md +3 -1
- data/docs/UpdateAWSTarget.md +3 -1
- data/docs/UpdateArtifactoryTarget.md +3 -1
- data/docs/UpdateAzureTarget.md +3 -1
- data/docs/UpdateDBTarget.md +3 -1
- data/docs/UpdateDockerhubTarget.md +3 -1
- data/docs/UpdateEKSTarget.md +3 -1
- data/docs/UpdateEventForwarder.md +3 -1
- data/docs/UpdateGKETarget.md +3 -1
- data/docs/UpdateGcpTarget.md +3 -1
- data/docs/UpdateGithubTarget.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdateNativeK8STarget.md +3 -1
- data/docs/UpdatePingTarget.md +46 -0
- data/docs/UpdateRabbitMQTarget.md +3 -1
- data/docs/UpdateRole.md +3 -1
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/UpdateSSHTarget.md +3 -1
- data/docs/UpdateSalesforceTarget.md +3 -1
- data/docs/UpdateTarget.md +3 -1
- data/docs/UpdateWebTarget.md +3 -1
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_artifactory_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_azure_target.rb +12 -2
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_event_forwarder.rb +12 -2
- data/lib/akeyless/models/create_gcp_target.rb +12 -2
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_ldap_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_ping_target.rb +339 -0
- data/lib/akeyless/models/create_ping_target_output.rb +219 -0
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +13 -1
- data/lib/akeyless/models/create_salesforce_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/ds_producer_details.rb +196 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
- data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
- data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
- data/lib/akeyless/models/get_pki_certificate.rb +14 -4
- data/lib/akeyless/models/importer_info.rb +228 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/request_access.rb +12 -2
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +46 -1
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +12 -2
- data/lib/akeyless/models/update_db_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_event_forwarder.rb +14 -2
- data/lib/akeyless/models/update_gcp_target.rb +12 -2
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_ldap_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_ping_target.rb +368 -0
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_role.rb +14 -2
- data/lib/akeyless/models/update_rotated_secret.rb +13 -1
- data/lib/akeyless/models/update_salesforce_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_target.rb +14 -2
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -0
- data/spec/models/create_ping_target_output_spec.rb +34 -0
- data/spec/models/create_ping_target_spec.rb +94 -0
- data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
- data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
- data/spec/models/importer_info_spec.rb +40 -0
- data/spec/models/update_ping_target_spec.rb +112 -0
- metadata +594 -562
@@ -55,6 +55,8 @@ module Akeyless
|
|
55
55
|
|
56
56
|
attr_accessor :region
|
57
57
|
|
58
|
+
attr_accessor :rotate_after_disconnect
|
59
|
+
|
58
60
|
attr_accessor :schema
|
59
61
|
|
60
62
|
attr_accessor :ssh_password
|
@@ -92,6 +94,7 @@ module Akeyless
|
|
92
94
|
:'native' => :'native',
|
93
95
|
:'rdp_user' => :'rdp_user',
|
94
96
|
:'region' => :'region',
|
97
|
+
:'rotate_after_disconnect' => :'rotate_after_disconnect',
|
95
98
|
:'schema' => :'schema',
|
96
99
|
:'ssh_password' => :'ssh_password',
|
97
100
|
:'ssh_private_key' => :'ssh_private_key',
|
@@ -130,6 +133,7 @@ module Akeyless
|
|
130
133
|
:'native' => :'Boolean',
|
131
134
|
:'rdp_user' => :'String',
|
132
135
|
:'region' => :'String',
|
136
|
+
:'rotate_after_disconnect' => :'Boolean',
|
133
137
|
:'schema' => :'String',
|
134
138
|
:'ssh_password' => :'Boolean',
|
135
139
|
:'ssh_private_key' => :'Boolean',
|
@@ -243,6 +247,10 @@ module Akeyless
|
|
243
247
|
self.region = attributes[:'region']
|
244
248
|
end
|
245
249
|
|
250
|
+
if attributes.key?(:'rotate_after_disconnect')
|
251
|
+
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
252
|
+
end
|
253
|
+
|
246
254
|
if attributes.key?(:'schema')
|
247
255
|
self.schema = attributes[:'schema']
|
248
256
|
end
|
@@ -310,6 +318,7 @@ module Akeyless
|
|
310
318
|
native == o.native &&
|
311
319
|
rdp_user == o.rdp_user &&
|
312
320
|
region == o.region &&
|
321
|
+
rotate_after_disconnect == o.rotate_after_disconnect &&
|
313
322
|
schema == o.schema &&
|
314
323
|
ssh_password == o.ssh_password &&
|
315
324
|
ssh_private_key == o.ssh_private_key &&
|
@@ -328,7 +337,7 @@ module Akeyless
|
|
328
337
|
# Calculates hash code according to all attributes.
|
329
338
|
# @return [Integer] Hash code
|
330
339
|
def hash
|
331
|
-
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, category, dashboard_url, db_name, domain, enable, endpoint, host, is_cli, is_web, isolated, native, rdp_user, region, schema, ssh_password, ssh_private_key, ssh_user, url, use_internal_bastion, web_proxy].hash
|
340
|
+
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, category, dashboard_url, db_name, domain, enable, endpoint, host, is_cli, is_web, isolated, native, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, url, use_internal_bastion, web_proxy].hash
|
332
341
|
end
|
333
342
|
|
334
343
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class TargetTypeDetailsInput
|
18
|
+
attr_accessor :administrative_port
|
19
|
+
|
18
20
|
# params needed for jwt auth AppPrivateKey is the rsa private key in PEM format
|
19
21
|
attr_accessor :app_private_key
|
20
22
|
|
@@ -26,6 +28,8 @@ module Akeyless
|
|
26
28
|
|
27
29
|
attr_accessor :auth_flow
|
28
30
|
|
31
|
+
attr_accessor :authorization_port
|
32
|
+
|
29
33
|
attr_accessor :aws_access_key_id
|
30
34
|
|
31
35
|
attr_accessor :aws_region
|
@@ -174,12 +178,16 @@ module Akeyless
|
|
174
178
|
|
175
179
|
attr_accessor :payload
|
176
180
|
|
181
|
+
attr_accessor :ping_url
|
182
|
+
|
177
183
|
attr_accessor :port
|
178
184
|
|
179
185
|
attr_accessor :private_key
|
180
186
|
|
181
187
|
attr_accessor :private_key_password
|
182
188
|
|
189
|
+
attr_accessor :privileged_user
|
190
|
+
|
183
191
|
attr_accessor :rabbitmq_server_password
|
184
192
|
|
185
193
|
attr_accessor :rabbitmq_server_uri
|
@@ -204,6 +212,8 @@ module Akeyless
|
|
204
212
|
|
205
213
|
attr_accessor :user_name
|
206
214
|
|
215
|
+
attr_accessor :user_password
|
216
|
+
|
207
217
|
attr_accessor :username
|
208
218
|
|
209
219
|
attr_accessor :venafi_api_key
|
@@ -221,11 +231,13 @@ module Akeyless
|
|
221
231
|
# Attribute mapping from ruby-style variable name to JSON key.
|
222
232
|
def self.attribute_map
|
223
233
|
{
|
234
|
+
:'administrative_port' => :'administrative_port',
|
224
235
|
:'app_private_key' => :'app_private_key',
|
225
236
|
:'artifactory_admin_apikey' => :'artifactory_admin_apikey',
|
226
237
|
:'artifactory_admin_username' => :'artifactory_admin_username',
|
227
238
|
:'artifactory_base_url' => :'artifactory_base_url',
|
228
239
|
:'auth_flow' => :'auth_flow',
|
240
|
+
:'authorization_port' => :'authorization_port',
|
229
241
|
:'aws_access_key_id' => :'aws_access_key_id',
|
230
242
|
:'aws_region' => :'aws_region',
|
231
243
|
:'aws_secret_access_key' => :'aws_secret_access_key',
|
@@ -295,9 +307,11 @@ module Akeyless
|
|
295
307
|
:'mongodb_username' => :'mongodb_username',
|
296
308
|
:'password' => :'password',
|
297
309
|
:'payload' => :'payload',
|
310
|
+
:'ping_url' => :'ping_url',
|
298
311
|
:'port' => :'port',
|
299
312
|
:'private_key' => :'private_key',
|
300
313
|
:'private_key_password' => :'private_key_password',
|
314
|
+
:'privileged_user' => :'privileged_user',
|
301
315
|
:'rabbitmq_server_password' => :'rabbitmq_server_password',
|
302
316
|
:'rabbitmq_server_uri' => :'rabbitmq_server_uri',
|
303
317
|
:'rabbitmq_server_user' => :'rabbitmq_server_user',
|
@@ -309,6 +323,7 @@ module Akeyless
|
|
309
323
|
:'url' => :'url',
|
310
324
|
:'use_gw_cloud_identity' => :'use_gw_cloud_identity',
|
311
325
|
:'user_name' => :'user_name',
|
326
|
+
:'user_password' => :'user_password',
|
312
327
|
:'username' => :'username',
|
313
328
|
:'venafi_api_key' => :'venafi_api_key',
|
314
329
|
:'venafi_base_url' => :'venafi_base_url',
|
@@ -327,11 +342,13 @@ module Akeyless
|
|
327
342
|
# Attribute type mapping.
|
328
343
|
def self.openapi_types
|
329
344
|
{
|
345
|
+
:'administrative_port' => :'String',
|
330
346
|
:'app_private_key' => :'Array<Integer>',
|
331
347
|
:'artifactory_admin_apikey' => :'String',
|
332
348
|
:'artifactory_admin_username' => :'String',
|
333
349
|
:'artifactory_base_url' => :'String',
|
334
350
|
:'auth_flow' => :'String',
|
351
|
+
:'authorization_port' => :'String',
|
335
352
|
:'aws_access_key_id' => :'String',
|
336
353
|
:'aws_region' => :'String',
|
337
354
|
:'aws_secret_access_key' => :'String',
|
@@ -401,9 +418,11 @@ module Akeyless
|
|
401
418
|
:'mongodb_username' => :'String',
|
402
419
|
:'password' => :'String',
|
403
420
|
:'payload' => :'String',
|
421
|
+
:'ping_url' => :'String',
|
404
422
|
:'port' => :'String',
|
405
423
|
:'private_key' => :'String',
|
406
424
|
:'private_key_password' => :'String',
|
425
|
+
:'privileged_user' => :'String',
|
407
426
|
:'rabbitmq_server_password' => :'String',
|
408
427
|
:'rabbitmq_server_uri' => :'String',
|
409
428
|
:'rabbitmq_server_user' => :'String',
|
@@ -415,6 +434,7 @@ module Akeyless
|
|
415
434
|
:'url' => :'String',
|
416
435
|
:'use_gw_cloud_identity' => :'Boolean',
|
417
436
|
:'user_name' => :'String',
|
437
|
+
:'user_password' => :'String',
|
418
438
|
:'username' => :'String',
|
419
439
|
:'venafi_api_key' => :'String',
|
420
440
|
:'venafi_base_url' => :'String',
|
@@ -446,6 +466,10 @@ module Akeyless
|
|
446
466
|
h[k.to_sym] = v
|
447
467
|
}
|
448
468
|
|
469
|
+
if attributes.key?(:'administrative_port')
|
470
|
+
self.administrative_port = attributes[:'administrative_port']
|
471
|
+
end
|
472
|
+
|
449
473
|
if attributes.key?(:'app_private_key')
|
450
474
|
if (value = attributes[:'app_private_key']).is_a?(Array)
|
451
475
|
self.app_private_key = value
|
@@ -468,6 +492,10 @@ module Akeyless
|
|
468
492
|
self.auth_flow = attributes[:'auth_flow']
|
469
493
|
end
|
470
494
|
|
495
|
+
if attributes.key?(:'authorization_port')
|
496
|
+
self.authorization_port = attributes[:'authorization_port']
|
497
|
+
end
|
498
|
+
|
471
499
|
if attributes.key?(:'aws_access_key_id')
|
472
500
|
self.aws_access_key_id = attributes[:'aws_access_key_id']
|
473
501
|
end
|
@@ -746,6 +774,10 @@ module Akeyless
|
|
746
774
|
self.payload = attributes[:'payload']
|
747
775
|
end
|
748
776
|
|
777
|
+
if attributes.key?(:'ping_url')
|
778
|
+
self.ping_url = attributes[:'ping_url']
|
779
|
+
end
|
780
|
+
|
749
781
|
if attributes.key?(:'port')
|
750
782
|
self.port = attributes[:'port']
|
751
783
|
end
|
@@ -758,6 +790,10 @@ module Akeyless
|
|
758
790
|
self.private_key_password = attributes[:'private_key_password']
|
759
791
|
end
|
760
792
|
|
793
|
+
if attributes.key?(:'privileged_user')
|
794
|
+
self.privileged_user = attributes[:'privileged_user']
|
795
|
+
end
|
796
|
+
|
761
797
|
if attributes.key?(:'rabbitmq_server_password')
|
762
798
|
self.rabbitmq_server_password = attributes[:'rabbitmq_server_password']
|
763
799
|
end
|
@@ -802,6 +838,10 @@ module Akeyless
|
|
802
838
|
self.user_name = attributes[:'user_name']
|
803
839
|
end
|
804
840
|
|
841
|
+
if attributes.key?(:'user_password')
|
842
|
+
self.user_password = attributes[:'user_password']
|
843
|
+
end
|
844
|
+
|
805
845
|
if attributes.key?(:'username')
|
806
846
|
self.username = attributes[:'username']
|
807
847
|
end
|
@@ -849,11 +889,13 @@ module Akeyless
|
|
849
889
|
def ==(o)
|
850
890
|
return true if self.equal?(o)
|
851
891
|
self.class == o.class &&
|
892
|
+
administrative_port == o.administrative_port &&
|
852
893
|
app_private_key == o.app_private_key &&
|
853
894
|
artifactory_admin_apikey == o.artifactory_admin_apikey &&
|
854
895
|
artifactory_admin_username == o.artifactory_admin_username &&
|
855
896
|
artifactory_base_url == o.artifactory_base_url &&
|
856
897
|
auth_flow == o.auth_flow &&
|
898
|
+
authorization_port == o.authorization_port &&
|
857
899
|
aws_access_key_id == o.aws_access_key_id &&
|
858
900
|
aws_region == o.aws_region &&
|
859
901
|
aws_secret_access_key == o.aws_secret_access_key &&
|
@@ -923,9 +965,11 @@ module Akeyless
|
|
923
965
|
mongodb_username == o.mongodb_username &&
|
924
966
|
password == o.password &&
|
925
967
|
payload == o.payload &&
|
968
|
+
ping_url == o.ping_url &&
|
926
969
|
port == o.port &&
|
927
970
|
private_key == o.private_key &&
|
928
971
|
private_key_password == o.private_key_password &&
|
972
|
+
privileged_user == o.privileged_user &&
|
929
973
|
rabbitmq_server_password == o.rabbitmq_server_password &&
|
930
974
|
rabbitmq_server_uri == o.rabbitmq_server_uri &&
|
931
975
|
rabbitmq_server_user == o.rabbitmq_server_user &&
|
@@ -937,6 +981,7 @@ module Akeyless
|
|
937
981
|
url == o.url &&
|
938
982
|
use_gw_cloud_identity == o.use_gw_cloud_identity &&
|
939
983
|
user_name == o.user_name &&
|
984
|
+
user_password == o.user_password &&
|
940
985
|
username == o.username &&
|
941
986
|
venafi_api_key == o.venafi_api_key &&
|
942
987
|
venafi_base_url == o.venafi_base_url &&
|
@@ -955,7 +1000,7 @@ module Akeyless
|
|
955
1000
|
# Calculates hash code according to all attributes.
|
956
1001
|
# @return [Integer] Hash code
|
957
1002
|
def hash
|
958
|
-
[app_private_key, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, gcp_service_account_email, gcp_service_account_key, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, implementation_type, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, port, private_key, private_key_password, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, url, use_gw_cloud_identity, user_name, username, venafi_api_key, venafi_base_url, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
|
1003
|
+
[administrative_port, app_private_key, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, authorization_port, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, gcp_service_account_email, gcp_service_account_key, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, implementation_type, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, ping_url, port, private_key, private_key_password, privileged_user, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, url, use_gw_cloud_identity, user_name, user_password, username, venafi_api_key, venafi_base_url, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
|
959
1004
|
end
|
960
1005
|
|
961
1006
|
# Builds the object from hash
|
@@ -28,9 +28,12 @@ module Akeyless
|
|
28
28
|
# New child token ttl
|
29
29
|
attr_accessor :child_ttl
|
30
30
|
|
31
|
-
#
|
31
|
+
# Deprecated - use description
|
32
32
|
attr_accessor :comment
|
33
33
|
|
34
|
+
# Description of the object
|
35
|
+
attr_accessor :description
|
36
|
+
|
34
37
|
# Set output format to JSON
|
35
38
|
attr_accessor :json
|
36
39
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
51
54
|
:'child_deny_rotate' => :'child-deny-rotate',
|
52
55
|
:'child_ttl' => :'child-ttl',
|
53
56
|
:'comment' => :'comment',
|
57
|
+
:'description' => :'description',
|
54
58
|
:'json' => :'json',
|
55
59
|
:'token' => :'token',
|
56
60
|
:'uid_token' => :'uid-token',
|
@@ -71,6 +75,7 @@ module Akeyless
|
|
71
75
|
:'child_deny_rotate' => :'Boolean',
|
72
76
|
:'child_ttl' => :'Integer',
|
73
77
|
:'comment' => :'String',
|
78
|
+
:'description' => :'String',
|
74
79
|
:'json' => :'Boolean',
|
75
80
|
:'token' => :'String',
|
76
81
|
:'uid_token' => :'String',
|
@@ -119,6 +124,10 @@ module Akeyless
|
|
119
124
|
self.comment = attributes[:'comment']
|
120
125
|
end
|
121
126
|
|
127
|
+
if attributes.key?(:'description')
|
128
|
+
self.description = attributes[:'description']
|
129
|
+
end
|
130
|
+
|
122
131
|
if attributes.key?(:'json')
|
123
132
|
self.json = attributes[:'json']
|
124
133
|
end
|
@@ -159,6 +168,7 @@ module Akeyless
|
|
159
168
|
child_deny_rotate == o.child_deny_rotate &&
|
160
169
|
child_ttl == o.child_ttl &&
|
161
170
|
comment == o.comment &&
|
171
|
+
description == o.description &&
|
162
172
|
json == o.json &&
|
163
173
|
token == o.token &&
|
164
174
|
uid_token == o.uid_token &&
|
@@ -174,7 +184,7 @@ module Akeyless
|
|
174
184
|
# Calculates hash code according to all attributes.
|
175
185
|
# @return [Integer] Hash code
|
176
186
|
def hash
|
177
|
-
[auth_method_name, child_deny_inheritance, child_deny_rotate, child_ttl, comment, json, token, uid_token, uid_token_id].hash
|
187
|
+
[auth_method_name, child_deny_inheritance, child_deny_rotate, child_ttl, comment, description, json, token, uid_token, uid_token_id].hash
|
178
188
|
end
|
179
189
|
|
180
190
|
# Builds the object from hash
|
@@ -24,9 +24,12 @@ module Akeyless
|
|
24
24
|
# Base URL
|
25
25
|
attr_accessor :base_url
|
26
26
|
|
27
|
-
#
|
27
|
+
# Deprecated - use description
|
28
28
|
attr_accessor :comment
|
29
29
|
|
30
|
+
# Description of the object
|
31
|
+
attr_accessor :description
|
32
|
+
|
30
33
|
# Set output format to JSON
|
31
34
|
attr_accessor :json
|
32
35
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
57
60
|
:'artifactory_admin_pwd' => :'artifactory-admin-pwd',
|
58
61
|
:'base_url' => :'base-url',
|
59
62
|
:'comment' => :'comment',
|
63
|
+
:'description' => :'description',
|
60
64
|
:'json' => :'json',
|
61
65
|
:'keep_prev_version' => :'keep-prev-version',
|
62
66
|
:'key' => :'key',
|
@@ -80,6 +84,7 @@ module Akeyless
|
|
80
84
|
:'artifactory_admin_pwd' => :'String',
|
81
85
|
:'base_url' => :'String',
|
82
86
|
:'comment' => :'String',
|
87
|
+
:'description' => :'String',
|
83
88
|
:'json' => :'Boolean',
|
84
89
|
:'keep_prev_version' => :'String',
|
85
90
|
:'key' => :'String',
|
@@ -128,6 +133,10 @@ module Akeyless
|
|
128
133
|
self.comment = attributes[:'comment']
|
129
134
|
end
|
130
135
|
|
136
|
+
if attributes.key?(:'description')
|
137
|
+
self.description = attributes[:'description']
|
138
|
+
end
|
139
|
+
|
131
140
|
if attributes.key?(:'json')
|
132
141
|
self.json = attributes[:'json']
|
133
142
|
end
|
@@ -203,6 +212,7 @@ module Akeyless
|
|
203
212
|
artifactory_admin_pwd == o.artifactory_admin_pwd &&
|
204
213
|
base_url == o.base_url &&
|
205
214
|
comment == o.comment &&
|
215
|
+
description == o.description &&
|
206
216
|
json == o.json &&
|
207
217
|
keep_prev_version == o.keep_prev_version &&
|
208
218
|
key == o.key &&
|
@@ -222,7 +232,7 @@ module Akeyless
|
|
222
232
|
# Calculates hash code according to all attributes.
|
223
233
|
# @return [Integer] Hash code
|
224
234
|
def hash
|
225
|
-
[artifactory_admin_name, artifactory_admin_pwd, base_url, comment, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
235
|
+
[artifactory_admin_name, artifactory_admin_pwd, base_url, comment, description, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
226
236
|
end
|
227
237
|
|
228
238
|
# Builds the object from hash
|
@@ -19,9 +19,12 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :access_key_id
|
21
21
|
|
22
|
-
#
|
22
|
+
# Deprecated - use description
|
23
23
|
attr_accessor :comment
|
24
24
|
|
25
|
+
# Description of the object
|
26
|
+
attr_accessor :description
|
27
|
+
|
25
28
|
# Set output format to JSON
|
26
29
|
attr_accessor :json
|
27
30
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
57
60
|
:'access_key' => :'access-key',
|
58
61
|
:'access_key_id' => :'access-key-id',
|
59
62
|
:'comment' => :'comment',
|
63
|
+
:'description' => :'description',
|
60
64
|
:'json' => :'json',
|
61
65
|
:'keep_prev_version' => :'keep-prev-version',
|
62
66
|
:'key' => :'key',
|
@@ -82,6 +86,7 @@ module Akeyless
|
|
82
86
|
:'access_key' => :'String',
|
83
87
|
:'access_key_id' => :'String',
|
84
88
|
:'comment' => :'String',
|
89
|
+
:'description' => :'String',
|
85
90
|
:'json' => :'Boolean',
|
86
91
|
:'keep_prev_version' => :'String',
|
87
92
|
:'key' => :'String',
|
@@ -129,6 +134,10 @@ module Akeyless
|
|
129
134
|
self.comment = attributes[:'comment']
|
130
135
|
end
|
131
136
|
|
137
|
+
if attributes.key?(:'description')
|
138
|
+
self.description = attributes[:'description']
|
139
|
+
end
|
140
|
+
|
132
141
|
if attributes.key?(:'json')
|
133
142
|
self.json = attributes[:'json']
|
134
143
|
end
|
@@ -200,6 +209,7 @@ module Akeyless
|
|
200
209
|
access_key == o.access_key &&
|
201
210
|
access_key_id == o.access_key_id &&
|
202
211
|
comment == o.comment &&
|
212
|
+
description == o.description &&
|
203
213
|
json == o.json &&
|
204
214
|
keep_prev_version == o.keep_prev_version &&
|
205
215
|
key == o.key &&
|
@@ -222,7 +232,7 @@ module Akeyless
|
|
222
232
|
# Calculates hash code according to all attributes.
|
223
233
|
# @return [Integer] Hash code
|
224
234
|
def hash
|
225
|
-
[access_key, access_key_id, comment, json, keep_prev_version, key, name, new_name, region, session_token, token, uid_token, update_version, use_gw_cloud_identity].hash
|
235
|
+
[access_key, access_key_id, comment, description, json, keep_prev_version, key, name, new_name, region, session_token, token, uid_token, update_version, use_gw_cloud_identity].hash
|
226
236
|
end
|
227
237
|
|
228
238
|
# Builds the object from hash
|
@@ -19,9 +19,12 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :client_secret
|
21
21
|
|
22
|
-
#
|
22
|
+
# Deprecated - use description
|
23
23
|
attr_accessor :comment
|
24
24
|
|
25
|
+
# Description of the object
|
26
|
+
attr_accessor :description
|
27
|
+
|
25
28
|
# Set output format to JSON
|
26
29
|
attr_accessor :json
|
27
30
|
|
@@ -64,6 +67,7 @@ module Akeyless
|
|
64
67
|
:'client_id' => :'client-id',
|
65
68
|
:'client_secret' => :'client-secret',
|
66
69
|
:'comment' => :'comment',
|
70
|
+
:'description' => :'description',
|
67
71
|
:'json' => :'json',
|
68
72
|
:'keep_prev_version' => :'keep-prev-version',
|
69
73
|
:'key' => :'key',
|
@@ -91,6 +95,7 @@ module Akeyless
|
|
91
95
|
:'client_id' => :'String',
|
92
96
|
:'client_secret' => :'String',
|
93
97
|
:'comment' => :'String',
|
98
|
+
:'description' => :'String',
|
94
99
|
:'json' => :'Boolean',
|
95
100
|
:'keep_prev_version' => :'String',
|
96
101
|
:'key' => :'String',
|
@@ -140,6 +145,10 @@ module Akeyless
|
|
140
145
|
self.comment = attributes[:'comment']
|
141
146
|
end
|
142
147
|
|
148
|
+
if attributes.key?(:'description')
|
149
|
+
self.description = attributes[:'description']
|
150
|
+
end
|
151
|
+
|
143
152
|
if attributes.key?(:'json')
|
144
153
|
self.json = attributes[:'json']
|
145
154
|
end
|
@@ -219,6 +228,7 @@ module Akeyless
|
|
219
228
|
client_id == o.client_id &&
|
220
229
|
client_secret == o.client_secret &&
|
221
230
|
comment == o.comment &&
|
231
|
+
description == o.description &&
|
222
232
|
json == o.json &&
|
223
233
|
keep_prev_version == o.keep_prev_version &&
|
224
234
|
key == o.key &&
|
@@ -243,7 +253,7 @@ module Akeyless
|
|
243
253
|
# Calculates hash code according to all attributes.
|
244
254
|
# @return [Integer] Hash code
|
245
255
|
def hash
|
246
|
-
[client_id, client_secret, comment, json, keep_prev_version, key, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, update_version, use_gw_cloud_identity].hash
|
256
|
+
[client_id, client_secret, comment, description, json, keep_prev_version, key, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, update_version, use_gw_cloud_identity].hash
|
247
257
|
end
|
248
258
|
|
249
259
|
# Builds the object from hash
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateDBTarget
|
18
|
-
#
|
18
|
+
# Deprecated - use description
|
19
19
|
attr_accessor :comment
|
20
20
|
|
21
21
|
attr_accessor :db_name
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
28
28
|
|
29
29
|
attr_accessor :db_type
|
30
30
|
|
31
|
+
# Description of the object
|
32
|
+
attr_accessor :description
|
33
|
+
|
31
34
|
attr_accessor :host
|
32
35
|
|
33
36
|
# Set output format to JSON
|
@@ -100,6 +103,7 @@ module Akeyless
|
|
100
103
|
:'db_server_certificates' => :'db-server-certificates',
|
101
104
|
:'db_server_name' => :'db-server-name',
|
102
105
|
:'db_type' => :'db-type',
|
106
|
+
:'description' => :'description',
|
103
107
|
:'host' => :'host',
|
104
108
|
:'json' => :'json',
|
105
109
|
:'keep_prev_version' => :'keep-prev-version',
|
@@ -140,6 +144,7 @@ module Akeyless
|
|
140
144
|
:'db_server_certificates' => :'String',
|
141
145
|
:'db_server_name' => :'String',
|
142
146
|
:'db_type' => :'String',
|
147
|
+
:'description' => :'String',
|
143
148
|
:'host' => :'String',
|
144
149
|
:'json' => :'Boolean',
|
145
150
|
:'keep_prev_version' => :'String',
|
@@ -208,6 +213,10 @@ module Akeyless
|
|
208
213
|
self.db_type = attributes[:'db_type']
|
209
214
|
end
|
210
215
|
|
216
|
+
if attributes.key?(:'description')
|
217
|
+
self.description = attributes[:'description']
|
218
|
+
end
|
219
|
+
|
211
220
|
if attributes.key?(:'host')
|
212
221
|
self.host = attributes[:'host']
|
213
222
|
end
|
@@ -338,6 +347,7 @@ module Akeyless
|
|
338
347
|
db_server_certificates == o.db_server_certificates &&
|
339
348
|
db_server_name == o.db_server_name &&
|
340
349
|
db_type == o.db_type &&
|
350
|
+
description == o.description &&
|
341
351
|
host == o.host &&
|
342
352
|
json == o.json &&
|
343
353
|
keep_prev_version == o.keep_prev_version &&
|
@@ -373,7 +383,7 @@ module Akeyless
|
|
373
383
|
# Calculates hash code according to all attributes.
|
374
384
|
# @return [Integer] Hash code
|
375
385
|
def hash
|
376
|
-
[comment, db_name, db_server_certificates, db_server_name, db_type, host, json, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, update_version, user_name].hash
|
386
|
+
[comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, update_version, user_name].hash
|
377
387
|
end
|
378
388
|
|
379
389
|
# Builds the object from hash
|
@@ -15,9 +15,12 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateDockerhubTarget
|
18
|
-
#
|
18
|
+
# Deprecated - use description
|
19
19
|
attr_accessor :comment
|
20
20
|
|
21
|
+
# Description of the object
|
22
|
+
attr_accessor :description
|
23
|
+
|
21
24
|
attr_accessor :dockerhub_password
|
22
25
|
|
23
26
|
attr_accessor :dockerhub_username
|
@@ -49,6 +52,7 @@ module Akeyless
|
|
49
52
|
def self.attribute_map
|
50
53
|
{
|
51
54
|
:'comment' => :'comment',
|
55
|
+
:'description' => :'description',
|
52
56
|
:'dockerhub_password' => :'dockerhub-password',
|
53
57
|
:'dockerhub_username' => :'dockerhub-username',
|
54
58
|
:'json' => :'json',
|
@@ -71,6 +75,7 @@ module Akeyless
|
|
71
75
|
def self.openapi_types
|
72
76
|
{
|
73
77
|
:'comment' => :'String',
|
78
|
+
:'description' => :'String',
|
74
79
|
:'dockerhub_password' => :'String',
|
75
80
|
:'dockerhub_username' => :'String',
|
76
81
|
:'json' => :'Boolean',
|
@@ -109,6 +114,10 @@ module Akeyless
|
|
109
114
|
self.comment = attributes[:'comment']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'description')
|
118
|
+
self.description = attributes[:'description']
|
119
|
+
end
|
120
|
+
|
112
121
|
if attributes.key?(:'dockerhub_password')
|
113
122
|
self.dockerhub_password = attributes[:'dockerhub_password']
|
114
123
|
end
|
@@ -174,6 +183,7 @@ module Akeyless
|
|
174
183
|
return true if self.equal?(o)
|
175
184
|
self.class == o.class &&
|
176
185
|
comment == o.comment &&
|
186
|
+
description == o.description &&
|
177
187
|
dockerhub_password == o.dockerhub_password &&
|
178
188
|
dockerhub_username == o.dockerhub_username &&
|
179
189
|
json == o.json &&
|
@@ -195,7 +205,7 @@ module Akeyless
|
|
195
205
|
# Calculates hash code according to all attributes.
|
196
206
|
# @return [Integer] Hash code
|
197
207
|
def hash
|
198
|
-
[comment, dockerhub_password, dockerhub_username, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
208
|
+
[comment, description, dockerhub_password, dockerhub_username, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
199
209
|
end
|
200
210
|
|
201
211
|
# Builds the object from hash
|
@@ -15,9 +15,12 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateEKSTarget
|
18
|
-
#
|
18
|
+
# Deprecated - use description
|
19
19
|
attr_accessor :comment
|
20
20
|
|
21
|
+
# Description of the object
|
22
|
+
attr_accessor :description
|
23
|
+
|
21
24
|
# Access Key ID
|
22
25
|
attr_accessor :eks_access_key_id
|
23
26
|
|
@@ -65,6 +68,7 @@ module Akeyless
|
|
65
68
|
def self.attribute_map
|
66
69
|
{
|
67
70
|
:'comment' => :'comment',
|
71
|
+
:'description' => :'description',
|
68
72
|
:'eks_access_key_id' => :'eks-access-key-id',
|
69
73
|
:'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
|
70
74
|
:'eks_cluster_endpoint' => :'eks-cluster-endpoint',
|
@@ -92,6 +96,7 @@ module Akeyless
|
|
92
96
|
def self.openapi_types
|
93
97
|
{
|
94
98
|
:'comment' => :'String',
|
99
|
+
:'description' => :'String',
|
95
100
|
:'eks_access_key_id' => :'String',
|
96
101
|
:'eks_cluster_ca_cert' => :'String',
|
97
102
|
:'eks_cluster_endpoint' => :'String',
|
@@ -135,6 +140,10 @@ module Akeyless
|
|
135
140
|
self.comment = attributes[:'comment']
|
136
141
|
end
|
137
142
|
|
143
|
+
if attributes.key?(:'description')
|
144
|
+
self.description = attributes[:'description']
|
145
|
+
end
|
146
|
+
|
138
147
|
if attributes.key?(:'eks_access_key_id')
|
139
148
|
self.eks_access_key_id = attributes[:'eks_access_key_id']
|
140
149
|
end
|
@@ -247,6 +256,7 @@ module Akeyless
|
|
247
256
|
return true if self.equal?(o)
|
248
257
|
self.class == o.class &&
|
249
258
|
comment == o.comment &&
|
259
|
+
description == o.description &&
|
250
260
|
eks_access_key_id == o.eks_access_key_id &&
|
251
261
|
eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
|
252
262
|
eks_cluster_endpoint == o.eks_cluster_endpoint &&
|
@@ -273,7 +283,7 @@ module Akeyless
|
|
273
283
|
# Calculates hash code according to all attributes.
|
274
284
|
# @return [Integer] Hash code
|
275
285
|
def hash
|
276
|
-
[comment, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
286
|
+
[comment, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
277
287
|
end
|
278
288
|
|
279
289
|
# Builds the object from hash
|