akeyless 3.1.1 → 3.2.0

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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -1
  3. data/docs/AssocTargetItem.md +2 -0
  4. data/docs/CreateCertificate.md +3 -1
  5. data/docs/CreateClassicKey.md +6 -2
  6. data/docs/CreateDBTarget.md +4 -0
  7. data/docs/CreateDFCKey.md +3 -1
  8. data/docs/CreateDynamicSecret.md +3 -1
  9. data/docs/CreateKey.md +3 -1
  10. data/docs/CreatePKICertIssuer.md +3 -1
  11. data/docs/CreatePingTarget.md +38 -0
  12. data/docs/CreatePingTargetOutput.md +18 -0
  13. data/docs/CreateRotatedSecret.md +5 -1
  14. data/docs/CreateSSHCertIssuer.md +3 -1
  15. data/docs/CreateSecret.md +3 -1
  16. data/docs/CreateTokenizer.md +3 -1
  17. data/docs/DSProducerDetails.md +48 -0
  18. data/docs/DecryptGPG.md +34 -0
  19. data/docs/DecryptGPGOutput.md +18 -0
  20. data/docs/EncryptGPG.md +32 -0
  21. data/docs/EncryptGPGOutput.md +18 -0
  22. data/docs/GatewayCreateProducerPing.md +66 -0
  23. data/docs/GatewayCreateProducerPingOutput.md +18 -0
  24. data/docs/GatewayCreateProducerSnowflake.md +4 -0
  25. data/docs/GatewayUpdateItem.md +3 -1
  26. data/docs/GatewayUpdateProducerPing.md +68 -0
  27. data/docs/GatewayUpdateProducerPingOutput.md +18 -0
  28. data/docs/GatewayUpdateProducerSnowflake.md +4 -0
  29. data/docs/GenCustomerFragment.md +4 -2
  30. data/docs/GetKubeExecCreds.md +5 -3
  31. data/docs/GetPKICertificate.md +5 -3
  32. data/docs/SecureRemoteAccess.md +2 -0
  33. data/docs/SignGPG.md +32 -0
  34. data/docs/SignGPGOutput.md +18 -0
  35. data/docs/TargetTypeDetailsInput.md +14 -0
  36. data/docs/UpdateDBTarget.md +4 -0
  37. data/docs/UpdateItem.md +3 -1
  38. data/docs/UpdatePKICertIssuer.md +3 -1
  39. data/docs/UpdatePingTarget.md +44 -0
  40. data/docs/UpdateRotatedSecret.md +5 -1
  41. data/docs/UpdateSSHCertIssuer.md +3 -1
  42. data/docs/UploadPKCS12.md +3 -1
  43. data/docs/UploadRSA.md +3 -1
  44. data/docs/V2Api.md +504 -0
  45. data/docs/VerifyGPG.md +32 -0
  46. data/lib/akeyless/api/v2_api.rb +512 -0
  47. data/lib/akeyless/models/assoc_target_item.rb +11 -1
  48. data/lib/akeyless/models/create_certificate.rb +12 -2
  49. data/lib/akeyless/models/create_classic_key.rb +23 -3
  50. data/lib/akeyless/models/create_db_target.rb +21 -1
  51. data/lib/akeyless/models/create_dfc_key.rb +12 -2
  52. data/lib/akeyless/models/create_dynamic_secret.rb +12 -4
  53. data/lib/akeyless/models/create_key.rb +12 -2
  54. data/lib/akeyless/models/create_ping_target.rb +329 -0
  55. data/lib/akeyless/models/create_ping_target_output.rb +219 -0
  56. data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
  57. data/lib/akeyless/models/create_rotated_secret.rb +24 -2
  58. data/lib/akeyless/models/create_secret.rb +12 -2
  59. data/lib/akeyless/models/create_ssh_cert_issuer.rb +12 -2
  60. data/lib/akeyless/models/create_tokenizer.rb +12 -2
  61. data/lib/akeyless/models/decrypt_gpg.rb +310 -0
  62. data/lib/akeyless/models/decrypt_gpg_output.rb +219 -0
  63. data/lib/akeyless/models/ds_producer_details.rb +235 -1
  64. data/lib/akeyless/models/encrypt_gpg.rb +300 -0
  65. data/lib/akeyless/models/encrypt_gpg_output.rb +219 -0
  66. data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
  67. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
  68. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +22 -2
  69. data/lib/akeyless/models/gateway_update_item.rb +14 -2
  70. data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
  71. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
  72. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
  73. data/lib/akeyless/models/gen_customer_fragment.rb +15 -5
  74. data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
  75. data/lib/akeyless/models/get_pki_certificate.rb +14 -4
  76. data/lib/akeyless/models/secure_remote_access.rb +10 -1
  77. data/lib/akeyless/models/sign_gpg.rb +300 -0
  78. data/lib/akeyless/models/sign_gpg_output.rb +219 -0
  79. data/lib/akeyless/models/target_type_details_input.rb +65 -1
  80. data/lib/akeyless/models/update_db_target.rb +21 -1
  81. data/lib/akeyless/models/update_item.rb +14 -2
  82. data/lib/akeyless/models/update_ping_target.rb +358 -0
  83. data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
  84. data/lib/akeyless/models/update_rotated_secret.rb +26 -2
  85. data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
  86. data/lib/akeyless/models/upload_pkcs12.rb +12 -2
  87. data/lib/akeyless/models/upload_rsa.rb +12 -2
  88. data/lib/akeyless/models/verify_gpg.rb +300 -0
  89. data/lib/akeyless/version.rb +1 -1
  90. data/lib/akeyless.rb +14 -0
  91. data/spec/models/create_ping_target_output_spec.rb +34 -0
  92. data/spec/models/create_ping_target_spec.rb +94 -0
  93. data/spec/models/decrypt_gpg_output_spec.rb +34 -0
  94. data/spec/models/decrypt_gpg_spec.rb +82 -0
  95. data/spec/models/encrypt_gpg_output_spec.rb +34 -0
  96. data/spec/models/encrypt_gpg_spec.rb +76 -0
  97. data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
  98. data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
  99. data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
  100. data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
  101. data/spec/models/sign_gpg_output_spec.rb +34 -0
  102. data/spec/models/sign_gpg_spec.rb +76 -0
  103. data/spec/models/update_ping_target_spec.rb +112 -0
  104. data/spec/models/verify_gpg_spec.rb +76 -0
  105. metadata +609 -553
