akeyless 5.0.20 → 5.0.22

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 (188) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -1
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/ActiveDirectoryPayload.md +6 -0
  5. data/docs/Auth.md +2 -0
  6. data/docs/AuthMethodCreateCert.md +2 -0
  7. data/docs/AuthMethodUpdateCert.md +2 -0
  8. data/docs/AzureADAccessRules.md +2 -0
  9. data/docs/AzureTargetDetails.md +2 -0
  10. data/docs/CertAccessRules.md +2 -0
  11. data/docs/CertificateChainInfo.md +2 -0
  12. data/docs/Configure.md +2 -0
  13. data/docs/ConjurMigration.md +20 -0
  14. data/docs/ConjurPayload.md +24 -0
  15. data/docs/CreateAuthMethodCert.md +2 -0
  16. data/docs/CreateAzureTarget.md +2 -0
  17. data/docs/CreateUSC.md +10 -0
  18. data/docs/DSProducerDetails.md +2 -0
  19. data/docs/DefaultAuthMethodSettings.md +20 -0
  20. data/docs/GCPPayload.md +5 -1
  21. data/docs/GatewayCreateMigration.md +20 -2
  22. data/docs/GatewayUpdateMigration.md +19 -1
  23. data/docs/GetPKICertificateOutput.md +2 -0
  24. data/docs/GithubMetadata.md +28 -0
  25. data/docs/HTTPChallengeInfo.md +26 -0
  26. data/docs/IssuerOverviewInfo.md +22 -0
  27. data/docs/ItemGeneralInfo.md +2 -0
  28. data/docs/LetsEncryptTargetDetails.md +38 -0
  29. data/docs/MigrationStatusReplyObj.md +2 -0
  30. data/docs/MigrationsConfigPart.md +2 -0
  31. data/docs/PoliciesCreateOutput.md +18 -0
  32. data/docs/PoliciesDelete.md +24 -0
  33. data/docs/PoliciesGet.md +24 -0
  34. data/docs/PoliciesGetOutput.md +18 -0
  35. data/docs/PoliciesList.md +30 -0
  36. data/docs/PoliciesListOutput.md +18 -0
  37. data/docs/PolicyCreateKeys.md +34 -0
  38. data/docs/PolicyOutput.md +34 -0
  39. data/docs/PolicyUpdateKeys.md +36 -0
  40. data/docs/RotatedSecretCreateAws.md +4 -2
  41. data/docs/RotatedSecretCreateAzure.md +4 -2
  42. data/docs/RotatedSecretCreateCassandra.md +1 -1
  43. data/docs/RotatedSecretCreateCustom.md +1 -1
  44. data/docs/RotatedSecretCreateDockerhub.md +1 -1
  45. data/docs/RotatedSecretCreateGcp.md +4 -2
  46. data/docs/RotatedSecretCreateHanadb.md +1 -1
  47. data/docs/RotatedSecretCreateLdap.md +1 -1
  48. data/docs/RotatedSecretCreateMongodb.md +1 -1
  49. data/docs/RotatedSecretCreateMssql.md +1 -1
  50. data/docs/RotatedSecretCreateMysql.md +1 -1
  51. data/docs/RotatedSecretCreateOpenAI.md +1 -1
  52. data/docs/RotatedSecretCreateOracledb.md +1 -1
  53. data/docs/RotatedSecretCreatePostgresql.md +1 -1
  54. data/docs/RotatedSecretCreateRedis.md +1 -1
  55. data/docs/RotatedSecretCreateRedshift.md +1 -1
  56. data/docs/RotatedSecretCreateSnowflake.md +1 -1
  57. data/docs/RotatedSecretCreateSplunk.md +68 -0
  58. data/docs/RotatedSecretCreateSsh.md +1 -1
  59. data/docs/RotatedSecretCreateWindows.md +1 -1
  60. data/docs/RotatedSecretDetailsInfo.md +2 -0
  61. data/docs/RotatedSecretUpdateAws.md +3 -1
  62. data/docs/RotatedSecretUpdateAzure.md +3 -1
  63. data/docs/RotatedSecretUpdateGcp.md +3 -1
  64. data/docs/RotatedSecretUpdateSplunk.md +64 -0
  65. data/docs/SecretInfo.md +2 -0
  66. data/docs/SplunkPayload.md +30 -0
  67. data/docs/SplunkTargetDetails.md +34 -0
  68. data/docs/TargetCreateAzure.md +2 -0
  69. data/docs/TargetCreateLetsEncrypt.md +46 -0
  70. data/docs/TargetCreateSplunk.md +42 -0
  71. data/docs/TargetTypeDetailsInput.md +4 -0
  72. data/docs/TargetUpdateAzure.md +2 -0
  73. data/docs/TargetUpdateLetsEncrypt.md +50 -0
  74. data/docs/UpdateAuthMethodCert.md +2 -0
  75. data/docs/UpdateAzureTarget.md +2 -0
  76. data/docs/V2Api.md +756 -0
  77. data/docs/ValidateCertificateChallenge.md +30 -0
  78. data/docs/ValidateCertificateChallengeOutput.md +24 -0
  79. data/docs/VaultAddress.md +20 -0
  80. data/docs/VaultAddressOutput.md +20 -0
  81. data/lib/akeyless/api/v2_api.rb +775 -7
  82. data/lib/akeyless/models/account_general_settings.rb +10 -1
  83. data/lib/akeyless/models/active_directory_payload.rb +30 -1
  84. data/lib/akeyless/models/auth.rb +13 -1
  85. data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
  86. data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
  87. data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
  88. data/lib/akeyless/models/azure_target_details.rb +10 -1
  89. data/lib/akeyless/models/cert_access_rules.rb +11 -1
  90. data/lib/akeyless/models/certificate_chain_info.rb +11 -1
  91. data/lib/akeyless/models/configure.rb +13 -1
  92. data/lib/akeyless/models/conjur_migration.rb +223 -0
  93. data/lib/akeyless/models/conjur_payload.rb +241 -0
  94. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  95. data/lib/akeyless/models/create_azure_target.rb +13 -1
  96. data/lib/akeyless/models/create_usc.rb +54 -1
  97. data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
  98. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  99. data/lib/akeyless/models/gateway_create_migration.rb +97 -5
  100. data/lib/akeyless/models/gateway_update_migration.rb +96 -4
  101. data/lib/akeyless/models/gcp_payload.rb +22 -4
  102. data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
  103. data/lib/akeyless/models/github_metadata.rb +259 -0
  104. data/lib/akeyless/models/http_challenge_info.rb +251 -0
  105. data/lib/akeyless/models/issuer_overview_info.rb +232 -0
  106. data/lib/akeyless/models/item_general_info.rb +10 -1
  107. data/lib/akeyless/models/lets_encrypt_target_details.rb +315 -0
  108. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  109. data/lib/akeyless/models/migrations_config_part.rb +12 -1
  110. data/lib/akeyless/models/policies_create_output.rb +214 -0
  111. data/lib/akeyless/models/policies_delete.rb +254 -0
  112. data/lib/akeyless/models/policies_get.rb +254 -0
  113. data/lib/akeyless/models/policies_get_output.rb +214 -0
  114. data/lib/akeyless/models/policies_list.rb +283 -0
  115. data/lib/akeyless/models/policies_list_output.rb +216 -0
  116. data/lib/akeyless/models/policy_create_keys.rb +312 -0
  117. data/lib/akeyless/models/policy_output.rb +295 -0
  118. data/lib/akeyless/models/policy_update_keys.rb +322 -0
  119. data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -3
  120. data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -3
  121. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
  122. data/lib/akeyless/models/rotated_secret_create_custom.rb +1 -1
  123. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
  124. data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -3
  125. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
  126. data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
  127. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
  128. data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
  129. data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
  130. data/lib/akeyless/models/rotated_secret_create_open_ai.rb +1 -1
  131. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
  132. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
  133. data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
  134. data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
  135. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
  136. data/lib/akeyless/models/rotated_secret_create_splunk.rb +497 -0
  137. data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
  138. data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
  139. data/lib/akeyless/models/rotated_secret_details_info.rb +10 -1
  140. data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -2
  141. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
  142. data/lib/akeyless/models/rotated_secret_update_gcp.rb +12 -2
  143. data/lib/akeyless/models/rotated_secret_update_splunk.rb +467 -0
  144. data/lib/akeyless/models/secret_info.rb +10 -1
  145. data/lib/akeyless/models/splunk_payload.rb +268 -0
  146. data/lib/akeyless/models/splunk_target_details.rb +294 -0
  147. data/lib/akeyless/models/target_create_azure.rb +13 -1
  148. data/lib/akeyless/models/target_create_lets_encrypt.rb +368 -0
  149. data/lib/akeyless/models/target_create_splunk.rb +354 -0
  150. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  151. data/lib/akeyless/models/target_update_azure.rb +13 -1
  152. data/lib/akeyless/models/target_update_lets_encrypt.rb +388 -0
  153. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  154. data/lib/akeyless/models/update_azure_target.rb +13 -1
  155. data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
  156. data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
  157. data/lib/akeyless/models/vault_address.rb +227 -0
  158. data/lib/akeyless/models/vault_address_output.rb +223 -0
  159. data/lib/akeyless/version.rb +1 -1
  160. data/lib/akeyless.rb +27 -0
  161. data/spec/models/conjur_migration_spec.rb +42 -0
  162. data/spec/models/conjur_payload_spec.rb +54 -0
  163. data/spec/models/default_auth_method_settings_spec.rb +42 -0
  164. data/spec/models/github_metadata_spec.rb +66 -0
  165. data/spec/models/http_challenge_info_spec.rb +60 -0
  166. data/spec/models/issuer_overview_info_spec.rb +48 -0
  167. data/spec/models/lets_encrypt_target_details_spec.rb +96 -0
  168. data/spec/models/policies_create_output_spec.rb +36 -0
  169. data/spec/models/policies_delete_spec.rb +54 -0
  170. data/spec/models/policies_get_output_spec.rb +36 -0
  171. data/spec/models/policies_get_spec.rb +54 -0
  172. data/spec/models/policies_list_output_spec.rb +36 -0
  173. data/spec/models/policies_list_spec.rb +72 -0
  174. data/spec/models/policy_create_keys_spec.rb +84 -0
  175. data/spec/models/policy_output_spec.rb +84 -0
  176. data/spec/models/policy_update_keys_spec.rb +90 -0
  177. data/spec/models/rotated_secret_create_splunk_spec.rb +186 -0
  178. data/spec/models/rotated_secret_update_splunk_spec.rb +174 -0
  179. data/spec/models/splunk_payload_spec.rb +72 -0
  180. data/spec/models/splunk_target_details_spec.rb +84 -0
  181. data/spec/models/target_create_lets_encrypt_spec.rb +120 -0
  182. data/spec/models/target_create_splunk_spec.rb +108 -0
  183. data/spec/models/target_update_lets_encrypt_spec.rb +132 -0
  184. data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
  185. data/spec/models/validate_certificate_challenge_spec.rb +72 -0
  186. data/spec/models/vault_address_output_spec.rb +42 -0
  187. data/spec/models/vault_address_spec.rb +42 -0
  188. metadata +109 -1
