akeyless 3.3.17 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,26 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateDBTarget
18
+ attr_accessor :db_defined_connection_type
19
+
20
+ # (Optional) Client id (relevant for \"cloud-service-provider\" only)
21
+ attr_accessor :azure_client_id
22
+
23
+ # (Optional) Client secret (relevant for \"cloud-service-provider\" only)
24
+ attr_accessor :azure_client_secret
25
+
26
+ # (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
27
+ attr_accessor :azure_tenant_id
28
+
29
+ # (Optional) Cloud service provider (currently only supports Azure)
30
+ attr_accessor :cloud_service_provider
31
+
18
32
  # Deprecated - use description
19
33
  attr_accessor :comment
20
34
 
35
+ # (Optional) Type of connection to mssql database [credentials/cloud-identity]
36
+ attr_accessor :connection_type
37
+
21
38
  attr_accessor :db_name
22
39
 
23
40
  # (Optional) DB server certificates
@@ -90,7 +107,13 @@ module Akeyless
90
107
  # Attribute mapping from ruby-style variable name to JSON key.
91
108
  def self.attribute_map
92
109
  {
110
+ :'db_defined_connection_type' => :'DBDefinedConnectionType',
111
+ :'azure_client_id' => :'azure-client-id',
112
+ :'azure_client_secret' => :'azure-client-secret',
113
+ :'azure_tenant_id' => :'azure-tenant-id',
114
+ :'cloud_service_provider' => :'cloud-service-provider',
93
115
  :'comment' => :'comment',
116
+ :'connection_type' => :'connection-type',
94
117
  :'db_name' => :'db-name',
95
118
  :'db_server_certificates' => :'db-server-certificates',
96
119
  :'db_server_name' => :'db-server-name',
@@ -128,7 +151,13 @@ module Akeyless
128
151
  # Attribute type mapping.
129
152
  def self.openapi_types
130
153
  {
154
+ :'db_defined_connection_type' => :'String',
155
+ :'azure_client_id' => :'String',
156
+ :'azure_client_secret' => :'String',
157
+ :'azure_tenant_id' => :'String',
158
+ :'cloud_service_provider' => :'String',
131
159
  :'comment' => :'String',
160
+ :'connection_type' => :'String',
132
161
  :'db_name' => :'String',
133
162
  :'db_server_certificates' => :'String',
134
163
  :'db_server_name' => :'String',
@@ -179,10 +208,36 @@ module Akeyless
179
208
  h[k.to_sym] = v
180
209
  }
181
210
 
211
+ if attributes.key?(:'db_defined_connection_type')
212
+ self.db_defined_connection_type = attributes[:'db_defined_connection_type']
213
+ end
214
+
215
+ if attributes.key?(:'azure_client_id')
216
+ self.azure_client_id = attributes[:'azure_client_id']
217
+ end
218
+
219
+ if attributes.key?(:'azure_client_secret')
220
+ self.azure_client_secret = attributes[:'azure_client_secret']
221
+ end
222
+
223
+ if attributes.key?(:'azure_tenant_id')
224
+ self.azure_tenant_id = attributes[:'azure_tenant_id']
225
+ end
226
+
227
+ if attributes.key?(:'cloud_service_provider')
228
+ self.cloud_service_provider = attributes[:'cloud_service_provider']
229
+ end
230
+
182
231
  if attributes.key?(:'comment')
183
232
  self.comment = attributes[:'comment']
184
233
  end
185
234
 
235
+ if attributes.key?(:'connection_type')
236
+ self.connection_type = attributes[:'connection_type']
237
+ else
238
+ self.connection_type = 'credentials'
239
+ end
240
+
186
241
  if attributes.key?(:'db_name')
187
242
  self.db_name = attributes[:'db_name']
188
243
  end
@@ -301,6 +356,10 @@ module Akeyless
301
356
  def list_invalid_properties
302
357
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
303
358
  invalid_properties = Array.new
359
+ if @connection_type.nil?
360
+ invalid_properties.push('invalid value for "connection_type", connection_type cannot be nil.')
361
+ end
362
+
304
363
  if @db_type.nil?
305
364
  invalid_properties.push('invalid value for "db_type", db_type cannot be nil.')
306
365
  end
@@ -316,6 +375,7 @@ module Akeyless
316
375
  # @return true if the model is valid
317
376
  def valid?
318
377
  warn '[DEPRECATED] the `valid?` method is obsolete'
378
+ return false if @connection_type.nil?
319
379
  return false if @db_type.nil?
320
380
  return false if @name.nil?
321
381
  true
@@ -326,7 +386,13 @@ module Akeyless
326
386
  def ==(o)
327
387
  return true if self.equal?(o)
328
388
  self.class == o.class &&
389
+ db_defined_connection_type == o.db_defined_connection_type &&
390
+ azure_client_id == o.azure_client_id &&
391
+ azure_client_secret == o.azure_client_secret &&
392
+ azure_tenant_id == o.azure_tenant_id &&
393
+ cloud_service_provider == o.cloud_service_provider &&
329
394
  comment == o.comment &&
395
+ connection_type == o.connection_type &&
330
396
  db_name == o.db_name &&
331
397
  db_server_certificates == o.db_server_certificates &&
332
398
  db_server_name == o.db_server_name &&
@@ -364,7 +430,7 @@ module Akeyless
364
430
  # Calculates hash code according to all attributes.
365
431
  # @return [Integer] Hash code
366
432
  def hash
367
- [comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, 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, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
433
+ [db_defined_connection_type, azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, 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, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
368
434
  end
369
435
 
370
436
  # Builds the object from hash
@@ -28,16 +28,16 @@ module Akeyless
28
28
 
29
29
  attr_accessor :event_type
30
30
 
31
- # Event item name
31
+ # EventItemName Event item name
32
32
  attr_accessor :item_name
33
33
 
34
- # Event item type can be either \"target\" or type of item eg \"static_secret\"/\"dynamic_secret\" To get type of some item run `akeyless describe-item -n {ITEM_NAME} --jq-expression .item_type`
34
+ # EventItemType Event item type
35
35
  attr_accessor :item_type
36
36
 
37
37
  # Set output format to JSON
38
38
  attr_accessor :json
39
39
 
40
- # TTL in minutes for how long to grant the requested access
40
+ # For how long to grant the requested access, in minutes
41
41
  attr_accessor :request_access_ttl
42
42
 
43
43
  # Authentication token (see `/auth` and `/configure`)
@@ -16,6 +16,14 @@ require 'time'
16
16
  module Akeyless
17
17
  # DbTargetDetails
18
18
  class DbTargetDetails
19
+ attr_accessor :cloud_service_provider
20
+
21
+ attr_accessor :connection_type
22
+
23
+ attr_accessor :db_client_id
24
+
25
+ attr_accessor :db_client_secret
26
+
19
27
  attr_accessor :db_host_name
20
28
 
21
29
  attr_accessor :db_name
@@ -35,6 +43,8 @@ module Akeyless
35
43
  # (Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address.
36
44
  attr_accessor :db_server_name
37
45
 
46
+ attr_accessor :db_tenant_id
47
+
38
48
  attr_accessor :db_user_name
39
49
 
40
50
  attr_accessor :sf_account
@@ -48,6 +58,10 @@ module Akeyless
48
58
  # Attribute mapping from ruby-style variable name to JSON key.
49
59
  def self.attribute_map
50
60
  {
61
+ :'cloud_service_provider' => :'cloud_service_provider',
62
+ :'connection_type' => :'connection_type',
63
+ :'db_client_id' => :'db_client_id',
64
+ :'db_client_secret' => :'db_client_secret',
51
65
  :'db_host_name' => :'db_host_name',
52
66
  :'db_name' => :'db_name',
53
67
  :'db_port' => :'db_port',
@@ -56,6 +70,7 @@ module Akeyless
56
70
  :'db_pwd' => :'db_pwd',
57
71
  :'db_server_certificates' => :'db_server_certificates',
58
72
  :'db_server_name' => :'db_server_name',
73
+ :'db_tenant_id' => :'db_tenant_id',
59
74
  :'db_user_name' => :'db_user_name',
60
75
  :'sf_account' => :'sf_account',
61
76
  :'ssl_connection_certificate' => :'ssl_connection_certificate',
@@ -71,6 +86,10 @@ module Akeyless
71
86
  # Attribute type mapping.
72
87
  def self.openapi_types
73
88
  {
89
+ :'cloud_service_provider' => :'String',
90
+ :'connection_type' => :'String',
91
+ :'db_client_id' => :'String',
92
+ :'db_client_secret' => :'String',
74
93
  :'db_host_name' => :'String',
75
94
  :'db_name' => :'String',
76
95
  :'db_port' => :'String',
@@ -79,6 +98,7 @@ module Akeyless
79
98
  :'db_pwd' => :'String',
80
99
  :'db_server_certificates' => :'String',
81
100
  :'db_server_name' => :'String',
101
+ :'db_tenant_id' => :'String',
82
102
  :'db_user_name' => :'String',
83
103
  :'sf_account' => :'String',
84
104
  :'ssl_connection_certificate' => :'String',
@@ -107,6 +127,22 @@ module Akeyless
107
127
  h[k.to_sym] = v
108
128
  }
109
129
 
130
+ if attributes.key?(:'cloud_service_provider')
131
+ self.cloud_service_provider = attributes[:'cloud_service_provider']
132
+ end
133
+
134
+ if attributes.key?(:'connection_type')
135
+ self.connection_type = attributes[:'connection_type']
136
+ end
137
+
138
+ if attributes.key?(:'db_client_id')
139
+ self.db_client_id = attributes[:'db_client_id']
140
+ end
141
+
142
+ if attributes.key?(:'db_client_secret')
143
+ self.db_client_secret = attributes[:'db_client_secret']
144
+ end
145
+
110
146
  if attributes.key?(:'db_host_name')
111
147
  self.db_host_name = attributes[:'db_host_name']
112
148
  end
@@ -139,6 +175,10 @@ module Akeyless
139
175
  self.db_server_name = attributes[:'db_server_name']
140
176
  end
141
177
 
178
+ if attributes.key?(:'db_tenant_id')
179
+ self.db_tenant_id = attributes[:'db_tenant_id']
180
+ end
181
+
142
182
  if attributes.key?(:'db_user_name')
143
183
  self.db_user_name = attributes[:'db_user_name']
144
184
  end
@@ -176,6 +216,10 @@ module Akeyless
176
216
  def ==(o)
177
217
  return true if self.equal?(o)
178
218
  self.class == o.class &&
219
+ cloud_service_provider == o.cloud_service_provider &&
220
+ connection_type == o.connection_type &&
221
+ db_client_id == o.db_client_id &&
222
+ db_client_secret == o.db_client_secret &&
179
223
  db_host_name == o.db_host_name &&
180
224
  db_name == o.db_name &&
181
225
  db_port == o.db_port &&
@@ -184,6 +228,7 @@ module Akeyless
184
228
  db_pwd == o.db_pwd &&
185
229
  db_server_certificates == o.db_server_certificates &&
186
230
  db_server_name == o.db_server_name &&
231
+ db_tenant_id == o.db_tenant_id &&
187
232
  db_user_name == o.db_user_name &&
188
233
  sf_account == o.sf_account &&
189
234
  ssl_connection_certificate == o.ssl_connection_certificate &&
@@ -199,7 +244,7 @@ module Akeyless
199
244
  # Calculates hash code according to all attributes.
200
245
  # @return [Integer] Hash code
201
246
  def hash
202
- [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, sf_account, ssl_connection_certificate, ssl_connection_mode].hash
247
+ [cloud_service_provider, connection_type, db_client_id, db_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_tenant_id, db_user_name, sf_account, ssl_connection_certificate, ssl_connection_mode].hash
203
248
  end
204
249
 
205
250
  # Builds the object from hash
@@ -107,8 +107,16 @@ module Akeyless
107
107
 
108
108
  attr_accessor :client_authentication_type
109
109
 
110
+ attr_accessor :cloud_service_provider
111
+
112
+ attr_accessor :connection_type
113
+
110
114
  attr_accessor :create_sync_url
111
115
 
116
+ attr_accessor :db_client_id
117
+
118
+ attr_accessor :db_client_secret
119
+
112
120
  attr_accessor :db_host_name
113
121
 
114
122
  attr_accessor :db_isolation_level
@@ -134,6 +142,8 @@ module Akeyless
134
142
  # (Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address.
135
143
  attr_accessor :db_server_name
136
144
 
145
+ attr_accessor :db_tenant_id
146
+
137
147
  attr_accessor :db_user_name
138
148
 
139
149
  attr_accessor :delete_protection
@@ -509,7 +519,11 @@ module Akeyless
509
519
  :'chef_server_username' => :'chef_server_username',
510
520
  :'chef_skip_ssl' => :'chef_skip_ssl',
511
521
  :'client_authentication_type' => :'client_authentication_type',
522
+ :'cloud_service_provider' => :'cloud_service_provider',
523
+ :'connection_type' => :'connection_type',
512
524
  :'create_sync_url' => :'create_sync_url',
525
+ :'db_client_id' => :'db_client_id',
526
+ :'db_client_secret' => :'db_client_secret',
513
527
  :'db_host_name' => :'db_host_name',
514
528
  :'db_isolation_level' => :'db_isolation_level',
515
529
  :'db_max_idle_conns' => :'db_max_idle_conns',
@@ -521,6 +535,7 @@ module Akeyless
521
535
  :'db_pwd' => :'db_pwd',
522
536
  :'db_server_certificates' => :'db_server_certificates',
523
537
  :'db_server_name' => :'db_server_name',
538
+ :'db_tenant_id' => :'db_tenant_id',
524
539
  :'db_user_name' => :'db_user_name',
525
540
  :'delete_protection' => :'delete_protection',
526
541
  :'dynamic_secret_id' => :'dynamic_secret_id',
@@ -732,7 +747,11 @@ module Akeyless
732
747
  :'chef_server_username' => :'String',
733
748
  :'chef_skip_ssl' => :'Boolean',
734
749
  :'client_authentication_type' => :'String',
750
+ :'cloud_service_provider' => :'String',
751
+ :'connection_type' => :'String',
735
752
  :'create_sync_url' => :'String',
753
+ :'db_client_id' => :'String',
754
+ :'db_client_secret' => :'String',
736
755
  :'db_host_name' => :'String',
737
756
  :'db_isolation_level' => :'String',
738
757
  :'db_max_idle_conns' => :'String',
@@ -744,6 +763,7 @@ module Akeyless
744
763
  :'db_pwd' => :'String',
745
764
  :'db_server_certificates' => :'String',
746
765
  :'db_server_name' => :'String',
766
+ :'db_tenant_id' => :'String',
747
767
  :'db_user_name' => :'String',
748
768
  :'delete_protection' => :'Boolean',
749
769
  :'dynamic_secret_id' => :'Integer',
@@ -1108,10 +1128,26 @@ module Akeyless
1108
1128
  self.client_authentication_type = attributes[:'client_authentication_type']
1109
1129
  end
1110
1130
 
1131
+ if attributes.key?(:'cloud_service_provider')
1132
+ self.cloud_service_provider = attributes[:'cloud_service_provider']
1133
+ end
1134
+
1135
+ if attributes.key?(:'connection_type')
1136
+ self.connection_type = attributes[:'connection_type']
1137
+ end
1138
+
1111
1139
  if attributes.key?(:'create_sync_url')
1112
1140
  self.create_sync_url = attributes[:'create_sync_url']
1113
1141
  end
1114
1142
 
1143
+ if attributes.key?(:'db_client_id')
1144
+ self.db_client_id = attributes[:'db_client_id']
1145
+ end
1146
+
1147
+ if attributes.key?(:'db_client_secret')
1148
+ self.db_client_secret = attributes[:'db_client_secret']
1149
+ end
1150
+
1115
1151
  if attributes.key?(:'db_host_name')
1116
1152
  self.db_host_name = attributes[:'db_host_name']
1117
1153
  end
@@ -1156,6 +1192,10 @@ module Akeyless
1156
1192
  self.db_server_name = attributes[:'db_server_name']
1157
1193
  end
1158
1194
 
1195
+ if attributes.key?(:'db_tenant_id')
1196
+ self.db_tenant_id = attributes[:'db_tenant_id']
1197
+ end
1198
+
1159
1199
  if attributes.key?(:'db_user_name')
1160
1200
  self.db_user_name = attributes[:'db_user_name']
1161
1201
  end
@@ -1863,7 +1903,11 @@ module Akeyless
1863
1903
  chef_server_username == o.chef_server_username &&
1864
1904
  chef_skip_ssl == o.chef_skip_ssl &&
1865
1905
  client_authentication_type == o.client_authentication_type &&
1906
+ cloud_service_provider == o.cloud_service_provider &&
1907
+ connection_type == o.connection_type &&
1866
1908
  create_sync_url == o.create_sync_url &&
1909
+ db_client_id == o.db_client_id &&
1910
+ db_client_secret == o.db_client_secret &&
1867
1911
  db_host_name == o.db_host_name &&
1868
1912
  db_isolation_level == o.db_isolation_level &&
1869
1913
  db_max_idle_conns == o.db_max_idle_conns &&
@@ -1875,6 +1919,7 @@ module Akeyless
1875
1919
  db_pwd == o.db_pwd &&
1876
1920
  db_server_certificates == o.db_server_certificates &&
1877
1921
  db_server_name == o.db_server_name &&
1922
+ db_tenant_id == o.db_tenant_id &&
1878
1923
  db_user_name == o.db_user_name &&
1879
1924
  delete_protection == o.delete_protection &&
1880
1925
  dynamic_secret_id == o.dynamic_secret_id &&
@@ -2040,7 +2085,7 @@ module Akeyless
2040
2085
  # Calculates hash code according to all attributes.
2041
2086
  # @return [Integer] Hash code
2042
2087
  def hash
2043
- [access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, 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_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, 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, 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, create_sync_url, 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_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, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_role_bindings, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, 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_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, grant_types, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, 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_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_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_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, oracle_creation_statements, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, 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, 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_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, 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
2088
+ [access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, 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_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, 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, 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, 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, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_role_bindings, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, 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_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, grant_types, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, 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_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_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_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, oracle_creation_statements, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, 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, 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_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, 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
2044
2089
  end
2045
2090
 
2046
2091
  # Builds the object from hash
@@ -58,6 +58,9 @@ module Akeyless
58
58
  # Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
59
59
  attr_accessor :secure_access_host
60
60
 
61
+ # RD Gateway server
62
+ attr_accessor :secure_access_rd_gateway_server
63
+
61
64
  # Required when the Dynamic Secret is used for a domain user
62
65
  attr_accessor :secure_access_rdp_domain
63
66
 
@@ -99,6 +102,7 @@ module Akeyless
99
102
  :'secure_access_allow_external_user' => :'secure-access-allow-external-user',
100
103
  :'secure_access_enable' => :'secure-access-enable',
101
104
  :'secure_access_host' => :'secure-access-host',
105
+ :'secure_access_rd_gateway_server' => :'secure-access-rd-gateway-server',
102
106
  :'secure_access_rdp_domain' => :'secure-access-rdp-domain',
103
107
  :'secure_access_rdp_user' => :'secure-access-rdp-user',
104
108
  :'tags' => :'tags',
@@ -132,6 +136,7 @@ module Akeyless
132
136
  :'secure_access_allow_external_user' => :'Boolean',
133
137
  :'secure_access_enable' => :'String',
134
138
  :'secure_access_host' => :'Array<String>',
139
+ :'secure_access_rd_gateway_server' => :'String',
135
140
  :'secure_access_rdp_domain' => :'String',
136
141
  :'secure_access_rdp_user' => :'String',
137
142
  :'tags' => :'Array<String>',
@@ -232,6 +237,10 @@ module Akeyless
232
237
  end
233
238
  end
234
239
 
240
+ if attributes.key?(:'secure_access_rd_gateway_server')
241
+ self.secure_access_rd_gateway_server = attributes[:'secure_access_rd_gateway_server']
242
+ end
243
+
235
244
  if attributes.key?(:'secure_access_rdp_domain')
236
245
  self.secure_access_rdp_domain = attributes[:'secure_access_rdp_domain']
237
246
  end
@@ -308,6 +317,7 @@ module Akeyless
308
317
  secure_access_allow_external_user == o.secure_access_allow_external_user &&
309
318
  secure_access_enable == o.secure_access_enable &&
310
319
  secure_access_host == o.secure_access_host &&
320
+ secure_access_rd_gateway_server == o.secure_access_rd_gateway_server &&
311
321
  secure_access_rdp_domain == o.secure_access_rdp_domain &&
312
322
  secure_access_rdp_user == o.secure_access_rdp_user &&
313
323
  tags == o.tags &&
@@ -327,7 +337,7 @@ module Akeyless
327
337
  # Calculates hash code according to all attributes.
328
338
  # @return [Integer] Hash code
329
339
  def hash
330
- [allow_user_extend_session, delete_protection, fixed_user_only, json, name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
340
+ [allow_user_extend_session, delete_protection, fixed_user_only, json, name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
331
341
  end
332
342
 
333
343
  # Builds the object from hash
@@ -61,6 +61,9 @@ module Akeyless
61
61
  # Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
62
62
  attr_accessor :secure_access_host
63
63
 
64
+ # RD Gateway server
65
+ attr_accessor :secure_access_rd_gateway_server
66
+
64
67
  # Required when the Dynamic Secret is used for a domain user
65
68
  attr_accessor :secure_access_rdp_domain
66
69
 
@@ -103,6 +106,7 @@ module Akeyless
103
106
  :'secure_access_allow_external_user' => :'secure-access-allow-external-user',
104
107
  :'secure_access_enable' => :'secure-access-enable',
105
108
  :'secure_access_host' => :'secure-access-host',
109
+ :'secure_access_rd_gateway_server' => :'secure-access-rd-gateway-server',
106
110
  :'secure_access_rdp_domain' => :'secure-access-rdp-domain',
107
111
  :'secure_access_rdp_user' => :'secure-access-rdp-user',
108
112
  :'tags' => :'tags',
@@ -137,6 +141,7 @@ module Akeyless
137
141
  :'secure_access_allow_external_user' => :'Boolean',
138
142
  :'secure_access_enable' => :'String',
139
143
  :'secure_access_host' => :'Array<String>',
144
+ :'secure_access_rd_gateway_server' => :'String',
140
145
  :'secure_access_rdp_domain' => :'String',
141
146
  :'secure_access_rdp_user' => :'String',
142
147
  :'tags' => :'Array<String>',
@@ -241,6 +246,10 @@ module Akeyless
241
246
  end
242
247
  end
243
248
 
249
+ if attributes.key?(:'secure_access_rd_gateway_server')
250
+ self.secure_access_rd_gateway_server = attributes[:'secure_access_rd_gateway_server']
251
+ end
252
+
244
253
  if attributes.key?(:'secure_access_rdp_domain')
245
254
  self.secure_access_rdp_domain = attributes[:'secure_access_rdp_domain']
246
255
  end
@@ -318,6 +327,7 @@ module Akeyless
318
327
  secure_access_allow_external_user == o.secure_access_allow_external_user &&
319
328
  secure_access_enable == o.secure_access_enable &&
320
329
  secure_access_host == o.secure_access_host &&
330
+ secure_access_rd_gateway_server == o.secure_access_rd_gateway_server &&
321
331
  secure_access_rdp_domain == o.secure_access_rdp_domain &&
322
332
  secure_access_rdp_user == o.secure_access_rdp_user &&
323
333
  tags == o.tags &&
@@ -337,7 +347,7 @@ module Akeyless
337
347
  # Calculates hash code according to all attributes.
338
348
  # @return [Integer] Hash code
339
349
  def hash
340
- [allow_user_extend_session, delete_protection, fixed_user_only, json, name, new_name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
350
+ [allow_user_extend_session, delete_protection, fixed_user_only, json, name, new_name, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
341
351
  end
342
352
 
343
353
  # Builds the object from hash
@@ -28,7 +28,7 @@ module Akeyless
28
28
  # Set output format to JSON
29
29
  attr_accessor :json
30
30
 
31
- # The time back to search the event, can be passed as string representation. For example if the value is \"5m\" we will return the last user event issued in the last 5 minutes By default we will search without any time boundary
31
+ # The time back to search the event, for example if the value is \"5m\" we will return the last user event issued in the last 5 minutes. By default, we will search without any time boundary.
32
32
  attr_accessor :time_back
33
33
 
34
34
  # Authentication token (see `/auth` and `/configure`)
@@ -51,6 +51,8 @@ module Akeyless
51
51
 
52
52
  attr_accessor :native
53
53
 
54
+ attr_accessor :rd_gateway_server
55
+
54
56
  attr_accessor :rdp_user
55
57
 
56
58
  attr_accessor :region
@@ -92,6 +94,7 @@ module Akeyless
92
94
  :'is_web' => :'is_web',
93
95
  :'isolated' => :'isolated',
94
96
  :'native' => :'native',
97
+ :'rd_gateway_server' => :'rd_gateway_server',
95
98
  :'rdp_user' => :'rdp_user',
96
99
  :'region' => :'region',
97
100
  :'rotate_after_disconnect' => :'rotate_after_disconnect',
@@ -131,6 +134,7 @@ module Akeyless
131
134
  :'is_web' => :'Boolean',
132
135
  :'isolated' => :'Boolean',
133
136
  :'native' => :'Boolean',
137
+ :'rd_gateway_server' => :'String',
134
138
  :'rdp_user' => :'String',
135
139
  :'region' => :'String',
136
140
  :'rotate_after_disconnect' => :'Boolean',
@@ -239,6 +243,10 @@ module Akeyless
239
243
  self.native = attributes[:'native']
240
244
  end
241
245
 
246
+ if attributes.key?(:'rd_gateway_server')
247
+ self.rd_gateway_server = attributes[:'rd_gateway_server']
248
+ end
249
+
242
250
  if attributes.key?(:'rdp_user')
243
251
  self.rdp_user = attributes[:'rdp_user']
244
252
  end
@@ -318,6 +326,7 @@ module Akeyless
318
326
  is_web == o.is_web &&
319
327
  isolated == o.isolated &&
320
328
  native == o.native &&
329
+ rd_gateway_server == o.rd_gateway_server &&
321
330
  rdp_user == o.rdp_user &&
322
331
  region == o.region &&
323
332
  rotate_after_disconnect == o.rotate_after_disconnect &&
@@ -339,7 +348,7 @@ module Akeyless
339
348
  # Calculates hash code according to all attributes.
340
349
  # @return [Integer] Hash code
341
350
  def hash
342
- [account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, category, dashboard_url, db_name, domain, enable, endpoint, host, is_cli, is_web, isolated, native, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, url, use_internal_bastion, web_proxy].hash
351
+ [account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, category, dashboard_url, db_name, domain, enable, endpoint, host, is_cli, is_web, isolated, native, rd_gateway_server, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, url, use_internal_bastion, web_proxy].hash
343
352
  end
344
353
 
345
354
  # Builds the object from hash