akeyless 5.0.21 → 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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -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/GatewayCreateMigration.md +15 -1
  21. data/docs/GatewayUpdateMigration.md +14 -0
  22. data/docs/GetPKICertificateOutput.md +2 -0
  23. data/docs/GithubMetadata.md +28 -0
  24. data/docs/HTTPChallengeInfo.md +26 -0
  25. data/docs/IssuerOverviewInfo.md +22 -0
  26. data/docs/ItemGeneralInfo.md +2 -0
  27. data/docs/MigrationStatusReplyObj.md +2 -0
  28. data/docs/MigrationsConfigPart.md +2 -0
  29. data/docs/SecretInfo.md +2 -0
  30. data/docs/TargetCreateAzure.md +2 -0
  31. data/docs/TargetUpdateAzure.md +2 -0
  32. data/docs/UpdateAuthMethodCert.md +2 -0
  33. data/docs/UpdateAzureTarget.md +2 -0
  34. data/docs/V2Api.md +126 -0
  35. data/docs/ValidateCertificateChallenge.md +30 -0
  36. data/docs/ValidateCertificateChallengeOutput.md +24 -0
  37. data/docs/VaultAddress.md +20 -0
  38. data/docs/VaultAddressOutput.md +20 -0
  39. data/lib/akeyless/api/v2_api.rb +128 -0
  40. data/lib/akeyless/models/account_general_settings.rb +10 -1
  41. data/lib/akeyless/models/active_directory_payload.rb +30 -1
  42. data/lib/akeyless/models/auth.rb +13 -1
  43. data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
  44. data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
  45. data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
  46. data/lib/akeyless/models/azure_target_details.rb +10 -1
  47. data/lib/akeyless/models/cert_access_rules.rb +11 -1
  48. data/lib/akeyless/models/certificate_chain_info.rb +11 -1
  49. data/lib/akeyless/models/configure.rb +13 -1
  50. data/lib/akeyless/models/conjur_migration.rb +223 -0
  51. data/lib/akeyless/models/conjur_payload.rb +241 -0
  52. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  53. data/lib/akeyless/models/create_azure_target.rb +13 -1
  54. data/lib/akeyless/models/create_usc.rb +54 -1
  55. data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
  56. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  57. data/lib/akeyless/models/gateway_create_migration.rb +74 -2
  58. data/lib/akeyless/models/gateway_update_migration.rb +73 -1
  59. data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
  60. data/lib/akeyless/models/github_metadata.rb +259 -0
  61. data/lib/akeyless/models/http_challenge_info.rb +251 -0
  62. data/lib/akeyless/models/issuer_overview_info.rb +232 -0
  63. data/lib/akeyless/models/item_general_info.rb +10 -1
  64. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  65. data/lib/akeyless/models/migrations_config_part.rb +12 -1
  66. data/lib/akeyless/models/secret_info.rb +10 -1
  67. data/lib/akeyless/models/target_create_azure.rb +13 -1
  68. data/lib/akeyless/models/target_update_azure.rb +13 -1
  69. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  70. data/lib/akeyless/models/update_azure_target.rb +13 -1
  71. data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
  72. data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
  73. data/lib/akeyless/models/vault_address.rb +227 -0
  74. data/lib/akeyless/models/vault_address_output.rb +223 -0
  75. data/lib/akeyless/version.rb +1 -1
  76. data/lib/akeyless.rb +10 -0
  77. data/spec/models/conjur_migration_spec.rb +42 -0
  78. data/spec/models/conjur_payload_spec.rb +54 -0
  79. data/spec/models/default_auth_method_settings_spec.rb +42 -0
  80. data/spec/models/github_metadata_spec.rb +66 -0
  81. data/spec/models/http_challenge_info_spec.rb +60 -0
  82. data/spec/models/issuer_overview_info_spec.rb +48 -0
  83. data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
  84. data/spec/models/validate_certificate_challenge_spec.rb +72 -0
  85. data/spec/models/vault_address_output_spec.rb +42 -0
  86. data/spec/models/vault_address_spec.rb +42 -0
  87. metadata +41 -1