@@ -38,6 +38,8 @@ module Akeyless
38
38
 
39
39
  attr_accessor :data_protection_section
40
40
 
41
+ attr_accessor :default_auth_method
42
+
41
43
  attr_accessor :default_home_page
42
44
 
43
45
  attr_accessor :dynamic_secret_max_ttl
@@ -81,6 +83,7 @@ module Akeyless
81
83
  :'auth_usage_event' => :'auth_usage_event',
82
84
  :'certificate_expiration_events' => :'certificate_expiration_events',
83
85
  :'data_protection_section' => :'data_protection_section',
86
+ :'default_auth_method' => :'default_auth_method',
84
87
  :'default_home_page' => :'default_home_page',
85
88
  :'dynamic_secret_max_ttl' => :'dynamic_secret_max_ttl',
86
89
  :'enable_request_for_access' => :'enable_request_for_access',
@@ -116,6 +119,7 @@ module Akeyless
116
119
  :'auth_usage_event' => :'UsageEventSetting',
117
120
  :'certificate_expiration_events' => :'CertificateExpirationEventsSettings',
118
121
  :'data_protection_section' => :'DataProtectionSection',
122
+ :'default_auth_method' => :'DefaultAuthMethodSettings',
119
123
  :'default_home_page' => :'DefaultHomePage',
