akeyless 5.0.14 → 5.0.16
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.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +2 -0
- data/docs/AllowedClientType.md +20 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BastionGlobalConf.md +4 -0
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DynamicSecretCreateGcp.md +22 -6
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretGetValue.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +22 -6
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +22 -6
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +22 -6
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +4 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/NotiForwarderDetailsInput.md +28 -0
- data/docs/PKICertificateIssueDetails.md +6 -0
- data/docs/RotatedSecretCreateSsh.md +4 -0
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretDetailsInfo.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +4 -0
- data/docs/SlackNotiForwarderDetails.md +18 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/TeamsNotiForwarderDetails.md +18 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +4 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +10 -1
- data/lib/akeyless/models/allowed_client_type.rb +225 -0
- data/lib/akeyless/models/auth_method_access_info.rb +12 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_create_email.rb +12 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_update_email.rb +12 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
- data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
- data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
- data/lib/akeyless/models/windows_service_attributes.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
- data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
- metadata +21 -1
|
@@ -58,6 +58,9 @@ module Akeyless
|
|
|
58
58
|
|
|
59
59
|
attr_accessor :role_scope
|
|
60
60
|
|
|
61
|
+
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
|
62
|
+
attr_accessor :secure_access_delay
|
|
63
|
+
|
|
61
64
|
# Enable/Disable secure remote access [true/false]
|
|
62
65
|
attr_accessor :secure_access_enable
|
|
63
66
|
|
|
@@ -106,6 +109,7 @@ module Akeyless
|
|
|
106
109
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
107
110
|
:'role_name' => :'role-name',
|
|
108
111
|
:'role_scope' => :'role-scope',
|
|
112
|
+
:'secure_access_delay' => :'secure-access-delay',
|
|
109
113
|
:'secure_access_enable' => :'secure-access-enable',
|
|
110
114
|
:'secure_access_url' => :'secure-access-url',
|
|
111
115
|
:'secure_access_web' => :'secure-access-web',
|
|
@@ -142,6 +146,7 @@ module Akeyless
|
|
|
142
146
|
:'producer_encryption_key_name' => :'String',
|
|
143
147
|
:'role_name' => :'String',
|
|
144
148
|
:'role_scope' => :'String',
|
|
149
|
+
:'secure_access_delay' => :'Integer',
|
|
145
150
|
:'secure_access_enable' => :'String',
|
|
146
151
|
:'secure_access_url' => :'String',
|
|
147
152
|
:'secure_access_web' => :'Boolean',
|
|
@@ -248,6 +253,10 @@ module Akeyless
|
|
|
248
253
|
self.role_scope = attributes[:'role_scope']
|
|
249
254
|
end
|
|
250
255
|
|
|
256
|
+
if attributes.key?(:'secure_access_delay')
|
|
257
|
+
self.secure_access_delay = attributes[:'secure_access_delay']
|
|
258
|
+
end
|
|
259
|
+
|
|
251
260
|
if attributes.key?(:'secure_access_enable')
|
|
252
261
|
self.secure_access_enable = attributes[:'secure_access_enable']
|
|
253
262
|
end
|
|
@@ -349,6 +358,7 @@ module Akeyless
|
|
|
349
358
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
350
359
|
role_name == o.role_name &&
|
|
351
360
|
role_scope == o.role_scope &&
|
|
361
|
+
secure_access_delay == o.secure_access_delay &&
|
|
352
362
|
secure_access_enable == o.secure_access_enable &&
|
|
353
363
|
secure_access_url == o.secure_access_url &&
|
|
354
364
|
secure_access_web == o.secure_access_web &&
|
|
@@ -370,7 +380,7 @@ module Akeyless
|
|
|
370
380
|
# Calculates hash code according to all attributes.
|
|
371
381
|
# @return [Integer] Hash code
|
|
372
382
|
def hash
|
|
373
|
-
[access_mode, admin_email, delete_protection, description, fixed_user_claim_keyname, gcp_key, group_email, group_role, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_name, role_scope, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
|
383
|
+
[access_mode, admin_email, delete_protection, description, fixed_user_claim_keyname, gcp_key, group_email, group_role, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_name, role_scope, secure_access_delay, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
|
374
384
|
end
|
|
375
385
|
|
|
376
386
|
# Builds the object from hash
|
|
@@ -58,6 +58,9 @@ module Akeyless
|
|
|
58
58
|
# MongoDB Roles
|
|
59
59
|
attr_accessor :mongodb_roles
|
|
60
60
|
|
|
61
|
+
# MongoDB Scopes (Atlas only)
|
|
62
|
+
attr_accessor :mongodb_scopes
|
|
63
|
+
|
|
61
64
|
# MongoDB server URI
|
|
62
65
|
attr_accessor :mongodb_server_uri
|
|
63
66
|
|
|
@@ -132,6 +135,7 @@ module Akeyless
|
|
|
132
135
|
:'mongodb_name' => :'mongodb-name',
|
|
133
136
|
:'mongodb_password' => :'mongodb-password',
|
|
134
137
|
:'mongodb_roles' => :'mongodb-roles',
|
|
138
|
+
:'mongodb_scopes' => :'mongodb-scopes',
|
|
135
139
|
:'mongodb_server_uri' => :'mongodb-server-uri',
|
|
136
140
|
:'mongodb_uri_options' => :'mongodb-uri-options',
|
|
137
141
|
:'mongodb_username' => :'mongodb-username',
|
|
@@ -176,6 +180,7 @@ module Akeyless
|
|
|
176
180
|
:'mongodb_name' => :'String',
|
|
177
181
|
:'mongodb_password' => :'String',
|
|
178
182
|
:'mongodb_roles' => :'String',
|
|
183
|
+
:'mongodb_scopes' => :'String',
|
|
179
184
|
:'mongodb_server_uri' => :'String',
|
|
180
185
|
:'mongodb_uri_options' => :'String',
|
|
181
186
|
:'mongodb_username' => :'String',
|
|
@@ -281,6 +286,10 @@ module Akeyless
|
|
|
281
286
|
self.mongodb_roles = '[]'
|
|
282
287
|
end
|
|
283
288
|
|
|
289
|
+
if attributes.key?(:'mongodb_scopes')
|
|
290
|
+
self.mongodb_scopes = attributes[:'mongodb_scopes']
|
|
291
|
+
end
|
|
292
|
+
|
|
284
293
|
if attributes.key?(:'mongodb_server_uri')
|
|
285
294
|
self.mongodb_server_uri = attributes[:'mongodb_server_uri']
|
|
286
295
|
end
|
|
@@ -407,6 +416,7 @@ module Akeyless
|
|
|
407
416
|
mongodb_name == o.mongodb_name &&
|
|
408
417
|
mongodb_password == o.mongodb_password &&
|
|
409
418
|
mongodb_roles == o.mongodb_roles &&
|
|
419
|
+
mongodb_scopes == o.mongodb_scopes &&
|
|
410
420
|
mongodb_server_uri == o.mongodb_server_uri &&
|
|
411
421
|
mongodb_uri_options == o.mongodb_uri_options &&
|
|
412
422
|
mongodb_username == o.mongodb_username &&
|
|
@@ -437,7 +447,7 @@ module Akeyless
|
|
|
437
447
|
# Calculates hash code according to all attributes.
|
|
438
448
|
# @return [Integer] Hash code
|
|
439
449
|
def hash
|
|
440
|
-
[custom_username_template, delete_protection, description, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
450
|
+
[custom_username_template, delete_protection, description, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
441
451
|
end
|
|
442
452
|
|
|
443
453
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module Akeyless
|
|
|
31
31
|
# Set output format to JSON
|
|
32
32
|
attr_accessor :json
|
|
33
33
|
|
|
34
|
+
# CSV of allowed DB names for runtime selection when getting the secret value. Empty => use target DB only; \"*\" => any DB allowed; One or more names => user must choose from this list
|
|
35
|
+
attr_accessor :mssql_allowed_db_names
|
|
36
|
+
|
|
34
37
|
# MSSQL Creation statements
|
|
35
38
|
attr_accessor :mssql_create_statements
|
|
36
39
|
|
|
@@ -111,6 +114,7 @@ module Akeyless
|
|
|
111
114
|
:'description' => :'description',
|
|
112
115
|
:'item_custom_fields' => :'item-custom-fields',
|
|
113
116
|
:'json' => :'json',
|
|
117
|
+
:'mssql_allowed_db_names' => :'mssql-allowed-db-names',
|
|
114
118
|
:'mssql_create_statements' => :'mssql-create-statements',
|
|
115
119
|
:'mssql_dbname' => :'mssql-dbname',
|
|
116
120
|
:'mssql_host' => :'mssql-host',
|
|
@@ -151,6 +155,7 @@ module Akeyless
|
|
|
151
155
|
:'description' => :'String',
|
|
152
156
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
153
157
|
:'json' => :'Boolean',
|
|
158
|
+
:'mssql_allowed_db_names' => :'String',
|
|
154
159
|
:'mssql_create_statements' => :'String',
|
|
155
160
|
:'mssql_dbname' => :'String',
|
|
156
161
|
:'mssql_host' => :'String',
|
|
@@ -223,6 +228,10 @@ module Akeyless
|
|
|
223
228
|
self.json = false
|
|
224
229
|
end
|
|
225
230
|
|
|
231
|
+
if attributes.key?(:'mssql_allowed_db_names')
|
|
232
|
+
self.mssql_allowed_db_names = attributes[:'mssql_allowed_db_names']
|
|
233
|
+
end
|
|
234
|
+
|
|
226
235
|
if attributes.key?(:'mssql_create_statements')
|
|
227
236
|
self.mssql_create_statements = attributes[:'mssql_create_statements']
|
|
228
237
|
end
|
|
@@ -364,6 +373,7 @@ module Akeyless
|
|
|
364
373
|
description == o.description &&
|
|
365
374
|
item_custom_fields == o.item_custom_fields &&
|
|
366
375
|
json == o.json &&
|
|
376
|
+
mssql_allowed_db_names == o.mssql_allowed_db_names &&
|
|
367
377
|
mssql_create_statements == o.mssql_create_statements &&
|
|
368
378
|
mssql_dbname == o.mssql_dbname &&
|
|
369
379
|
mssql_host == o.mssql_host &&
|
|
@@ -399,7 +409,7 @@ module Akeyless
|
|
|
399
409
|
# Calculates hash code according to all attributes.
|
|
400
410
|
# @return [Integer] Hash code
|
|
401
411
|
def hash
|
|
402
|
-
[custom_username_template, delete_protection, description, item_custom_fields, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
412
|
+
[custom_username_template, delete_protection, description, item_custom_fields, json, mssql_allowed_db_names, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
403
413
|
end
|
|
404
414
|
|
|
405
415
|
# Builds the object from hash
|
|
@@ -17,10 +17,13 @@ module Akeyless
|
|
|
17
17
|
class EventForwarderGetOutput
|
|
18
18
|
attr_accessor :event_forwarder
|
|
19
19
|
|
|
20
|
+
attr_accessor :event_forwarder_details
|
|
21
|
+
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
23
|
-
:'event_forwarder' => :'event_forwarder'
|
|
25
|
+
:'event_forwarder' => :'event_forwarder',
|
|
26
|
+
:'event_forwarder_details' => :'event_forwarder_details'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
26
29
|
|
|
@@ -32,7 +35,8 @@ module Akeyless
|
|
|
32
35
|
# Attribute type mapping.
|
|
33
36
|
def self.openapi_types
|
|
34
37
|
{
|
|
35
|
-
:'event_forwarder' => :'NotiForwarder'
|
|
38
|
+
:'event_forwarder' => :'NotiForwarder',
|
|
39
|
+
:'event_forwarder_details' => :'NotiForwarderDetailsInput'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -60,6 +64,10 @@ module Akeyless
|
|
|
60
64
|
if attributes.key?(:'event_forwarder')
|
|
61
65
|
self.event_forwarder = attributes[:'event_forwarder']
|
|
62
66
|
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'event_forwarder_details')
|
|
69
|
+
self.event_forwarder_details = attributes[:'event_forwarder_details']
|
|
70
|
+
end
|
|
63
71
|
end
|
|
64
72
|
|
|
65
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,7 +90,8 @@ module Akeyless
|
|
|
82
90
|
def ==(o)
|
|
83
91
|
return true if self.equal?(o)
|
|
84
92
|
self.class == o.class &&
|
|
85
|
-
event_forwarder == o.event_forwarder
|
|
93
|
+
event_forwarder == o.event_forwarder &&
|
|
94
|
+
event_forwarder_details == o.event_forwarder_details
|
|
86
95
|
end
|
|
87
96
|
|
|
88
97
|
# @see the `==` method
|
|
@@ -94,7 +103,7 @@ module Akeyless
|
|
|
94
103
|
# Calculates hash code according to all attributes.
|
|
95
104
|
# @return [Integer] Hash code
|
|
96
105
|
def hash
|
|
97
|
-
[event_forwarder].hash
|
|
106
|
+
[event_forwarder, event_forwarder_details].hash
|
|
98
107
|
end
|
|
99
108
|
|
|
100
109
|
# Builds the object from hash
|
|
@@ -24,6 +24,9 @@ module Akeyless
|
|
|
24
24
|
# 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
25
|
attr_accessor :ad_computer_base_dn
|
|
26
26
|
|
|
27
|
+
# Enable/Disable discovery of IIS application from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
|
28
|
+
attr_accessor :ad_discover_iis_app
|
|
29
|
+
|
|
27
30
|
# Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
|
28
31
|
attr_accessor :ad_discover_services
|
|
29
32
|
|
|
@@ -198,6 +201,7 @@ module Akeyless
|
|
|
198
201
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
199
202
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
200
203
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
204
|
+
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
201
205
|
:'ad_discover_services' => :'ad-discover-services',
|
|
202
206
|
:'ad_discovery_types' => :'ad-discovery-types',
|
|
203
207
|
:'ad_domain_name' => :'ad-domain-name',
|
|
@@ -268,6 +272,7 @@ module Akeyless
|
|
|
268
272
|
:'service_account_key_decoded' => :'String',
|
|
269
273
|
:'ad_auto_rotate' => :'String',
|
|
270
274
|
:'ad_computer_base_dn' => :'String',
|
|
275
|
+
:'ad_discover_iis_app' => :'String',
|
|
271
276
|
:'ad_discover_services' => :'String',
|
|
272
277
|
:'ad_discovery_types' => :'Array<String>',
|
|
273
278
|
:'ad_domain_name' => :'String',
|
|
@@ -360,6 +365,12 @@ module Akeyless
|
|
|
360
365
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
361
366
|
end
|
|
362
367
|
|
|
368
|
+
if attributes.key?(:'ad_discover_iis_app')
|
|
369
|
+
self.ad_discover_iis_app = attributes[:'ad_discover_iis_app']
|
|
370
|
+
else
|
|
371
|
+
self.ad_discover_iis_app = 'false'
|
|
372
|
+
end
|
|
373
|
+
|
|
363
374
|
if attributes.key?(:'ad_discover_services')
|
|
364
375
|
self.ad_discover_services = attributes[:'ad_discover_services']
|
|
365
376
|
else
|
|
@@ -666,6 +677,7 @@ module Akeyless
|
|
|
666
677
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
667
678
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
668
679
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
680
|
+
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
669
681
|
ad_discover_services == o.ad_discover_services &&
|
|
670
682
|
ad_discovery_types == o.ad_discovery_types &&
|
|
671
683
|
ad_domain_name == o.ad_domain_name &&
|
|
@@ -733,7 +745,7 @@ module Akeyless
|
|
|
733
745
|
# Calculates hash code according to all attributes.
|
|
734
746
|
# @return [Integer] Hash code
|
|
735
747
|
def hash
|
|
736
|
-
[service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, 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, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, 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].hash
|
|
748
|
+
[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, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, 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].hash
|
|
737
749
|
end
|
|
738
750
|
|
|
739
751
|
# Builds the object from hash
|
|
@@ -16,27 +16,32 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# gatewayCreateProducerGcp is a command that creates a GCP producer [Deprecated: Use dynamic-secret-create-gcp command]
|
|
18
18
|
class GatewayCreateProducerGcp
|
|
19
|
+
attr_accessor :access_type
|
|
20
|
+
|
|
19
21
|
# Customize how temporary usernames are generated using go template
|
|
20
22
|
attr_accessor :custom_username_template
|
|
21
23
|
|
|
22
24
|
# Protection from accidental deletion of this object [true/false]
|
|
23
25
|
attr_accessor :delete_protection
|
|
24
26
|
|
|
27
|
+
# For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
|
|
28
|
+
attr_accessor :fixed_user_claim_keyname
|
|
29
|
+
|
|
25
30
|
attr_accessor :gcp_cred_type
|
|
26
31
|
|
|
27
32
|
# Base64-encoded service account private key text
|
|
28
33
|
attr_accessor :gcp_key
|
|
29
34
|
|
|
30
|
-
# Service account key algorithm, e.g. KEY_ALG_RSA_1024
|
|
35
|
+
# Service account key algorithm, e.g. KEY_ALG_RSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
|
|
31
36
|
attr_accessor :gcp_key_algo
|
|
32
37
|
|
|
33
|
-
# GCP Project ID override for dynamic secret operations
|
|
38
|
+
# GCP Project ID override for dynamic secret operations
|
|
34
39
|
attr_accessor :gcp_project_id
|
|
35
40
|
|
|
36
|
-
# The email of the fixed service
|
|
41
|
+
# The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
|
|
37
42
|
attr_accessor :gcp_sa_email
|
|
38
43
|
|
|
39
|
-
# Access token scopes list, e.g. scope1,scope2
|
|
44
|
+
# Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
|
|
40
45
|
attr_accessor :gcp_token_scopes
|
|
41
46
|
|
|
42
47
|
# Additional custom fields to associate with the item
|
|
@@ -51,10 +56,28 @@ module Akeyless
|
|
|
51
56
|
# Dynamic producer encryption key
|
|
52
57
|
attr_accessor :producer_encryption_key_name
|
|
53
58
|
|
|
54
|
-
# Role binding definitions in
|
|
59
|
+
# Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
|
|
55
60
|
attr_accessor :role_binding
|
|
56
61
|
|
|
57
|
-
#
|
|
62
|
+
# Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
|
|
63
|
+
attr_accessor :role_names
|
|
64
|
+
|
|
65
|
+
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
|
66
|
+
attr_accessor :secure_access_delay
|
|
67
|
+
|
|
68
|
+
# Enable/Disable secure remote access [true/false]
|
|
69
|
+
attr_accessor :secure_access_enable
|
|
70
|
+
|
|
71
|
+
# Destination URL to inject secrets
|
|
72
|
+
attr_accessor :secure_access_url
|
|
73
|
+
|
|
74
|
+
# Secure browser via Akeyless's Secure Remote Access (SRA)
|
|
75
|
+
attr_accessor :secure_access_web_browsing
|
|
76
|
+
|
|
77
|
+
# Web-Proxy via Akeyless's Secure Remote Access (SRA)
|
|
78
|
+
attr_accessor :secure_access_web_proxy
|
|
79
|
+
|
|
80
|
+
# The type of the GCP service account. Options [fixed, dynamic] (Relevant only when --access-type=sa)
|
|
58
81
|
attr_accessor :service_account_type
|
|
59
82
|
|
|
60
83
|
# Add tags attached to this object
|
|
@@ -75,8 +98,10 @@ module Akeyless
|
|
|
75
98
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
76
99
|
def self.attribute_map
|
|
77
100
|
{
|
|
101
|
+
:'access_type' => :'access-type',
|
|
78
102
|
:'custom_username_template' => :'custom-username-template',
|
|
79
103
|
:'delete_protection' => :'delete_protection',
|
|
104
|
+
:'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
|
|
80
105
|
:'gcp_cred_type' => :'gcp-cred-type',
|
|
81
106
|
:'gcp_key' => :'gcp-key',
|
|
82
107
|
:'gcp_key_algo' => :'gcp-key-algo',
|
|
@@ -88,6 +113,12 @@ module Akeyless
|
|
|
88
113
|
:'name' => :'name',
|
|
89
114
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
90
115
|
:'role_binding' => :'role-binding',
|
|
116
|
+
:'role_names' => :'role-names',
|
|
117
|
+
:'secure_access_delay' => :'secure-access-delay',
|
|
118
|
+
:'secure_access_enable' => :'secure-access-enable',
|
|
119
|
+
:'secure_access_url' => :'secure-access-url',
|
|
120
|
+
:'secure_access_web_browsing' => :'secure-access-web-browsing',
|
|
121
|
+
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
|
91
122
|
:'service_account_type' => :'service-account-type',
|
|
92
123
|
:'tags' => :'tags',
|
|
93
124
|
:'target_name' => :'target-name',
|
|
@@ -105,8 +136,10 @@ module Akeyless
|
|
|
105
136
|
# Attribute type mapping.
|
|
106
137
|
def self.openapi_types
|
|
107
138
|
{
|
|
139
|
+
:'access_type' => :'String',
|
|
108
140
|
:'custom_username_template' => :'String',
|
|
109
141
|
:'delete_protection' => :'String',
|
|
142
|
+
:'fixed_user_claim_keyname' => :'String',
|
|
110
143
|
:'gcp_cred_type' => :'String',
|
|
111
144
|
:'gcp_key' => :'String',
|
|
112
145
|
:'gcp_key_algo' => :'String',
|
|
@@ -118,6 +151,12 @@ module Akeyless
|
|
|
118
151
|
:'name' => :'String',
|
|
119
152
|
:'producer_encryption_key_name' => :'String',
|
|
120
153
|
:'role_binding' => :'String',
|
|
154
|
+
:'role_names' => :'String',
|
|
155
|
+
:'secure_access_delay' => :'Integer',
|
|
156
|
+
:'secure_access_enable' => :'String',
|
|
157
|
+
:'secure_access_url' => :'String',
|
|
158
|
+
:'secure_access_web_browsing' => :'Boolean',
|
|
159
|
+
:'secure_access_web_proxy' => :'Boolean',
|
|
121
160
|
:'service_account_type' => :'String',
|
|
122
161
|
:'tags' => :'Array<String>',
|
|
123
162
|
:'target_name' => :'String',
|
|
@@ -148,6 +187,10 @@ module Akeyless
|
|
|
148
187
|
h[k.to_sym] = v
|
|
149
188
|
}
|
|
150
189
|
|
|
190
|
+
if attributes.key?(:'access_type')
|
|
191
|
+
self.access_type = attributes[:'access_type']
|
|
192
|
+
end
|
|
193
|
+
|
|
151
194
|
if attributes.key?(:'custom_username_template')
|
|
152
195
|
self.custom_username_template = attributes[:'custom_username_template']
|
|
153
196
|
end
|
|
@@ -156,6 +199,12 @@ module Akeyless
|
|
|
156
199
|
self.delete_protection = attributes[:'delete_protection']
|
|
157
200
|
end
|
|
158
201
|
|
|
202
|
+
if attributes.key?(:'fixed_user_claim_keyname')
|
|
203
|
+
self.fixed_user_claim_keyname = attributes[:'fixed_user_claim_keyname']
|
|
204
|
+
else
|
|
205
|
+
self.fixed_user_claim_keyname = 'ext_email'
|
|
206
|
+
end
|
|
207
|
+
|
|
159
208
|
if attributes.key?(:'gcp_cred_type')
|
|
160
209
|
self.gcp_cred_type = attributes[:'gcp_cred_type']
|
|
161
210
|
end
|
|
@@ -206,6 +255,34 @@ module Akeyless
|
|
|
206
255
|
self.role_binding = attributes[:'role_binding']
|
|
207
256
|
end
|
|
208
257
|
|
|
258
|
+
if attributes.key?(:'role_names')
|
|
259
|
+
self.role_names = attributes[:'role_names']
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes.key?(:'secure_access_delay')
|
|
263
|
+
self.secure_access_delay = attributes[:'secure_access_delay']
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'secure_access_enable')
|
|
267
|
+
self.secure_access_enable = attributes[:'secure_access_enable']
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
if attributes.key?(:'secure_access_url')
|
|
271
|
+
self.secure_access_url = attributes[:'secure_access_url']
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
if attributes.key?(:'secure_access_web_browsing')
|
|
275
|
+
self.secure_access_web_browsing = attributes[:'secure_access_web_browsing']
|
|
276
|
+
else
|
|
277
|
+
self.secure_access_web_browsing = false
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if attributes.key?(:'secure_access_web_proxy')
|
|
281
|
+
self.secure_access_web_proxy = attributes[:'secure_access_web_proxy']
|
|
282
|
+
else
|
|
283
|
+
self.secure_access_web_proxy = false
|
|
284
|
+
end
|
|
285
|
+
|
|
209
286
|
if attributes.key?(:'service_account_type')
|
|
210
287
|
self.service_account_type = attributes[:'service_account_type']
|
|
211
288
|
else
|
|
@@ -246,10 +323,6 @@ module Akeyless
|
|
|
246
323
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
247
324
|
end
|
|
248
325
|
|
|
249
|
-
if @service_account_type.nil?
|
|
250
|
-
invalid_properties.push('invalid value for "service_account_type", service_account_type cannot be nil.')
|
|
251
|
-
end
|
|
252
|
-
|
|
253
326
|
invalid_properties
|
|
254
327
|
end
|
|
255
328
|
|
|
@@ -258,7 +331,6 @@ module Akeyless
|
|
|
258
331
|
def valid?
|
|
259
332
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
260
333
|
return false if @name.nil?
|
|
261
|
-
return false if @service_account_type.nil?
|
|
262
334
|
true
|
|
263
335
|
end
|
|
264
336
|
|
|
@@ -267,8 +339,10 @@ module Akeyless
|
|
|
267
339
|
def ==(o)
|
|
268
340
|
return true if self.equal?(o)
|
|
269
341
|
self.class == o.class &&
|
|
342
|
+
access_type == o.access_type &&
|
|
270
343
|
custom_username_template == o.custom_username_template &&
|
|
271
344
|
delete_protection == o.delete_protection &&
|
|
345
|
+
fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
|
|
272
346
|
gcp_cred_type == o.gcp_cred_type &&
|
|
273
347
|
gcp_key == o.gcp_key &&
|
|
274
348
|
gcp_key_algo == o.gcp_key_algo &&
|
|
@@ -280,6 +354,12 @@ module Akeyless
|
|
|
280
354
|
name == o.name &&
|
|
281
355
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
282
356
|
role_binding == o.role_binding &&
|
|
357
|
+
role_names == o.role_names &&
|
|
358
|
+
secure_access_delay == o.secure_access_delay &&
|
|
359
|
+
secure_access_enable == o.secure_access_enable &&
|
|
360
|
+
secure_access_url == o.secure_access_url &&
|
|
361
|
+
secure_access_web_browsing == o.secure_access_web_browsing &&
|
|
362
|
+
secure_access_web_proxy == o.secure_access_web_proxy &&
|
|
283
363
|
service_account_type == o.service_account_type &&
|
|
284
364
|
tags == o.tags &&
|
|
285
365
|
target_name == o.target_name &&
|
|
@@ -297,7 +377,7 @@ module Akeyless
|
|
|
297
377
|
# Calculates hash code according to all attributes.
|
|
298
378
|
# @return [Integer] Hash code
|
|
299
379
|
def hash
|
|
300
|
-
[custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_project_id, gcp_sa_email, gcp_token_scopes, item_custom_fields, json, name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
|
|
380
|
+
[access_type, custom_username_template, delete_protection, fixed_user_claim_keyname, gcp_cred_type, gcp_key, gcp_key_algo, gcp_project_id, gcp_sa_email, gcp_token_scopes, item_custom_fields, json, name, producer_encryption_key_name, role_binding, role_names, secure_access_delay, secure_access_enable, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
|
|
301
381
|
end
|
|
302
382
|
|
|
303
383
|
# Builds the object from hash
|
|
@@ -55,6 +55,9 @@ module Akeyless
|
|
|
55
55
|
# MongoDB Roles
|
|
56
56
|
attr_accessor :mongodb_roles
|
|
57
57
|
|
|
58
|
+
# MongoDB Scopes (Atlas only)
|
|
59
|
+
attr_accessor :mongodb_scopes
|
|
60
|
+
|
|
58
61
|
# MongoDB server URI
|
|
59
62
|
attr_accessor :mongodb_server_uri
|
|
60
63
|
|
|
@@ -125,6 +128,7 @@ module Akeyless
|
|
|
125
128
|
:'mongodb_name' => :'mongodb-name',
|
|
126
129
|
:'mongodb_password' => :'mongodb-password',
|
|
127
130
|
:'mongodb_roles' => :'mongodb-roles',
|
|
131
|
+
:'mongodb_scopes' => :'mongodb-scopes',
|
|
128
132
|
:'mongodb_server_uri' => :'mongodb-server-uri',
|
|
129
133
|
:'mongodb_uri_options' => :'mongodb-uri-options',
|
|
130
134
|
:'mongodb_username' => :'mongodb-username',
|
|
@@ -167,6 +171,7 @@ module Akeyless
|
|
|
167
171
|
:'mongodb_name' => :'String',
|
|
168
172
|
:'mongodb_password' => :'String',
|
|
169
173
|
:'mongodb_roles' => :'String',
|
|
174
|
+
:'mongodb_scopes' => :'String',
|
|
170
175
|
:'mongodb_server_uri' => :'String',
|
|
171
176
|
:'mongodb_uri_options' => :'String',
|
|
172
177
|
:'mongodb_username' => :'String',
|
|
@@ -267,6 +272,10 @@ module Akeyless
|
|
|
267
272
|
self.mongodb_roles = '[]'
|
|
268
273
|
end
|
|
269
274
|
|
|
275
|
+
if attributes.key?(:'mongodb_scopes')
|
|
276
|
+
self.mongodb_scopes = attributes[:'mongodb_scopes']
|
|
277
|
+
end
|
|
278
|
+
|
|
270
279
|
if attributes.key?(:'mongodb_server_uri')
|
|
271
280
|
self.mongodb_server_uri = attributes[:'mongodb_server_uri']
|
|
272
281
|
end
|
|
@@ -388,6 +397,7 @@ module Akeyless
|
|
|
388
397
|
mongodb_name == o.mongodb_name &&
|
|
389
398
|
mongodb_password == o.mongodb_password &&
|
|
390
399
|
mongodb_roles == o.mongodb_roles &&
|
|
400
|
+
mongodb_scopes == o.mongodb_scopes &&
|
|
391
401
|
mongodb_server_uri == o.mongodb_server_uri &&
|
|
392
402
|
mongodb_uri_options == o.mongodb_uri_options &&
|
|
393
403
|
mongodb_username == o.mongodb_username &&
|
|
@@ -417,7 +427,7 @@ module Akeyless
|
|
|
417
427
|
# Calculates hash code according to all attributes.
|
|
418
428
|
# @return [Integer] Hash code
|
|
419
429
|
def hash
|
|
420
|
-
[custom_username_template, delete_protection, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
430
|
+
[custom_username_template, delete_protection, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
421
431
|
end
|
|
422
432
|
|
|
423
433
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# Set output format to JSON
|
|
29
29
|
attr_accessor :json
|
|
30
30
|
|
|
31
|
+
# CSV of allowed DB names for runtime selection when getting the secret value. Empty => use target DB only; \"*\" => any DB allowed; One or more names => user must choose from this list
|
|
32
|
+
attr_accessor :mssql_allowed_db_names
|
|
33
|
+
|
|
31
34
|
# MSSQL Creation statements
|
|
32
35
|
attr_accessor :mssql_create_statements
|
|
33
36
|
|
|
@@ -104,6 +107,7 @@ module Akeyless
|
|
|
104
107
|
:'delete_protection' => :'delete_protection',
|
|
105
108
|
:'item_custom_fields' => :'item-custom-fields',
|
|
106
109
|
:'json' => :'json',
|
|
110
|
+
:'mssql_allowed_db_names' => :'mssql-allowed-db-names',
|
|
107
111
|
:'mssql_create_statements' => :'mssql-create-statements',
|
|
108
112
|
:'mssql_dbname' => :'mssql-dbname',
|
|
109
113
|
:'mssql_host' => :'mssql-host',
|
|
@@ -142,6 +146,7 @@ module Akeyless
|
|
|
142
146
|
:'delete_protection' => :'String',
|
|
143
147
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
144
148
|
:'json' => :'Boolean',
|
|
149
|
+
:'mssql_allowed_db_names' => :'String',
|
|
145
150
|
:'mssql_create_statements' => :'String',
|
|
146
151
|
:'mssql_dbname' => :'String',
|
|
147
152
|
:'mssql_host' => :'String',
|
|
@@ -209,6 +214,10 @@ module Akeyless
|
|
|
209
214
|
self.json = false
|
|
210
215
|
end
|
|
211
216
|
|
|
217
|
+
if attributes.key?(:'mssql_allowed_db_names')
|
|
218
|
+
self.mssql_allowed_db_names = attributes[:'mssql_allowed_db_names']
|
|
219
|
+
end
|
|
220
|
+
|
|
212
221
|
if attributes.key?(:'mssql_create_statements')
|
|
213
222
|
self.mssql_create_statements = attributes[:'mssql_create_statements']
|
|
214
223
|
end
|
|
@@ -345,6 +354,7 @@ module Akeyless
|
|
|
345
354
|
delete_protection == o.delete_protection &&
|
|
346
355
|
item_custom_fields == o.item_custom_fields &&
|
|
347
356
|
json == o.json &&
|
|
357
|
+
mssql_allowed_db_names == o.mssql_allowed_db_names &&
|
|
348
358
|
mssql_create_statements == o.mssql_create_statements &&
|
|
349
359
|
mssql_dbname == o.mssql_dbname &&
|
|
350
360
|
mssql_host == o.mssql_host &&
|
|
@@ -379,7 +389,7 @@ module Akeyless
|
|
|
379
389
|
# Calculates hash code according to all attributes.
|
|
380
390
|
# @return [Integer] Hash code
|
|
381
391
|
def hash
|
|
382
|
-
[custom_username_template, delete_protection, item_custom_fields, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
392
|
+
[custom_username_template, delete_protection, item_custom_fields, json, mssql_allowed_db_names, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
|
383
393
|
end
|
|
384
394
|
|
|
385
395
|
# Builds the object from hash
|
|
@@ -24,6 +24,9 @@ module Akeyless
|
|
|
24
24
|
# 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
25
|
attr_accessor :ad_computer_base_dn
|
|
26
26
|
|
|
27
|
+
# Enable/Disable discovery of IIS application from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
|
28
|
+
attr_accessor :ad_discover_iis_app
|
|
29
|
+
|
|
27
30
|
# Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
|
28
31
|
attr_accessor :ad_discover_services
|
|
29
32
|
|
|
@@ -201,6 +204,7 @@ module Akeyless
|
|
|
201
204
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
202
205
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
203
206
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
207
|
+
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
204
208
|
:'ad_discover_services' => :'ad-discover-services',
|
|
205
209
|
:'ad_discovery_types' => :'ad-discovery-types',
|
|
206
210
|
:'ad_domain_name' => :'ad-domain-name',
|
|
@@ -272,6 +276,7 @@ module Akeyless
|
|
|
272
276
|
:'service_account_key_decoded' => :'String',
|
|
273
277
|
:'ad_auto_rotate' => :'String',
|
|
274
278
|
:'ad_computer_base_dn' => :'String',
|
|
279
|
+
:'ad_discover_iis_app' => :'String',
|
|
275
280
|
:'ad_discover_services' => :'String',
|
|
276
281
|
:'ad_discovery_types' => :'Array<String>',
|
|
277
282
|
:'ad_domain_name' => :'String',
|
|
@@ -365,6 +370,12 @@ module Akeyless
|
|
|
365
370
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
366
371
|
end
|
|
367
372
|
|
|
373
|
+
if attributes.key?(:'ad_discover_iis_app')
|
|
374
|
+
self.ad_discover_iis_app = attributes[:'ad_discover_iis_app']
|
|
375
|
+
else
|
|
376
|
+
self.ad_discover_iis_app = 'false'
|
|
377
|
+
end
|
|
378
|
+
|
|
368
379
|
if attributes.key?(:'ad_discover_services')
|
|
369
380
|
self.ad_discover_services = attributes[:'ad_discover_services']
|
|
370
381
|
else
|
|
@@ -668,6 +679,7 @@ module Akeyless
|
|
|
668
679
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
669
680
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
670
681
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
682
|
+
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
671
683
|
ad_discover_services == o.ad_discover_services &&
|
|
672
684
|
ad_discovery_types == o.ad_discovery_types &&
|
|
673
685
|
ad_domain_name == o.ad_domain_name &&
|
|
@@ -736,7 +748,7 @@ module Akeyless
|
|
|
736
748
|
# Calculates hash code according to all attributes.
|
|
737
749
|
# @return [Integer] Hash code
|
|
738
750
|
def hash
|
|
739
|
-
[service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, 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, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, 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, 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].hash
|
|
751
|
+
[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, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, 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, 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].hash
|
|
740
752
|
end
|
|
741
753
|
|
|
742
754
|
# Builds the object from hash
|