@@ -0,0 +1,223 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class DefaultAuthMethodSettings
18
+ attr_accessor :default_access_id
19
+
20
+ attr_accessor :default_auth_method_type
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'default_access_id' => :'default_access_id',
26
+ :'default_auth_method_type' => :'default_auth_method_type'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'default_access_id' => :'String',
39
+ :'default_auth_method_type' => :'String'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::DefaultAuthMethodSettings` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::DefaultAuthMethodSettings`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'default_access_id')
65
+ self.default_access_id = attributes[:'default_access_id']
66
+ end
67
+
68
+ if attributes.key?(:'default_auth_method_type')
69
+ self.default_auth_method_type = attributes[:'default_auth_method_type']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ default_access_id == o.default_access_id &&
94
+ default_auth_method_type == o.default_auth_method_type
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [default_access_id, default_auth_method_type].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ attributes = attributes.transform_keys(&:to_sym)
115
+ transformed_hash = {}
116
+ openapi_types.each_pair do |key, type|
117
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
118
+ transformed_hash["#{key}"] = nil
119
+ elsif type =~ /\AArray<(.*)>/i
120
+ # check to ensure the input is an array given that the attribute
121
+ # is documented as an array but the input is not
122
+ if attributes[attribute_map[key]].is_a?(Array)
123
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
124
+ end
125
+ elsif !attributes[attribute_map[key]].nil?
126
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
127
+ end
128
+ end
129
+ new(transformed_hash)
130
+ end
131
+
132
+ # Deserializes the data based on type
133
+ # @param string type Data type
134
+ # @param string value Value to be deserialized
135
+ # @return [Object] Deserialized data
136
+ def self._deserialize(type, value)
137
+ case type.to_sym
138
+ when :Time
139
+ Time.parse(value)
140
+ when :Date
141
+ Date.parse(value)
142
+ when :String
143
+ value.to_s
144
+ when :Integer
145
+ value.to_i
146
+ when :Float
147
+ value.to_f
148
+ when :Boolean
149
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
150
+ true
151
+ else
152
+ false
153
+ end
154
+ when :Object
155
+ # generic object (usually a Hash), return directly
156
+ value
157
+ when /\AArray<(?<inner_type>.+)>\z/
158
+ inner_type = Regexp.last_match[:inner_type]
159
+ value.map { |v| _deserialize(inner_type, v) }
160
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
161
+ k_type = Regexp.last_match[:k_type]
162
+ v_type = Regexp.last_match[:v_type]
163
+ {}.tap do |hash|
164
+ value.each do |k, v|
165
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
166
+ end
167
+ end
168
+ else # model
169
+ # models (e.g. Pet) or oneOf
170
+ klass = Akeyless.const_get(type)
171
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
172
+ end
173
+ end
174
+
175
+ # Returns the string representation of the object
176
+ # @return [String] String presentation of the object
177
+ def to_s
178
+ to_hash.to_s
179
+ end
180
+
181
+ # to_body is an alias to to_hash (backward compatibility)
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_body
184
+ to_hash
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+
223
+ end
@@ -79,6 +79,8 @@ module Akeyless
79
79
 
80
80
  attr_accessor :azure_client_secret
81
81
 
82
+ attr_accessor :azure_cloud
83
+
82
84
  attr_accessor :azure_fixed_user_name_sub_claim_key
83
85
 
84
86
  attr_accessor :azure_fixed_user_only
@@ -600,6 +602,7 @@ module Akeyless
600
602
  :'azure_app_object_id' => :'azure_app_object_id',
601
603
  :'azure_client_id' => :'azure_client_id',
602
604
  :'azure_client_secret' => :'azure_client_secret',
605
+ :'azure_cloud' => :'azure_cloud',
603
606
  :'azure_fixed_user_name_sub_claim_key' => :'azure_fixed_user_name_sub_claim_key',
604
607
  :'azure_fixed_user_only' => :'azure_fixed_user_only',