120
124
  :'dynamic_secret_max_ttl' => :'DynamicSecretMaxTtl',
121
125
  :'enable_request_for_access' => :'Boolean',
@@ -194,6 +198,10 @@ module Akeyless
194
198
  self.data_protection_section = attributes[:'data_protection_section']
195
199
  end
196
200
 
201
+ if attributes.key?(:'default_auth_method')
202
+ self.default_auth_method = attributes[:'default_auth_method']
203
+ end
204
+
197
205
  if attributes.key?(:'default_home_page')
198
206
  self.default_home_page = attributes[:'default_home_page']
199
207
  end
@@ -281,6 +289,7 @@ module Akeyless
281
289
  auth_usage_event == o.auth_usage_event &&
282
290
  certificate_expiration_events == o.certificate_expiration_events &&
283
291
  data_protection_section == o.data_protection_section &&
292
+ default_auth_method == o.default_auth_method &&
284
293
  default_home_page == o.default_home_page &&
285
294
  dynamic_secret_max_ttl == o.dynamic_secret_max_ttl &&
286
295
  enable_request_for_access == o.enable_request_for_access &&
@@ -306,7 +315,7 @@ module Akeyless
306
315
  # Calculates hash code according to all attributes.
307
316
  # @return [Integer] Hash code
308
317
  def hash