@@ -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
@@ -75,6 +79,11 @@ module Akeyless
75
79
 
76
80
  attr_accessor :db_port
77
81
 
82
+ # (Optional) Private Key in PEM format
83
+ attr_accessor :db_private_key
84
+
85
+ attr_accessor :db_private_key_passphrase
86
+
78
87
  attr_accessor :db_pwd
79
88
 
80
89
  # (Optional) DBServerCertificates defines the set of root certificate authorities that clients use when verifying server certificates. If DBServerCertificates is empty, TLS uses the host's root CA set.
@@ -169,12 +178,16 @@ module Akeyless
169
178
 
170
179
  attr_accessor :payload
171
180
 
181
+ attr_accessor :ping_url
182
+
172
183
  attr_accessor :port
173
184
 
174
185
  attr_accessor :private_key
175
186
 
176
187
  attr_accessor :private_key_password
177
188
 
189
+ attr_accessor :privileged_user
190
+
178
191
  attr_accessor :rabbitmq_server_password
179
192
 
180
193
  attr_accessor :rabbitmq_server_uri
@@ -199,6 +212,8 @@ module Akeyless
199
212
 
200
213
  attr_accessor :user_name
201
214
 
215
+ attr_accessor :user_password
216
+
202
217
  attr_accessor :username
203
218
 