605
608
  :'azure_resource_group_name' => :'azure_resource_group_name',
@@ -875,6 +878,7 @@ module Akeyless
875
878
  :'azure_app_object_id' => :'String',
876
879
  :'azure_client_id' => :'String',
877
880
  :'azure_client_secret' => :'String',
881
+ :'azure_cloud' => :'String',
878
882
  :'azure_fixed_user_name_sub_claim_key' => :'String',
879
883
  :'azure_fixed_user_only' => :'Boolean',
880
884
  :'azure_resource_group_name' => :'String',
@@ -1261,6 +1265,10 @@ module Akeyless
1261
1265
  self.azure_client_secret = attributes[:'azure_client_secret']
1262
1266
  end
1263
1267
 
1268
+ if attributes.key?(:'azure_cloud')
1269
+ self.azure_cloud = attributes[:'azure_cloud']
1270
+ end
1271
+
1264
1272
  if attributes.key?(:'azure_fixed_user_name_sub_claim_key')
1265
1273
  self.azure_fixed_user_name_sub_claim_key = attributes[:'azure_fixed_user_name_sub_claim_key']
1266
1274
  end
@@ -2270,6 +2278,7 @@ module Akeyless
2270
2278
  azure_app_object_id == o.azure_app_object_id &&
2271
2279
  azure_client_id == o.azure_client_id &&
2272
2280
  azure_client_secret == o.azure_client_secret &&
2281
+ azure_cloud == o.azure_cloud &&
2273
2282
  azure_fixed_user_name_sub_claim_key == o.azure_fixed_user_name_sub_claim_key &&
2274
2283
  azure_fixed_user_only == o.azure_fixed_user_only &&
2275
2284
  azure_resource_group_name == o.azure_resource_group_name &&
@@ -2513,7 +2522,7 @@ module Akeyless
2513
2522
  # Calculates hash code according to all attributes.
2514
2523
  # @return [Integer] Hash code
2515
2524
  def hash