309
- [account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
318
+ [account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
310
319
  end
311
320
 
312
321
  # Builds the object from hash
@@ -17,12 +17,18 @@ module Akeyless
17
17
  class ActiveDirectoryPayload
18
18
  attr_accessor :active_directory_target_id
19
19
 
20
+ attr_accessor :ai_certificate_discovery
21
+
20
22
  attr_accessor :auto_rotate
21
23
 
22
24
  attr_accessor :auto_rotate_interval_in_days
23
25
 
24
26
  attr_accessor :auto_rotate_rotation_hour
25
27
 
28
+ attr_accessor :certificates_expiration_events
29
+
30
+ attr_accessor :certificates_path_template
31
+
26
32
  attr_accessor :computer_base_dn
27
33
 
28
34
  attr_accessor :discover_iis_apps
@@ -66,9 +72,12 @@ module Akeyless
66
72
  def self.attribute_map
67
73
  {
68
74
  :'active_directory_target_id' => :'active_directory_target_id',
75
+ :'ai_certificate_discovery' => :'ai_certificate_discovery',
69
76
  :'auto_rotate' => :'auto_rotate',
70
77
  :'auto_rotate_interval_in_days' => :'auto_rotate_interval_in_days',
71
78
  :'auto_rotate_rotation_hour' => :'auto_rotate_rotation_hour',
79
+ :'certificates_expiration_events' => :'certificates_expiration_events',
80
+ :'certificates_path_template' => :'certificates_path_template',
72
81
  :'computer_base_dn' => :'computer_base_dn',
73
82
  :'discover_iis_apps' => :'discover_iis_apps',
74
83
  :'discover_local_users' => :'discover_local_users',
@@ -100,9 +109,12 @@ module Akeyless
100
109
  def self.openapi_types
101
110
  {
102
111
  :'active_directory_target_id' => :'Integer',
112
+ :'ai_certificate_discovery' => :'Boolean',
103
113
  :'auto_rotate' => :'Boolean',
104
114
  :'auto_rotate_interval_in_days' => :'Integer',
105
115
  :'auto_rotate_rotation_hour' => :'Integer',
116
+ :'certificates_expiration_events' => :'Array<CertificateExpirationEvent>',
117
+ :'certificates_path_template' => :'String',
106
118
  :'computer_base_dn' => :'String',
107
119
  :'discover_iis_apps' => :'Boolean',
108
120
  :'discover_local_users' => :'Boolean',
@@ -150,6 +162,10 @@ module Akeyless
150
162
  self.active_directory_target_id = attributes[:'active_directory_target_id']
151
163
  end
152
164
 
165
+ if attributes.key?(:'ai_certificate_discovery')
166
+ self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
167
+ end
168
+
153
169
  if attributes.key?(:'auto_rotate')
154
170
  self.auto_rotate = attributes[:'auto_rotate']
155
171
  end
@@ -162,6 +178,16 @@ module Akeyless
162
178
  self.auto_rotate_rotation_hour = attributes[:'auto_rotate_rotation_hour']
163
179
  end
164
180
 
181
+ if attributes.key?(:'certificates_expiration_events')
182
+ if (value = attributes[:'certificates_expiration_events']).is_a?(Array)
183
+ self.certificates_expiration_events = value
184
+ end
185
+ end
186
+
187
+ if attributes.key?(:'certificates_path_template')
188
+ self.certificates_path_template = attributes[:'certificates_path_template']
189
+ end
190
+
165
191
  if attributes.key?(:'computer_base_dn')
166
192
  self.computer_base_dn = attributes[:'computer_base_dn']
167
193
  end
@@ -266,9 +292,12 @@ module Akeyless
266
292
  return true if self.equal?(o)
267
293
  self.class == o.class &&
268
294
  active_directory_target_id == o.active_directory_target_id &&
295
+ ai_certificate_discovery == o.ai_certificate_discovery &&
269
296
  auto_rotate == o.auto_rotate &&
270
297
  auto_rotate_interval_in_days == o.auto_rotate_interval_in_days &&
271
298
  auto_rotate_rotation_hour == o.auto_rotate_rotation_hour &&
299
+ certificates_expiration_events == o.certificates_expiration_events &&
300
+ certificates_path_template == o.certificates_path_template &&
272
301
  computer_base_dn == o.computer_base_dn &&
273
302
  discover_iis_apps == o.discover_iis_apps &&
274
303
  discover_local_users == o.discover_local_users &&
@@ -299,7 +328,7 @@ module Akeyless
299
328
  # Calculates hash code according to all attributes.
300
329
  # @return [Integer] Hash code
301
330
  def hash
302
- [active_directory_target_id, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
331
+ [active_directory_target_id, ai_certificate_discovery, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, certificates_expiration_events, certificates_path_template, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
303
332
  end
304
333
 
305
334
  # Builds the object from hash
@@ -33,6 +33,9 @@ module Akeyless
33
33
  # Password (relevant only for access-type=password)
34
34
  attr_accessor :admin_password
35
35
 
36
+ # Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
37
+ attr_accessor :azure_cloud
38
+
36
39
  # Certificate challenge encoded in base64. (relevant only for access-type=cert)
37
40
  attr_accessor :cert_challenge
38
41
 
@@ -115,6 +118,7 @@ module Akeyless
115
118
  :'account_id' => :'account-id',
116
119
  :'admin_email' => :'admin-email',
117
120
  :'admin_password' => :'admin-password',
121
+ :'azure_cloud' => :'azure-cloud',
118
122
  :'cert_challenge' => :'cert-challenge',
119
123
  :'cert_data' => :'cert-data',
120
124
  :'cloud_id' => :'cloud-id',
@@ -157,6 +161,7 @@ module Akeyless
157
161
  :'account_id' => :'String',
158
162
  :'admin_email' => :'String',
159
163
  :'admin_password' => :'String',
164
+ :'azure_cloud' => :'String',
160
165
  :'cert_challenge' => :'String',
161
166
  :'cert_data' => :'String',
162
167
  :'cloud_id' => :'String',
@@ -232,6 +237,12 @@ module Akeyless
232
237
  self.admin_password = attributes[:'admin_password']
233
238
  end
234
239
 
240
+ if attributes.key?(:'azure_cloud')
241
+ self.azure_cloud = attributes[:'azure_cloud']
242
+ else
243
+ self.azure_cloud = 'AzureCloud'
244
+ end
245
+
235
246
  if attributes.key?(:'cert_challenge')
236
247
  self.cert_challenge = attributes[:'cert_challenge']
237
248
  end
@@ -367,6 +378,7 @@ module Akeyless
367
378
  account_id == o.account_id &&
368
379
  admin_email == o.admin_email &&
369
380
  admin_password == o.admin_password &&
381
+ azure_cloud == o.azure_cloud &&
370
382
  cert_challenge == o.cert_challenge &&
371
383
  cert_data == o.cert_data &&
372
384
  cloud_id == o.cloud_id &&
@@ -403,7 +415,7 @@ module Akeyless
403
415
  # Calculates hash code according to all attributes.
404
416
  # @return [Integer] Hash code
405
417
  def hash
406
- [access_id, access_key, access_type, account_id, admin_email, admin_password, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
418
+ [access_id, access_key, access_type, account_id, admin_email, admin_password, azure_cloud, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
407
419
  end
408
420
 
409
421
  # Builds the object from hash
@@ -79,6 +79,9 @@ module Akeyless
79
79
  # Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
80
80
  attr_accessor :product_type
81
81
 
82
+ # Require certificate CRL distribution points (CDP) and enforce CRL validation during authentication.
83
+ attr_accessor :require_crl_dp
84
+
82
85
  # A list of revoked cert ids
83
86
  attr_accessor :revoked_cert_ids
84
87
 
@@ -115,6 +118,7 @@ module Akeyless
115
118
  :'jwt_ttl' => :'jwt-ttl',
116
119
  :'name' => :'name',
117
120
  :'product_type' => :'product-type',
121
+ :'require_crl_dp' => :'require-crl-dp',
118
122
  :'revoked_cert_ids' => :'revoked-cert-ids',
119
123
  :'token' => :'token',
120
124
  :'uid_token' => :'uid-token',
@@ -151,6 +155,7 @@ module Akeyless
151
155
  :'jwt_ttl' => :'Integer',
152
156
  :'name' => :'String',
153
157
  :'product_type' => :'Array<String>',
158
+ :'require_crl_dp' => :'Boolean',
154
159
  :'revoked_cert_ids' => :'Array<String>',
155
160
  :'token' => :'String',
156
161
  :'uid_token' => :'String',
@@ -295,6 +300,10 @@ module Akeyless
295
300
  end
296
301
  end
297
302
 
303
+ if attributes.key?(:'require_crl_dp')
304
+ self.require_crl_dp = attributes[:'require_crl_dp']
305
+ end
306
+
298
307
  if attributes.key?(:'revoked_cert_ids')
299
308
  if (value = attributes[:'revoked_cert_ids']).is_a?(Array)
300
309
  self.revoked_cert_ids = value
@@ -367,6 +376,7 @@ module Akeyless
367
376
  jwt_ttl == o.jwt_ttl &&
368
377
  name == o.name &&
369
378
  product_type == o.product_type &&
379
+ require_crl_dp == o.require_crl_dp &&
370
380
  revoked_cert_ids == o.revoked_cert_ids &&
371
381
  token == o.token &&
372
382
  uid_token == o.uid_token &&
@@ -382,7 +392,7 @@ module Akeyless
382
392
  # Calculates hash code according to all attributes.
383
393
  # @return [Integer] Hash code
384
394
  def hash
385
- [access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
395
+ [access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, require_crl_dp, revoked_cert_ids, token, uid_token, unique_identifier].hash
386
396
  end
387
397
 
388
398
  # Builds the object from hash
@@ -82,6 +82,9 @@ module Akeyless
82
82
  # Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
83
83
  attr_accessor :product_type
84
84
 
85
+ # Require certificate CRL distribution points (CDP) and enforce CRL validation during authentication.
86
+ attr_accessor :require_crl_dp
87
+
85
88
  # A list of revoked cert ids
86
89
  attr_accessor :revoked_cert_ids
87
90
 
@@ -119,6 +122,7 @@ module Akeyless
119
122
  :'name' => :'name',
120
123
  :'new_name' => :'new-name',
121
124
  :'product_type' => :'product-type',
125
+ :'require_crl_dp' => :'require-crl-dp',
122
126
  :'revoked_cert_ids' => :'revoked-cert-ids',
123
127
  :'token' => :'token',
124
128
  :'uid_token' => :'uid-token',
@@ -156,6 +160,7 @@ module Akeyless
156
160
  :'name' => :'String',
157
161
  :'new_name' => :'String',
158
162
  :'product_type' => :'Array<String>',
163
+ :'require_crl_dp' => :'Boolean',
159
164
  :'revoked_cert_ids' => :'Array<String>',
160
165
  :'token' => :'String',
161
166
  :'uid_token' => :'String',
@@ -304,6 +309,10 @@ module Akeyless
304
309
  end
305
310
  end
306
311
 
312
+ if attributes.key?(:'require_crl_dp')
313
+ self.require_crl_dp = attributes[:'require_crl_dp']
314
+ end
315
+
307
316
  if attributes.key?(:'revoked_cert_ids')
308
317
  if (value = attributes[:'revoked_cert_ids']).is_a?(Array)
309
318
  self.revoked_cert_ids = value
@@ -377,6 +386,7 @@ module Akeyless
377
386
  name == o.name &&
378
387
  new_name == o.new_name &&
379
388
  product_type == o.product_type &&
389
+ require_crl_dp == o.require_crl_dp &&
380
390
  revoked_cert_ids == o.revoked_cert_ids &&
381
391
  token == o.token &&
382
392
  uid_token == o.uid_token &&
@@ -392,7 +402,7 @@ module Akeyless
392
402
  # Calculates hash code according to all attributes.
393
403
  # @return [Integer] Hash code
394
404
  def hash
395
- [access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
405
+ [access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, require_crl_dp, revoked_cert_ids, token, uid_token, unique_identifier].hash
396
406
  end
397
407
 
398
408
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # The audience in the JWT.
20
20
  attr_accessor :ad_endpoint
21
21
 
22
+ # Azure cloud environment [AzureCloud/AzureUSGovernment/AzureChinaCloud]. For create/update, cloud is inferred from jwks_uri.
23
+ attr_accessor :azure_cloud
24
+
22
25
  # The list of group ids that login is restricted to.
23
26
  attr_accessor :bound_group_ids
24
27
 
@@ -59,6 +62,7 @@ module Akeyless
59
62
  def self.attribute_map
60
63
  {
61
64
  :'ad_endpoint' => :'ad_endpoint',
65
+ :'azure_cloud' => :'azure_cloud',
62
66
  :'bound_group_ids' => :'bound_group_ids',
63
67
  :'bound_resource_groups' => :'bound_resource_groups',
64
68
  :'bound_resource_ids' => :'bound_resource_ids',
@@ -83,6 +87,7 @@ module Akeyless
83
87
  def self.openapi_types
84
88
  {
85
89
  :'ad_endpoint' => :'String',
90
+ :'azure_cloud' => :'String',
86
91
  :'bound_group_ids' => :'Array<String>',
87
92
  :'bound_resource_groups' => :'Array<String>',
88
93
  :'bound_resource_ids' => :'Array<String>',
@@ -123,6 +128,10 @@ module Akeyless
123
128
  self.ad_endpoint = attributes[:'ad_endpoint']
124
129
  end
125
130
 
131
+ if attributes.key?(:'azure_cloud')
132
+ self.azure_cloud = attributes[:'azure_cloud']
133
+ end
134
+
126
135
  if attributes.key?(:'bound_group_ids')
127
136
  if (value = attributes[:'bound_group_ids']).is_a?(Array)
128
137
  self.bound_group_ids = value
@@ -209,6 +218,7 @@ module Akeyless
209
218
  return true if self.equal?(o)
210
219
  self.class == o.class &&
211
220
  ad_endpoint == o.ad_endpoint &&
221
+ azure_cloud == o.azure_cloud &&
212
222
  bound_group_ids == o.bound_group_ids &&
213
223
  bound_resource_groups == o.bound_resource_groups &&
214
224
  bound_resource_ids == o.bound_resource_ids &&
@@ -232,7 +242,7 @@ module Akeyless
232
242
  # Calculates hash code according to all attributes.
233
243
  # @return [Integer] Hash code
234
244
  def hash
235
- [ad_endpoint, bound_group_ids, bound_resource_groups, bound_resource_ids, bound_resource_names, bound_resource_providers, bound_resource_types, bound_service_principal_ids, bound_subscription_ids, bound_tenant_id, issuer, jwks_uri, unique_identifier].hash
245
+ [ad_endpoint, azure_cloud, bound_group_ids, bound_resource_groups, bound_resource_ids, bound_resource_names, bound_resource_providers, bound_resource_types, bound_service_principal_ids, bound_subscription_ids, bound_tenant_id, issuer, jwks_uri, unique_identifier].hash
236
246
  end
237
247
 
238
248
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :azure_client_secret
21
21
 
22
+ attr_accessor :azure_cloud
23
+
22
24
  attr_accessor :azure_resource_group_name
23
25
 
24
26
  attr_accessor :azure_resource_name
@@ -42,6 +44,7 @@ module Akeyless
42
44
  {
43
45
  :'azure_client_id' => :'azure_client_id',
44
46
  :'azure_client_secret' => :'azure_client_secret',
47
+ :'azure_cloud' => :'azure_cloud',
45
48
  :'azure_resource_group_name' => :'azure_resource_group_name',
46
49
  :'azure_resource_name' => :'azure_resource_name',
47
50
  :'azure_subscription_id' => :'azure_subscription_id',
@@ -64,6 +67,7 @@ module Akeyless
64
67
  {
65
68
  :'azure_client_id' => :'String',
66
69
  :'azure_client_secret' => :'String',
70
+ :'azure_cloud' => :'String',
67
71
  :'azure_resource_group_name' => :'String',
68
72
  :'azure_resource_name' => :'String',
69
73
  :'azure_subscription_id' => :'String',
@@ -105,6 +109,10 @@ module Akeyless
105
109
  self.azure_client_secret = attributes[:'azure_client_secret']
106
110
  end
107
111
 
112
+ if attributes.key?(:'azure_cloud')
113
+ self.azure_cloud = attributes[:'azure_cloud']
114
+ end
115
+
108
116
  if attributes.key?(:'azure_resource_group_name')
109
117
  self.azure_resource_group_name = attributes[:'azure_resource_group_name']
110
118
  end
@@ -164,6 +172,7 @@ module Akeyless
164
172
  self.class == o.class &&
165
173
  azure_client_id == o.azure_client_id &&
166
174
  azure_client_secret == o.azure_client_secret &&
175
+ azure_cloud == o.azure_cloud &&
167
176
  azure_resource_group_name == o.azure_resource_group_name &&
168
177
  azure_resource_name == o.azure_resource_name &&
169
178
  azure_subscription_id == o.azure_subscription_id &&
@@ -184,7 +193,7 @@ module Akeyless
184
193
  # Calculates hash code according to all attributes.
185
194
  # @return [Integer] Hash code
186
195
  def hash
187
- [azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_username, connection_type, expiration_date, grace_rotated_secret_key, use_gw_cloud_identity].hash
196
+ [azure_client_id, azure_client_secret, azure_cloud, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_username, connection_type, expiration_date, grace_rotated_secret_key, use_gw_cloud_identity].hash
188
197
  end
189
198
 
190
199
  # Builds the object from hash
@@ -39,6 +39,9 @@ module Akeyless
39
39
  # Base64 encdoed PEM certificate
40
40
  attr_accessor :certificate
41
41
 
42
+ # RequireCrlDp indicates whether CRL distribution points are required on the leaf client certificate, and whether CRL validation must be enforced during authentication.
43
+ attr_accessor :require_crl_dp
44
+
42
45
  # A list of revoked cert ids
43
46
  attr_accessor :revoked_cert_ids
44
47
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  :'bound_organizational_units' => :'bound_organizational_units',
57
60
  :'bound_uri_sans' => :'bound_uri_sans',
58
61
  :'certificate' => :'certificate',
62
+ :'require_crl_dp' => :'require_crl_dp',
59
63
  :'revoked_cert_ids' => :'revoked_cert_ids',
60
64
  :'unique_identifier' => :'unique_identifier'
61
65
  }
@@ -77,6 +81,7 @@ module Akeyless
77
81
  :'bound_organizational_units' => :'Array<String>',
78
82
  :'bound_uri_sans' => :'Array<String>',
79
83
  :'certificate' => :'String',
84
+ :'require_crl_dp' => :'Boolean',
80
85
  :'revoked_cert_ids' => :'Array<String>',
81
86
  :'unique_identifier' => :'String'
82
87
  }
@@ -149,6 +154,10 @@ module Akeyless
149
154
  self.certificate = attributes[:'certificate']
150
155
  end
151
156
 
157
+ if attributes.key?(:'require_crl_dp')
158
+ self.require_crl_dp = attributes[:'require_crl_dp']
159
+ end
160
+
152
161
  if attributes.key?(:'revoked_cert_ids')
153
162
  if (value = attributes[:'revoked_cert_ids']).is_a?(Array)
154
163
  self.revoked_cert_ids = value
@@ -188,6 +197,7 @@ module Akeyless
188
197
  bound_organizational_units == o.bound_organizational_units &&
189
198
  bound_uri_sans == o.bound_uri_sans &&
190
199
  certificate == o.certificate &&
200
+ require_crl_dp == o.require_crl_dp &&
191
201
  revoked_cert_ids == o.revoked_cert_ids &&
192
202
  unique_identifier == o.unique_identifier
193
203
  end
@@ -201,7 +211,7 @@ module Akeyless
201
211
  # Calculates hash code according to all attributes.
202
212
  # @return [Integer] Hash code
203
213
  def hash
204
- [allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_organizational_units, bound_uri_sans, certificate, revoked_cert_ids, unique_identifier].hash
214
+ [allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_organizational_units, bound_uri_sans, certificate, require_crl_dp, revoked_cert_ids, unique_identifier].hash
205
215
  end
206
216
 
207
217
  # Builds the object from hash
@@ -37,6 +37,9 @@ module Akeyless
37
37
 
38
38
  attr_accessor :common_name
39
39
 
40
+ # CSRPEM contains the PEM-encoded CSR for pending certificates (HTTP-01 challenge)
41
+ attr_accessor :csr_pem
42
+
40
43
  attr_accessor :error_message
41
44
 
42
45
  attr_accessor :expiration_date
@@ -65,6 +68,7 @@ module Akeyless
65
68
  :'certificate_pem' => :'certificate_pem',
66
69
  :'certificate_status' => :'certificate_status',
67
70
  :'common_name' => :'common_name',
71
+ :'csr_pem' => :'csr_pem',
68
72
  :'error_message' => :'error_message',
69
73
  :'expiration_date' => :'expiration_date',
70
74
  :'expiration_events' => :'expiration_events',
@@ -94,6 +98,7 @@ module Akeyless
94
98
  :'certificate_pem' => :'String',
95
99
  :'certificate_status' => :'String',
96
100
  :'common_name' => :'String',
101
+ :'csr_pem' => :'String',
97
102
  :'error_message' => :'String',
98
103
  :'expiration_date' => :'Time',
99
104
  :'expiration_events' => :'Array<CertificateExpirationEvent>',
@@ -171,6 +176,10 @@ module Akeyless
171
176
  self.common_name = attributes[:'common_name']
172
177
  end
173
178
 
179
+ if attributes.key?(:'csr_pem')
180
+ self.csr_pem = attributes[:'csr_pem']
181
+ end
182
+
174
183
  if attributes.key?(:'error_message')
175
184
  self.error_message = attributes[:'error_message']
176
185
  end
@@ -233,6 +242,7 @@ module Akeyless
233
242
  certificate_pem == o.certificate_pem &&
234
243
  certificate_status == o.certificate_status &&
235
244
  common_name == o.common_name &&
245
+ csr_pem == o.csr_pem &&
236
246
  error_message == o.error_message &&
237
247
  expiration_date == o.expiration_date &&
238
248
  expiration_events == o.expiration_events &&
@@ -251,7 +261,7 @@ module Akeyless
251
261
  # Calculates hash code according to all attributes.
252
262
  # @return [Integer] Hash code
253
263
  def hash
254
- [auto_renew_certificate, certificate_chain, certificate_format, certificate_has_private_key, certificate_issuer_gw_cluster_id, certificate_issuer_gw_cluster_url, certificate_issuer_item_id, certificate_issuer_name, certificate_pem, certificate_status, common_name, error_message, expiration_date, expiration_events, external_ca_id, issuance_status, not_before, renew_before_expiration_in_days].hash
264
+ [auto_renew_certificate, certificate_chain, certificate_format, certificate_has_private_key, certificate_issuer_gw_cluster_id, certificate_issuer_gw_cluster_url, certificate_issuer_item_id, certificate_issuer_name, certificate_pem, certificate_status, common_name, csr_pem, error_message, expiration_date, expiration_events, external_ca_id, issuance_status, not_before, renew_before_expiration_in_days].hash
255
265
  end
256
266
 
257
267
  # Builds the object from hash
@@ -36,6 +36,9 @@ module Akeyless
36
36
  # Azure Active Directory ObjectId (relevant only for access-type=azure_ad)
37
37
  attr_accessor :azure_ad_object_id
38
38
 
39
+ # Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
40
+ attr_accessor :azure_cloud
41
+
39
42
  # Certificate data encoded in base64. Used if file was not provided. (relevant only for access-type=cert in Curl Context)
40
43
  attr_accessor :cert_data
41
44
 
@@ -97,6 +100,7 @@ module Akeyless
97
100
  :'admin_email' => :'admin-email',
98
101
  :'admin_password' => :'admin-password',
99
102
  :'azure_ad_object_id' => :'azure-ad-object-id',
103
+ :'azure_cloud' => :'azure-cloud',
100
104
  :'cert_data' => :'cert-data',
101
105
  :'cert_issuer_name' => :'cert-issuer-name',
102
106
  :'cert_username' => :'cert-username',
@@ -132,6 +136,7 @@ module Akeyless
132
136
  :'admin_email' => :'String',
133
137
  :'admin_password' => :'String',
134
138
  :'azure_ad_object_id' => :'String',
139
+ :'azure_cloud' => :'String',
135
140
  :'cert_data' => :'String',
136
141
  :'cert_issuer_name' => :'String',
137
142
  :'cert_username' => :'String',
@@ -203,6 +208,12 @@ module Akeyless
203
208
  self.azure_ad_object_id = attributes[:'azure_ad_object_id']
204
209
  end
205
210
 
211
+ if attributes.key?(:'azure_cloud')
212
+ self.azure_cloud = attributes[:'azure_cloud']
213
+ else
214
+ self.azure_cloud = 'AzureCloud'
215
+ end
216
+
206
217
  if attributes.key?(:'cert_data')
207
218
  self.cert_data = attributes[:'cert_data']
208
219
  end
@@ -307,6 +318,7 @@ module Akeyless
307
318
  admin_email == o.admin_email &&
308
319
  admin_password == o.admin_password &&
309
320
  azure_ad_object_id == o.azure_ad_object_id &&
321
+ azure_cloud == o.azure_cloud &&
310
322
  cert_data == o.cert_data &&
311
323
  cert_issuer_name == o.cert_issuer_name &&
312
324
  cert_username == o.cert_username &&
@@ -335,7 +347,7 @@ module Akeyless
335
347
  # Calculates hash code according to all attributes.
336
348
  # @return [Integer] Hash code
337
349
  def hash
338
- [access_id, access_key, access_type, account_id, admin_email, admin_password, azure_ad_object_id, cert_data, cert_issuer_name, cert_username, default_location_prefix, disable_pafxfast, gateway_spn, gcp_audience, json, k8s_auth_config_name, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, legacy_signing_alg_name, oci_auth_type, oci_group_ocid].hash
350
+ [access_id, access_key, access_type, account_id, admin_email, admin_password, azure_ad_object_id, azure_cloud, cert_data, cert_issuer_name, cert_username, default_location_prefix, disable_pafxfast, gateway_spn, gcp_audience, json, k8s_auth_config_name, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, legacy_signing_alg_name, oci_auth_type, oci_group_ocid].hash
339
351
  end
340
352
 
341
353
  # Builds the object from hash