204
219
  attr_accessor :venafi_api_key
@@ -216,11 +231,13 @@ module Akeyless
216
231
  # Attribute mapping from ruby-style variable name to JSON key.
217
232
  def self.attribute_map
218
233
  {
234
+ :'administrative_port' => :'administrative_port',
219
235
  :'app_private_key' => :'app_private_key',
220
236
  :'artifactory_admin_apikey' => :'artifactory_admin_apikey',
221
237
  :'artifactory_admin_username' => :'artifactory_admin_username',
222
238
  :'artifactory_base_url' => :'artifactory_base_url',
223
239
  :'auth_flow' => :'auth_flow',
240
+ :'authorization_port' => :'authorization_port',
224
241
  :'aws_access_key_id' => :'aws_access_key_id',
225
242
  :'aws_region' => :'aws_region',
226
243
  :'aws_secret_access_key' => :'aws_secret_access_key',
@@ -244,6 +261,8 @@ module Akeyless
244
261
  :'db_host_name' => :'db_host_name',
245
262
  :'db_name' => :'db_name',
246
263
  :'db_port' => :'db_port',
264
+ :'db_private_key' => :'db_private_key',
265
+ :'db_private_key_passphrase' => :'db_private_key_passphrase',
247
266
  :'db_pwd' => :'db_pwd',
248
267
  :'db_server_certificates' => :'db_server_certificates',
249
268
  :'db_server_name' => :'db_server_name',
@@ -288,9 +307,11 @@ module Akeyless
288
307
  :'mongodb_username' => :'mongodb_username',
289
308
  :'password' => :'password',
290
309
  :'payload' => :'payload',
310
+ :'ping_url' => :'ping_url',
291
311
  :'port' => :'port',
292
312
  :'private_key' => :'private_key',
293
313
  :'private_key_password' => :'private_key_password',
314
+ :'privileged_user' => :'privileged_user',
294
315
  :'rabbitmq_server_password' => :'rabbitmq_server_password',
295
316
  :'rabbitmq_server_uri' => :'rabbitmq_server_uri',
296
317
  :'rabbitmq_server_user' => :'rabbitmq_server_user',
@@ -302,6 +323,7 @@ module Akeyless
302
323
  :'url' => :'url',
303
324
  :'use_gw_cloud_identity' => :'use_gw_cloud_identity',
304
325
  :'user_name' => :'user_name',
326
+ :'user_password' => :'user_password',
305
327
  :'username' => :'username',
306
328
  :'venafi_api_key' => :'venafi_api_key',
307
329
  :'venafi_base_url' => :'venafi_base_url',
@@ -320,11 +342,13 @@ module Akeyless
320
342
  # Attribute type mapping.
321
343
  def self.openapi_types
322
344
  {
345
+ :'administrative_port' => :'String',
323
346
  :'app_private_key' => :'Array<Integer>',
324
347
  :'artifactory_admin_apikey' => :'String',
325
348
  :'artifactory_admin_username' => :'String',
326
349
  :'artifactory_base_url' => :'String',
327
350
  :'auth_flow' => :'String',
351
+ :'authorization_port' => :'String',
328
352
  :'aws_access_key_id' => :'String',
329
353
  :'aws_region' => :'String',
330
354
  :'aws_secret_access_key' => :'String',
@@ -348,6 +372,8 @@ module Akeyless
348
372
  :'db_host_name' => :'String',
349
373
  :'db_name' => :'String',
350
374
  :'db_port' => :'String',
375
+ :'db_private_key' => :'String',
376
+ :'db_private_key_passphrase' => :'String',
351
377
  :'db_pwd' => :'String',
352
378
  :'db_server_certificates' => :'String',
353
379
  :'db_server_name' => :'String',
@@ -392,9 +418,11 @@ module Akeyless
392
418
  :'mongodb_username' => :'String',
393
419
  :'password' => :'String',
394
420
  :'payload' => :'String',
421
+ :'ping_url' => :'String',
395
422
  :'port' => :'String',
396
423
  :'private_key' => :'String',
397
424
  :'private_key_password' => :'String',
425
+ :'privileged_user' => :'String',
398
426
  :'rabbitmq_server_password' => :'String',
399
427
  :'rabbitmq_server_uri' => :'String',
400
428
  :'rabbitmq_server_user' => :'String',
@@ -406,6 +434,7 @@ module Akeyless
406
434
  :'url' => :'String',
407
435
  :'use_gw_cloud_identity' => :'Boolean',
408
436
  :'user_name' => :'String',
437
+ :'user_password' => :'String',
409
438
  :'username' => :'String',
410
439
  :'venafi_api_key' => :'String',
411
440
  :'venafi_base_url' => :'String',
@@ -437,6 +466,10 @@ module Akeyless
437
466
  h[k.to_sym] = v
438
467
  }
439
468
 
469
+ if attributes.key?(:'administrative_port')
470
+ self.administrative_port = attributes[:'administrative_port']
471
+ end
472
+
440
473
  if attributes.key?(:'app_private_key')
441
474
  if (value = attributes[:'app_private_key']).is_a?(Array)
442
475
  self.app_private_key = value
@@ -459,6 +492,10 @@ module Akeyless
459
492
  self.auth_flow = attributes[:'auth_flow']
460
493
  end
461
494
 
495
+ if attributes.key?(:'authorization_port')
496
+ self.authorization_port = attributes[:'authorization_port']
497
+ end
498
+
462
499
  if attributes.key?(:'aws_access_key_id')
463
500
  self.aws_access_key_id = attributes[:'aws_access_key_id']
464
501
  end
@@ -553,6 +590,14 @@ module Akeyless
553
590
  self.db_port = attributes[:'db_port']
554
591
  end
555
592
 
593
+ if attributes.key?(:'db_private_key')
594
+ self.db_private_key = attributes[:'db_private_key']
595
+ end
596
+
597
+ if attributes.key?(:'db_private_key_passphrase')
598
+ self.db_private_key_passphrase = attributes[:'db_private_key_passphrase']
599
+ end
600
+
556
601
  if attributes.key?(:'db_pwd')
557
602
  self.db_pwd = attributes[:'db_pwd']
558
603
  end
@@ -729,6 +774,10 @@ module Akeyless
729
774
  self.payload = attributes[:'payload']
730
775
  end
731
776
 
777
+ if attributes.key?(:'ping_url')
778
+ self.ping_url = attributes[:'ping_url']
779
+ end
780
+
732
781
  if attributes.key?(:'port')
733
782
  self.port = attributes[:'port']
734
783
  end
@@ -741,6 +790,10 @@ module Akeyless
741
790
  self.private_key_password = attributes[:'private_key_password']
742
791
  end
743
792
 
793
+ if attributes.key?(:'privileged_user')
794
+ self.privileged_user = attributes[:'privileged_user']
795
+ end
796
+
744
797
  if attributes.key?(:'rabbitmq_server_password')
745
798
  self.rabbitmq_server_password = attributes[:'rabbitmq_server_password']
746
799
  end
@@ -785,6 +838,10 @@ module Akeyless
785
838
  self.user_name = attributes[:'user_name']
786
839
  end
787
840
 
841
+ if attributes.key?(:'user_password')
842
+ self.user_password = attributes[:'user_password']
843
+ end
844
+
788
845
  if attributes.key?(:'username')
789
846
  self.username = attributes[:'username']
790
847
  end
@@ -832,11 +889,13 @@ module Akeyless
832
889
  def ==(o)
833
890
  return true if self.equal?(o)
834
891
  self.class == o.class &&
892
+ administrative_port == o.administrative_port &&
835
893
  app_private_key == o.app_private_key &&
836
894
  artifactory_admin_apikey == o.artifactory_admin_apikey &&
837
895
  artifactory_admin_username == o.artifactory_admin_username &&
838
896
  artifactory_base_url == o.artifactory_base_url &&
839
897
  auth_flow == o.auth_flow &&
898
+ authorization_port == o.authorization_port &&
840
899
  aws_access_key_id == o.aws_access_key_id &&
841
900
  aws_region == o.aws_region &&
842
901
  aws_secret_access_key == o.aws_secret_access_key &&
@@ -860,6 +919,8 @@ module Akeyless
860
919
  db_host_name == o.db_host_name &&
861
920
  db_name == o.db_name &&
862
921
  db_port == o.db_port &&
922
+ db_private_key == o.db_private_key &&
923
+ db_private_key_passphrase == o.db_private_key_passphrase &&
863
924
  db_pwd == o.db_pwd &&
864
925
  db_server_certificates == o.db_server_certificates &&
865
926
  db_server_name == o.db_server_name &&
@@ -904,9 +965,11 @@ module Akeyless
904
965
  mongodb_username == o.mongodb_username &&
905
966
  password == o.password &&
906
967
  payload == o.payload &&
968
+ ping_url == o.ping_url &&
907
969
  port == o.port &&
908
970
  private_key == o.private_key &&
909
971
  private_key_password == o.private_key_password &&
972
+ privileged_user == o.privileged_user &&
910
973
  rabbitmq_server_password == o.rabbitmq_server_password &&
911
974
  rabbitmq_server_uri == o.rabbitmq_server_uri &&
912
975
  rabbitmq_server_user == o.rabbitmq_server_user &&
@@ -918,6 +981,7 @@ module Akeyless
918
981
  url == o.url &&
919
982
  use_gw_cloud_identity == o.use_gw_cloud_identity &&
920
983
  user_name == o.user_name &&
984
+ user_password == o.user_password &&
921
985
  username == o.username &&
922
986
  venafi_api_key == o.venafi_api_key &&
923
987
  venafi_base_url == o.venafi_base_url &&
@@ -936,7 +1000,7 @@ module Akeyless
936
1000
  # Calculates hash code according to all attributes.
937
1001
  # @return [Integer] Hash code
938
1002
  def hash
939
- [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_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
940
1004
  end
941
1005
 
942
1006
  # Builds the object from hash
@@ -69,6 +69,12 @@ module Akeyless
69
69
 
70
70
  attr_accessor :snowflake_account
71
71
 
72
+ # RSA Private key (base64 encoded)
73
+ attr_accessor :snowflake_api_private_key
74
+
75
+ # The Private key passphrase
76
+ attr_accessor :snowflake_api_private_key_password
77
+
72
78
  # SSL connection mode
73
79
  attr_accessor :ssl
74
80
 
@@ -110,6 +116,8 @@ module Akeyless
110
116
  :'port' => :'port',
111
117
  :'pwd' => :'pwd',
112
118
  :'snowflake_account' => :'snowflake-account',
119
+ :'snowflake_api_private_key' => :'snowflake-api-private-key',
120
+ :'snowflake_api_private_key_password' => :'snowflake-api-private-key-password',
113
121
  :'ssl' => :'ssl',
114
122
  :'ssl_certificate' => :'ssl-certificate',
115
123
  :'token' => :'token',
@@ -148,6 +156,8 @@ module Akeyless
148
156
  :'port' => :'String',
149
157
  :'pwd' => :'String',
150
158
  :'snowflake_account' => :'String',
159
+ :'snowflake_api_private_key' => :'String',
160
+ :'snowflake_api_private_key_password' => :'String',
151
161
  :'ssl' => :'Boolean',
152
162
  :'ssl_certificate' => :'String',
153
163
  :'token' => :'String',
@@ -262,6 +272,14 @@ module Akeyless
262
272
  self.snowflake_account = attributes[:'snowflake_account']
263
273
  end
264
274
 
275
+ if attributes.key?(:'snowflake_api_private_key')
276
+ self.snowflake_api_private_key = attributes[:'snowflake_api_private_key']
277
+ end
278
+
279
+ if attributes.key?(:'snowflake_api_private_key_password')
280
+ self.snowflake_api_private_key_password = attributes[:'snowflake_api_private_key_password']
281
+ end
282
+
265
283
  if attributes.key?(:'ssl')
266
284
  self.ssl = attributes[:'ssl']
267
285
  end
@@ -336,6 +354,8 @@ module Akeyless
336
354
  port == o.port &&
337
355
  pwd == o.pwd &&
338
356
  snowflake_account == o.snowflake_account &&
357
+ snowflake_api_private_key == o.snowflake_api_private_key &&
358
+ snowflake_api_private_key_password == o.snowflake_api_private_key_password &&
339
359
  ssl == o.ssl &&
340
360
  ssl_certificate == o.ssl_certificate &&
341
361
  token == o.token &&
@@ -353,7 +373,7 @@ module Akeyless
353
373
  # Calculates hash code according to all attributes.
354
374
  # @return [Integer] Hash code
355
375
  def hash
356
- [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, ssl, ssl_certificate, token, uid_token, update_version, user_name].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
357
377
  end
358
378
 
359
379
  # Builds the object from hash
@@ -26,13 +26,16 @@ module Akeyless
26
26
 
27
27
  attr_accessor :delete_protection
28
28
 
29
+ # Description of the object
30
+ attr_accessor :description
31
+
29
32
  # Set output format to JSON
30
33
  attr_accessor :json
31
34
 
32
35
  # Current item name
33
36
  attr_accessor :name
34
37
 
35
- # New item metadata
38
+ # Deprecated - use description
36
39
  attr_accessor :new_metadata
37
40
 
38
41
  # New item name
@@ -102,6 +105,7 @@ module Akeyless
102
105
  :'add_tag' => :'add-tag',
103
106
  :'cert_file_data' => :'cert-file-data',
104
107
  :'delete_protection' => :'delete_protection',
108
+ :'description' => :'description',
105
109
  :'json' => :'json',
106
110
  :'name' => :'name',
107
111
  :'new_metadata' => :'new-metadata',
@@ -148,6 +152,7 @@ module Akeyless
148
152
  :'add_tag' => :'Array<String>',
149
153
  :'cert_file_data' => :'String',
150
154
  :'delete_protection' => :'String',
155
+ :'description' => :'String',
151
156
  :'json' => :'Boolean',
152
157
  :'name' => :'String',
153
158
  :'new_metadata' => :'String',
@@ -223,6 +228,12 @@ module Akeyless
223
228
  self.delete_protection = attributes[:'delete_protection']
224
229
  end
225
230
 
231
+ if attributes.key?(:'description')
232
+ self.description = attributes[:'description']
233
+ else
234
+ self.description = 'default_metadata'
235
+ end
236
+
226
237
  if attributes.key?(:'json')
227
238
  self.json = attributes[:'json']
228
239
  end
@@ -385,6 +396,7 @@ module Akeyless
385
396
  add_tag == o.add_tag &&
386
397
  cert_file_data == o.cert_file_data &&
387
398
  delete_protection == o.delete_protection &&
399
+ description == o.description &&
388
400
  json == o.json &&
389
401
  name == o.name &&
390
402
  new_metadata == o.new_metadata &&
@@ -427,7 +439,7 @@ module Akeyless
427
439
  # Calculates hash code according to all attributes.
428
440
  # @return [Integer] Hash code
429
441
  def hash
430
- [accessibility, add_tag, cert_file_data, delete_protection, json, name, new_metadata, new_name, rm_tag, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
442
+ [accessibility, add_tag, cert_file_data, delete_protection, description, json, name, new_metadata, new_name, rm_tag, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
431
443
  end
432
444
 
433
445
  # Builds the object from hash