2516
- [access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, api_key, api_key_id, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_external_id, aws_region, aws_role_arns, aws_secret_access_key, aws_session_tags, aws_session_token, aws_transitive_tag_keys, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_administrative_unit, azure_app_object_id, azure_client_id, azure_client_secret, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, azure_username, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, cluster_mode, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, expiration_date, externally_provided_user, failure_message, fixed_user_only, gcp_access_type, gcp_fixed_user_claim_keyname, gcp_key_algo, gcp_project_id, gcp_role_bindings, gcp_role_names, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_organization_name, github_repository_path, gitlab_access_token, gitlab_access_type, gitlab_certificate, gitlab_group_name, gitlab_project_name, gitlab_role, gitlab_token_scope, gitlab_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, google_workspace_access_mode, google_workspace_admin_name, google_workspace_fixed_user_name_sub_claim_key, google_workspace_group_name, google_workspace_group_role, google_workspace_role_name, google_workspace_role_scope, grace_rotated_secret_key, grant_types, groups, gw_cloud_identity_external_id_opt, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_custom_fields_details, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_cluster_name, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_fixed_user_name_sub_claim_key, ldap_fixed_user_type, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_allowed_db_names, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, openai_url, oracle_creation_statements, oracle_revocation_statements, oracle_wallet_details, organization_id, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, project_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, rdp_fixed_user_name_sub_claim_key, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_auth_mode, sf_key_algo, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, username_template, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
2525
+ [access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, api_key, api_key_id, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_external_id, aws_region, aws_role_arns, aws_secret_access_key, aws_session_tags, aws_session_token, aws_transitive_tag_keys, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_administrative_unit, azure_app_object_id, azure_client_id, azure_client_secret, azure_cloud, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, azure_username, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, cluster_mode, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, expiration_date, externally_provided_user, failure_message, fixed_user_only, gcp_access_type, gcp_fixed_user_claim_keyname, gcp_key_algo, gcp_project_id, gcp_role_bindings, gcp_role_names, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_organization_name, github_repository_path, gitlab_access_token, gitlab_access_type, gitlab_certificate, gitlab_group_name, gitlab_project_name, gitlab_role, gitlab_token_scope, gitlab_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, google_workspace_access_mode, google_workspace_admin_name, google_workspace_fixed_user_name_sub_claim_key, google_workspace_group_name, google_workspace_group_role, google_workspace_role_name, google_workspace_role_scope, grace_rotated_secret_key, grant_types, groups, gw_cloud_identity_external_id_opt, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_custom_fields_details, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_cluster_name, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_fixed_user_name_sub_claim_key, ldap_fixed_user_type, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_allowed_db_names, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, openai_url, oracle_creation_statements, oracle_revocation_statements, oracle_wallet_details, organization_id, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, project_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, rdp_fixed_user_name_sub_claim_key, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_auth_mode, sf_key_algo, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, username_template, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
2517
2526
  end
2518
2527
 
2519
2528
  # Builds the object from hash
@@ -21,6 +21,12 @@ module Akeyless
21
21
  # Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
22
22
  attr_accessor :ad_auto_rotate
23
23
 
24
+ # How many days before the expiration of discovered certificates would you like to be notified (Relevant only for Active Directory migration with certificate discovery enabled)
25
+ attr_accessor :ad_cert_expiration_event_in
26
+
27
+ # Path location template for migrating certificates e.g.: /Certificates/{{COMMON_NAME}} (Relevant only for Active Directory migration with certificate discovery enabled)
28
+ attr_accessor :ad_certificates_path_template
29
+
24
30
  # Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
25
31
  attr_accessor :ad_computer_base_dn
26
32
 
@@ -87,6 +93,9 @@ module Akeyless
87
93
  # Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
88
94
  attr_accessor :ad_discover_local_users
89
95
 
96
+ # Enable AI-assisted certificate discovery (only when AI Insight is enabled on the Gateway)
97
+ attr_accessor :ai_certificate_discovery
98
+
90
99
  # AWS Secret Access Key (relevant only for AWS migration)
91
100
  attr_accessor :aws_key
92
101
 
@@ -108,6 +117,18 @@ module Akeyless
108
117
  # Azure Key Vault Access tenant ID (relevant only for Azure Key Vault migration)
109
118
  attr_accessor :azure_tenant_id
110
119
 
120
+ # Conjur account name set on your Conjur server (relevant only for Conjur migration).
121
+ attr_accessor :conjur_account
122
+
123
+ # Conjur API Key for the specified user (relevant only for Conjur migration).
124
+ attr_accessor :conjur_api_key
125
+
126
+ # Conjur server base URL (relevant only for Conjur migration). If conjur-url is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJUR_SSL_CERT_PATH to its path.
127
+ attr_accessor :conjur_url
128
+
129
+ # Conjur username used to authenticate (relevant only for Conjur migration).
130
+ attr_accessor :conjur_username
131
+
111
132
  # How many days before the expiration of the certificate would you like to be notified.
112
133
  attr_accessor :expiration_event_in
113
134
 
@@ -201,7 +222,7 @@ module Akeyless
201
222
  # Authentication token (see `/auth` and `/configure`)
202
223
  attr_accessor :token
203
224
 
204
- # Migration type (hashi/aws/gcp/k8s/azure_kv/active_directory/server_inventory/certificate)
225
+ # Migration type (hashi/aws/gcp/k8s/azure_kv/conjur/active_directory/server_inventory/certificate)
205
226
  attr_accessor :type
206
227
 
207
228
  # The universal identity token, Required only for universal_identity authentication
@@ -215,6 +236,8 @@ module Akeyless
215
236
  {
216
237
  :'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
217
238
  :'ad_auto_rotate' => :'ad-auto-rotate',
239
+ :'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
240
+ :'ad_certificates_path_template' => :'ad-certificates-path-template',
218
241
  :'ad_computer_base_dn' => :'ad-computer-base-dn',
219
242
  :'ad_discover_iis_app' => :'ad-discover-iis-app',
220
243
  :'ad_discover_services' => :'ad-discover-services',
@@ -237,6 +260,7 @@ module Akeyless
237
260
  :'ad_winrm_over_http' => :'ad-winrm-over-http',
238
261
  :'ad_winrm_port' => :'ad-winrm-port',
239
262
  :'ad_discover_local_users' => :'ad_discover_local_users',
263
+ :'ai_certificate_discovery' => :'ai-certificate-discovery',
240
264
  :'aws_key' => :'aws-key',
241
265
  :'aws_key_id' => :'aws-key-id',
242
266
  :'aws_region' => :'aws-region',
@@ -244,6 +268,10 @@ module Akeyless
244
268
  :'azure_kv_name' => :'azure-kv-name',
245
269
  :'azure_secret' => :'azure-secret',
246
270
  :'azure_tenant_id' => :'azure-tenant-id',
271
+ :'conjur_account' => :'conjur-account',
272
+ :'conjur_api_key' => :'conjur-api-key',
273
+ :'conjur_url' => :'conjur-url',
274
+ :'conjur_username' => :'conjur-username',
247
275
  :'expiration_event_in' => :'expiration-event-in',
248
276
  :'gcp_key' => :'gcp-key',
249
277
  :'gcp_project_id' => :'gcp-project-id',
@@ -291,6 +319,8 @@ module Akeyless
291
319
  {
292
320
  :'service_account_key_decoded' => :'String',
293
321
  :'ad_auto_rotate' => :'String',
322
+ :'ad_cert_expiration_event_in' => :'Array<String>',
323
+ :'ad_certificates_path_template' => :'String',
294
324
  :'ad_computer_base_dn' => :'String',
295
325
  :'ad_discover_iis_app' => :'String',
296
326
  :'ad_discover_services' => :'String',
@@ -313,6 +343,7 @@ module Akeyless
313
343
  :'ad_winrm_over_http' => :'String',
314
344
  :'ad_winrm_port' => :'String',
315
345
  :'ad_discover_local_users' => :'String',
346
+ :'ai_certificate_discovery' => :'String',
316
347
  :'aws_key' => :'String',
317
348
  :'aws_key_id' => :'String',
318
349
  :'aws_region' => :'String',
@@ -320,6 +351,10 @@ module Akeyless
320
351
  :'azure_kv_name' => :'String',
321
352
  :'azure_secret' => :'String',
322
353
  :'azure_tenant_id' => :'String',
354
+ :'conjur_account' => :'String',
355
+ :'conjur_api_key' => :'String',
356
+ :'conjur_url' => :'String',
357
+ :'conjur_username' => :'String',
323
358
  :'expiration_event_in' => :'Array<String>',
324
359
  :'gcp_key' => :'String',
325
360
  :'gcp_project_id' => :'String',
@@ -386,6 +421,16 @@ module Akeyless
386
421
  self.ad_auto_rotate = attributes[:'ad_auto_rotate']
387
422
  end
388
423
 
424
+ if attributes.key?(:'ad_cert_expiration_event_in')
425
+ if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
426
+ self.ad_cert_expiration_event_in = value
427
+ end
428
+ end
429
+
430
+ if attributes.key?(:'ad_certificates_path_template')
431
+ self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
432
+ end
433
+
389
434
  if attributes.key?(:'ad_computer_base_dn')
390
435
  self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
391
436
  end
@@ -490,6 +535,10 @@ module Akeyless
490
535
  self.ad_discover_local_users = attributes[:'ad_discover_local_users']
491
536
  end
492
537
 
538
+ if attributes.key?(:'ai_certificate_discovery')
539
+ self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
540
+ end
541
+
493
542
  if attributes.key?(:'aws_key')
494
543
  self.aws_key = attributes[:'aws_key']
495
544
  end
@@ -520,6 +569,22 @@ module Akeyless
520
569
  self.azure_tenant_id = attributes[:'azure_tenant_id']
521
570
  end
522
571
 
572
+ if attributes.key?(:'conjur_account')
573
+ self.conjur_account = attributes[:'conjur_account']
574
+ end
575
+
576
+ if attributes.key?(:'conjur_api_key')
577
+ self.conjur_api_key = attributes[:'conjur_api_key']
578
+ end
579
+
580
+ if attributes.key?(:'conjur_url')
581
+ self.conjur_url = attributes[:'conjur_url']
582
+ end
583
+
584
+ if attributes.key?(:'conjur_username')
585
+ self.conjur_username = attributes[:'conjur_username']
586
+ end
587
+
523
588
  if attributes.key?(:'expiration_event_in')
524
589
  if (value = attributes[:'expiration_event_in']).is_a?(Array)
525
590
  self.expiration_event_in = value
@@ -732,6 +797,8 @@ module Akeyless
732
797
  self.class == o.class &&
733
798
  service_account_key_decoded == o.service_account_key_decoded &&
734
799
  ad_auto_rotate == o.ad_auto_rotate &&
800
+ ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
801
+ ad_certificates_path_template == o.ad_certificates_path_template &&
735
802
  ad_computer_base_dn == o.ad_computer_base_dn &&
736
803
  ad_discover_iis_app == o.ad_discover_iis_app &&
737
804
  ad_discover_services == o.ad_discover_services &&
@@ -754,6 +821,7 @@ module Akeyless
754
821
  ad_winrm_over_http == o.ad_winrm_over_http &&
755
822
  ad_winrm_port == o.ad_winrm_port &&
756
823
  ad_discover_local_users == o.ad_discover_local_users &&
824
+ ai_certificate_discovery == o.ai_certificate_discovery &&
757
825
  aws_key == o.aws_key &&
758
826
  aws_key_id == o.aws_key_id &&
759
827
  aws_region == o.aws_region &&
@@ -761,6 +829,10 @@ module Akeyless
761
829
  azure_kv_name == o.azure_kv_name &&
762
830
  azure_secret == o.azure_secret &&
763
831
  azure_tenant_id == o.azure_tenant_id &&
832
+ conjur_account == o.conjur_account &&
833
+ conjur_api_key == o.conjur_api_key &&
834
+ conjur_url == o.conjur_url &&
835
+ conjur_username == o.conjur_username &&
764
836
  expiration_event_in == o.expiration_event_in &&
765
837
  gcp_key == o.gcp_key &&
766
838
  gcp_project_id == o.gcp_project_id &&
@@ -806,7 +878,7 @@ module Akeyless
806
878
  # Calculates hash code according to all attributes.
807
879
  # @return [Integer] Hash code
808
880
  def hash
809
- [service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, type, uid_token, use_gw_cloud_identity].hash
881
+ [service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, type, uid_token, use_gw_cloud_identity].hash
810
882
  end
811
883
 
812
884
  # Builds the object from hash
@@ -21,6 +21,12 @@ module Akeyless
21
21
  # Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
22
22
  attr_accessor :ad_auto_rotate
23
23
 
24
+ # How many days before the expiration of discovered certificates would you like to be notified (Relevant only for Active Directory migration with certificate discovery enabled)
25
+ attr_accessor :ad_cert_expiration_event_in
26
+
27
+ # Path location template for migrating certificates e.g.: /Certificates/{{COMMON_NAME}} (Relevant only for Active Directory migration with certificate discovery enabled)
28
+ attr_accessor :ad_certificates_path_template
29
+
24
30
  # Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
25
31
  attr_accessor :ad_computer_base_dn
26
32
 
@@ -87,6 +93,9 @@ module Akeyless
87
93
  # Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
88
94
  attr_accessor :ad_discover_local_users
89
95
 
96
+ # Enable AI-assisted certificate discovery (only when AI Insight is enabled on the Gateway)
97
+ attr_accessor :ai_certificate_discovery
98
+
90
99
  # AWS Secret Access Key (relevant only for AWS migration)
91
100
  attr_accessor :aws_key
92
101
 
@@ -108,6 +117,18 @@ module Akeyless
108
117
  # Azure Key Vault Access tenant ID (relevant only for Azure Key Vault migration)
109
118
  attr_accessor :azure_tenant_id
110
119
 
120
+ # Conjur account name set on your Conjur server (relevant only for Conjur migration).
121
+ attr_accessor :conjur_account
122
+
123
+ # Conjur API Key for the specified user (relevant only for Conjur migration).
124
+ attr_accessor :conjur_api_key
125
+
126
+ # Conjur server base URL (relevant only for Conjur migration). If conjur-url is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJUR_SSL_CERT_PATH to its path.
127
+ attr_accessor :conjur_url
128
+
129
+ # Conjur username used to authenticate (relevant only for Conjur migration).
130
+ attr_accessor :conjur_username
131
+
111
132
  # How many days before the expiration of the certificate would you like to be notified.
112
133
  attr_accessor :expiration_event_in
113
134
 
@@ -218,6 +239,8 @@ module Akeyless
218
239
  {
219
240
  :'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
220
241
  :'ad_auto_rotate' => :'ad-auto-rotate',
242
+ :'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
243
+ :'ad_certificates_path_template' => :'ad-certificates-path-template',
221
244
  :'ad_computer_base_dn' => :'ad-computer-base-dn',
222
245
  :'ad_discover_iis_app' => :'ad-discover-iis-app',
223
246
  :'ad_discover_services' => :'ad-discover-services',
@@ -240,6 +263,7 @@ module Akeyless
240
263
  :'ad_winrm_over_http' => :'ad-winrm-over-http',
241
264
  :'ad_winrm_port' => :'ad-winrm-port',
242
265
  :'ad_discover_local_users' => :'ad_discover_local_users',
266
+ :'ai_certificate_discovery' => :'ai-certificate-discovery',
243
267
  :'aws_key' => :'aws-key',
244
268
  :'aws_key_id' => :'aws-key-id',
245
269
  :'aws_region' => :'aws-region',
@@ -247,6 +271,10 @@ module Akeyless
247
271
  :'azure_kv_name' => :'azure-kv-name',
248
272
  :'azure_secret' => :'azure-secret',
249
273
  :'azure_tenant_id' => :'azure-tenant-id',
274
+ :'conjur_account' => :'conjur-account',
275
+ :'conjur_api_key' => :'conjur-api-key',
276
+ :'conjur_url' => :'conjur-url',
277
+ :'conjur_username' => :'conjur-username',
250
278
  :'expiration_event_in' => :'expiration-event-in',
251
279
  :'gcp_key' => :'gcp-key',
252
280
  :'gcp_project_id' => :'gcp-project-id',
@@ -295,6 +323,8 @@ module Akeyless
295
323
  {
296
324
  :'service_account_key_decoded' => :'String',
297
325
  :'ad_auto_rotate' => :'String',
326
+ :'ad_cert_expiration_event_in' => :'Array<String>',
327
+ :'ad_certificates_path_template' => :'String',
298
328
  :'ad_computer_base_dn' => :'String',
299
329
  :'ad_discover_iis_app' => :'String',
300
330
  :'ad_discover_services' => :'String',
@@ -317,6 +347,7 @@ module Akeyless
317
347
  :'ad_winrm_over_http' => :'String',
318
348
  :'ad_winrm_port' => :'String',
319
349
  :'ad_discover_local_users' => :'String',
350
+ :'ai_certificate_discovery' => :'String',
320
351
  :'aws_key' => :'String',
321
352
  :'aws_key_id' => :'String',
322
353
  :'aws_region' => :'String',
@@ -324,6 +355,10 @@ module Akeyless
324
355
  :'azure_kv_name' => :'String',
325
356
  :'azure_secret' => :'String',
326
357
  :'azure_tenant_id' => :'String',
358
+ :'conjur_account' => :'String',
359
+ :'conjur_api_key' => :'String',
360
+ :'conjur_url' => :'String',
361
+ :'conjur_username' => :'String',
327
362
  :'expiration_event_in' => :'Array<String>',
328
363
  :'gcp_key' => :'String',
329
364
  :'gcp_project_id' => :'String',
@@ -391,6 +426,16 @@ module Akeyless
391
426
  self.ad_auto_rotate = attributes[:'ad_auto_rotate']
392
427
  end
393
428
 
429
+ if attributes.key?(:'ad_cert_expiration_event_in')
430
+ if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
431
+ self.ad_cert_expiration_event_in = value
432
+ end
433
+ end
434
+
435
+ if attributes.key?(:'ad_certificates_path_template')
436
+ self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
437
+ end
438
+
394
439
  if attributes.key?(:'ad_computer_base_dn')
395
440
  self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
396
441
  end
@@ -495,6 +540,10 @@ module Akeyless
495
540
  self.ad_discover_local_users = attributes[:'ad_discover_local_users']
496
541
  end
497
542
 
543
+ if attributes.key?(:'ai_certificate_discovery')
544
+ self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
545
+ end
546
+
498
547
  if attributes.key?(:'aws_key')
499
548
  self.aws_key = attributes[:'aws_key']
500
549
  end
@@ -525,6 +574,22 @@ module Akeyless
525
574
  self.azure_tenant_id = attributes[:'azure_tenant_id']
526
575
  end
527
576
 
577
+ if attributes.key?(:'conjur_account')
578
+ self.conjur_account = attributes[:'conjur_account']
579
+ end
580
+
581
+ if attributes.key?(:'conjur_api_key')
582
+ self.conjur_api_key = attributes[:'conjur_api_key']
583
+ end
584
+
585
+ if attributes.key?(:'conjur_url')
586
+ self.conjur_url = attributes[:'conjur_url']
587
+ end
588
+
589
+ if attributes.key?(:'conjur_username')
590
+ self.conjur_username = attributes[:'conjur_username']
591
+ end
592
+
528
593
  if attributes.key?(:'expiration_event_in')
529
594
  if (value = attributes[:'expiration_event_in']).is_a?(Array)
530
595
  self.expiration_event_in = value
@@ -734,6 +799,8 @@ module Akeyless
734
799
  self.class == o.class &&
735
800
  service_account_key_decoded == o.service_account_key_decoded &&
736
801
  ad_auto_rotate == o.ad_auto_rotate &&
802
+ ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
803
+ ad_certificates_path_template == o.ad_certificates_path_template &&
737
804
  ad_computer_base_dn == o.ad_computer_base_dn &&
738
805
  ad_discover_iis_app == o.ad_discover_iis_app &&
739
806
  ad_discover_services == o.ad_discover_services &&
@@ -756,6 +823,7 @@ module Akeyless
756
823
  ad_winrm_over_http == o.ad_winrm_over_http &&
757
824
  ad_winrm_port == o.ad_winrm_port &&
758
825
  ad_discover_local_users == o.ad_discover_local_users &&
826
+ ai_certificate_discovery == o.ai_certificate_discovery &&
759
827
  aws_key == o.aws_key &&
760
828
  aws_key_id == o.aws_key_id &&
761
829
  aws_region == o.aws_region &&
@@ -763,6 +831,10 @@ module Akeyless
763
831
  azure_kv_name == o.azure_kv_name &&
764
832
  azure_secret == o.azure_secret &&
765
833
  azure_tenant_id == o.azure_tenant_id &&
834
+ conjur_account == o.conjur_account &&
835
+ conjur_api_key == o.conjur_api_key &&
836
+ conjur_url == o.conjur_url &&
837
+ conjur_username == o.conjur_username &&
766
838
  expiration_event_in == o.expiration_event_in &&
767
839
  gcp_key == o.gcp_key &&
768
840
  gcp_project_id == o.gcp_project_id &&
@@ -809,7 +881,7 @@ module Akeyless
809
881
  # Calculates hash code according to all attributes.
810
882
  # @return [Integer] Hash code
811
883
  def hash
812
- [service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token, use_gw_cloud_identity].hash
884
+ [service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token, use_gw_cloud_identity].hash
813
885
  end
814
886
 
815
887
  # Builds the object from hash