akeyless 3.3.18 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/Connect.md +2 -0
- data/docs/CreateDBTarget.md +12 -0
- data/docs/CreateUserEvent.md +3 -3
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DbTargetDetails.md +10 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GetLastUserEventStatus.md +1 -1
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/UpdateDBTarget.md +12 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/V2Api.md +2 -2
- data/lib/akeyless/models/connect.rb +10 -1
- data/lib/akeyless/models/create_db_target.rb +67 -1
- data/lib/akeyless/models/create_user_event.rb +3 -3
- data/lib/akeyless/models/db_target_details.rb +46 -1
- data/lib/akeyless/models/ds_producer_details.rb +46 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/get_last_user_event_status.rb +1 -1
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/update_db_target.rb +67 -1
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- metadata +686 -686
@@ -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,
|
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
|
@@ -15,9 +15,26 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class UpdateDBTarget
|
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
|
@@ -99,7 +116,13 @@ module Akeyless
|
|
99
116
|
# Attribute mapping from ruby-style variable name to JSON key.
|
100
117
|
def self.attribute_map
|
101
118
|
{
|
119
|
+
:'db_defined_connection_type' => :'DBDefinedConnectionType',
|
120
|
+
:'azure_client_id' => :'azure-client-id',
|
121
|
+
:'azure_client_secret' => :'azure-client-secret',
|
122
|
+
:'azure_tenant_id' => :'azure-tenant-id',
|
123
|
+
:'cloud_service_provider' => :'cloud-service-provider',
|
102
124
|
:'comment' => :'comment',
|
125
|
+
:'connection_type' => :'connection-type',
|
103
126
|
:'db_name' => :'db-name',
|
104
127
|
:'db_server_certificates' => :'db-server-certificates',
|
105
128
|
:'db_server_name' => :'db-server-name',
|
@@ -140,7 +163,13 @@ module Akeyless
|
|
140
163
|
# Attribute type mapping.
|
141
164
|
def self.openapi_types
|
142
165
|
{
|
166
|
+
:'db_defined_connection_type' => :'String',
|
167
|
+
:'azure_client_id' => :'String',
|
168
|
+
:'azure_client_secret' => :'String',
|
169
|
+
:'azure_tenant_id' => :'String',
|
170
|
+
:'cloud_service_provider' => :'String',
|
143
171
|
:'comment' => :'String',
|
172
|
+
:'connection_type' => :'String',
|
144
173
|
:'db_name' => :'String',
|
145
174
|
:'db_server_certificates' => :'String',
|
146
175
|
:'db_server_name' => :'String',
|
@@ -194,10 +223,36 @@ module Akeyless
|
|
194
223
|
h[k.to_sym] = v
|
195
224
|
}
|
196
225
|
|
226
|
+
if attributes.key?(:'db_defined_connection_type')
|
227
|
+
self.db_defined_connection_type = attributes[:'db_defined_connection_type']
|
228
|
+
end
|
229
|
+
|
230
|
+
if attributes.key?(:'azure_client_id')
|
231
|
+
self.azure_client_id = attributes[:'azure_client_id']
|
232
|
+
end
|
233
|
+
|
234
|
+
if attributes.key?(:'azure_client_secret')
|
235
|
+
self.azure_client_secret = attributes[:'azure_client_secret']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.key?(:'azure_tenant_id')
|
239
|
+
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.key?(:'cloud_service_provider')
|
243
|
+
self.cloud_service_provider = attributes[:'cloud_service_provider']
|
244
|
+
end
|
245
|
+
|
197
246
|
if attributes.key?(:'comment')
|
198
247
|
self.comment = attributes[:'comment']
|
199
248
|
end
|
200
249
|
|
250
|
+
if attributes.key?(:'connection_type')
|
251
|
+
self.connection_type = attributes[:'connection_type']
|
252
|
+
else
|
253
|
+
self.connection_type = 'credentials'
|
254
|
+
end
|
255
|
+
|
201
256
|
if attributes.key?(:'db_name')
|
202
257
|
self.db_name = attributes[:'db_name']
|
203
258
|
end
|
@@ -328,6 +383,10 @@ module Akeyless
|
|
328
383
|
def list_invalid_properties
|
329
384
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
330
385
|
invalid_properties = Array.new
|
386
|
+
if @connection_type.nil?
|
387
|
+
invalid_properties.push('invalid value for "connection_type", connection_type cannot be nil.')
|
388
|
+
end
|
389
|
+
|
331
390
|
if @db_type.nil?
|
332
391
|
invalid_properties.push('invalid value for "db_type", db_type cannot be nil.')
|
333
392
|
end
|
@@ -343,6 +402,7 @@ module Akeyless
|
|
343
402
|
# @return true if the model is valid
|
344
403
|
def valid?
|
345
404
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
405
|
+
return false if @connection_type.nil?
|
346
406
|
return false if @db_type.nil?
|
347
407
|
return false if @name.nil?
|
348
408
|
true
|
@@ -353,7 +413,13 @@ module Akeyless
|
|
353
413
|
def ==(o)
|
354
414
|
return true if self.equal?(o)
|
355
415
|
self.class == o.class &&
|
416
|
+
db_defined_connection_type == o.db_defined_connection_type &&
|
417
|
+
azure_client_id == o.azure_client_id &&
|
418
|
+
azure_client_secret == o.azure_client_secret &&
|
419
|
+
azure_tenant_id == o.azure_tenant_id &&
|
420
|
+
cloud_service_provider == o.cloud_service_provider &&
|
356
421
|
comment == o.comment &&
|
422
|
+
connection_type == o.connection_type &&
|
357
423
|
db_name == o.db_name &&
|
358
424
|
db_server_certificates == o.db_server_certificates &&
|
359
425
|
db_server_name == o.db_server_name &&
|
@@ -394,7 +460,7 @@ module Akeyless
|
|
394
460
|
# Calculates hash code according to all attributes.
|
395
461
|
# @return [Integer] Hash code
|
396
462
|
def hash
|
397
|
-
[comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, update_version, user_name].hash
|
463
|
+
[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, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, update_version, user_name].hash
|
398
464
|
end
|
399
465
|
|
400
466
|
# Builds the object from hash
|
@@ -93,6 +93,9 @@ module Akeyless
|
|
93
93
|
# Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
|
94
94
|
attr_accessor :secure_access_host
|
95
95
|
|
96
|
+
# RD Gateway server (relevant only for rdp)
|
97
|
+
attr_accessor :secure_access_rd_gateway_server
|
98
|
+
|
96
99
|
# Required when the Dynamic Secret is used for a domain user (relevant only for RDP Dynamic-Secret)
|
97
100
|
attr_accessor :secure_access_rdp_domain
|
98
101
|
|
@@ -155,6 +158,7 @@ module Akeyless
|
|
155
158
|
:'secure_access_db_schema' => :'secure-access-db-schema',
|
156
159
|
:'secure_access_enable' => :'secure-access-enable',
|
157
160
|
:'secure_access_host' => :'secure-access-host',
|
161
|
+
:'secure_access_rd_gateway_server' => :'secure-access-rd-gateway-server',
|
158
162
|
:'secure_access_rdp_domain' => :'secure-access-rdp-domain',
|
159
163
|
:'secure_access_rdp_user' => :'secure-access-rdp-user',
|
160
164
|
:'secure_access_rm_host' => :'secure-access-rm-host',
|
@@ -203,6 +207,7 @@ module Akeyless
|
|
203
207
|
:'secure_access_db_schema' => :'String',
|
204
208
|
:'secure_access_enable' => :'String',
|
205
209
|
:'secure_access_host' => :'Array<String>',
|
210
|
+
:'secure_access_rd_gateway_server' => :'String',
|
206
211
|
:'secure_access_rdp_domain' => :'String',
|
207
212
|
:'secure_access_rdp_user' => :'String',
|
208
213
|
:'secure_access_rm_host' => :'Array<String>',
|
@@ -362,6 +367,10 @@ module Akeyless
|
|
362
367
|
end
|
363
368
|
end
|
364
369
|
|
370
|
+
if attributes.key?(:'secure_access_rd_gateway_server')
|
371
|
+
self.secure_access_rd_gateway_server = attributes[:'secure_access_rd_gateway_server']
|
372
|
+
end
|
373
|
+
|
365
374
|
if attributes.key?(:'secure_access_rdp_domain')
|
366
375
|
self.secure_access_rdp_domain = attributes[:'secure_access_rdp_domain']
|
367
376
|
end
|
@@ -464,6 +473,7 @@ module Akeyless
|
|
464
473
|
secure_access_db_schema == o.secure_access_db_schema &&
|
465
474
|
secure_access_enable == o.secure_access_enable &&
|
466
475
|
secure_access_host == o.secure_access_host &&
|
476
|
+
secure_access_rd_gateway_server == o.secure_access_rd_gateway_server &&
|
467
477
|
secure_access_rdp_domain == o.secure_access_rdp_domain &&
|
468
478
|
secure_access_rdp_user == o.secure_access_rdp_user &&
|
469
479
|
secure_access_rm_host == o.secure_access_rm_host &&
|
@@ -486,7 +496,7 @@ module Akeyless
|
|
486
496
|
# Calculates hash code according to all attributes.
|
487
497
|
# @return [Integer] Hash code
|
488
498
|
def hash
|
489
|
-
[accessibility, add_tag, cert_file_data, delete_protection, description, json, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
499
|
+
[accessibility, add_tag, cert_file_data, delete_protection, description, json, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
490
500
|
end
|
491
501
|
|
492
502
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED