akeyless 4.2.3 → 4.2.4
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 +43 -2
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AwsStorage.md +28 -0
- data/docs/AzureStorage.md +28 -0
- data/docs/BastionConfigReplyObj.md +28 -0
- data/docs/BastionGlobalConf.md +24 -0
- data/docs/Configure.md +8 -0
- data/docs/Connect.md +2 -2
- data/docs/CreateClassicKey.md +8 -0
- data/docs/CreateDFCKey.md +8 -0
- data/docs/DynamicSecretUpdateArtifactory.md +1 -1
- data/docs/DynamicSecretUpdateAws.md +1 -1
- data/docs/DynamicSecretUpdateAzure.md +1 -1
- data/docs/DynamicSecretUpdateCassandra.md +1 -1
- data/docs/DynamicSecretUpdateChef.md +1 -1
- data/docs/DynamicSecretUpdateCustom.md +1 -1
- data/docs/DynamicSecretUpdateDockerhub.md +1 -1
- data/docs/DynamicSecretUpdateEks.md +1 -1
- data/docs/DynamicSecretUpdateGcp.md +1 -1
- data/docs/DynamicSecretUpdateGithub.md +1 -1
- data/docs/DynamicSecretUpdateGitlab.md +1 -1
- data/docs/DynamicSecretUpdateGke.md +1 -1
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
- data/docs/DynamicSecretUpdateHanaDb.md +1 -1
- data/docs/DynamicSecretUpdateK8s.md +1 -1
- data/docs/DynamicSecretUpdateLdap.md +1 -1
- data/docs/DynamicSecretUpdateMongoDb.md +1 -1
- data/docs/DynamicSecretUpdateMsSql.md +1 -1
- data/docs/DynamicSecretUpdateMySql.md +1 -1
- data/docs/DynamicSecretUpdateOracleDb.md +1 -1
- data/docs/DynamicSecretUpdatePing.md +1 -1
- data/docs/DynamicSecretUpdateVenafi.md +1 -1
- data/docs/EmailPassAccessRules.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayGetRemoteAccess.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +36 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
- data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
- data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
- data/docs/ItemGeneralInfo.md +4 -0
- data/docs/NextAutoRotationEvent.md +18 -0
- data/docs/PasswordExpirationInfo.md +24 -0
- data/docs/ResetAccessKey.md +24 -0
- data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
- data/docs/RollbackSecret.md +2 -0
- data/docs/RotatedSecretCreateAws.md +2 -0
- data/docs/RotatedSecretCreateAzure.md +2 -0
- data/docs/RotatedSecretCreateCassandra.md +2 -0
- data/docs/RotatedSecretCreateCustom.md +2 -0
- data/docs/RotatedSecretCreateDockerhub.md +2 -0
- data/docs/RotatedSecretCreateGcp.md +2 -0
- data/docs/RotatedSecretCreateHanadb.md +2 -0
- data/docs/RotatedSecretCreateLdap.md +2 -0
- data/docs/RotatedSecretCreateMongodb.md +2 -0
- data/docs/RotatedSecretCreateMssql.md +2 -0
- data/docs/RotatedSecretCreateMysql.md +2 -0
- data/docs/RotatedSecretCreateOracledb.md +2 -0
- data/docs/RotatedSecretCreatePostgresql.md +2 -0
- data/docs/RotatedSecretCreateRedis.md +2 -0
- data/docs/RotatedSecretCreateRedshift.md +2 -0
- data/docs/RotatedSecretCreateSnowflake.md +2 -0
- data/docs/RotatedSecretCreateSsh.md +2 -0
- data/docs/RotatedSecretCreateWindows.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +2 -0
- data/docs/RotatedSecretUpdateAzure.md +2 -0
- data/docs/RotatedSecretUpdateCassandra.md +2 -0
- data/docs/RotatedSecretUpdateCustom.md +2 -0
- data/docs/RotatedSecretUpdateDockerhub.md +2 -0
- data/docs/RotatedSecretUpdateGcp.md +2 -0
- data/docs/RotatedSecretUpdateHanadb.md +2 -0
- data/docs/RotatedSecretUpdateLdap.md +2 -0
- data/docs/RotatedSecretUpdateMongodb.md +2 -0
- data/docs/RotatedSecretUpdateMssql.md +2 -0
- data/docs/RotatedSecretUpdateMysql.md +2 -0
- data/docs/RotatedSecretUpdateOracledb.md +2 -0
- data/docs/RotatedSecretUpdatePostgresql.md +2 -0
- data/docs/RotatedSecretUpdateRedis.md +2 -0
- data/docs/RotatedSecretUpdateRedshift.md +2 -0
- data/docs/RotatedSecretUpdateSnowflake.md +2 -0
- data/docs/RotatedSecretUpdateSsh.md +2 -0
- data/docs/RotatedSecretUpdateWindows.md +2 -0
- data/docs/SshBastionConf.md +24 -0
- data/docs/SshBastionSessionTermination.md +26 -0
- data/docs/UpdateAccountSettings.md +6 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UpdateRotationSettings.md +2 -0
- data/docs/UpdateTarget.md +1 -1
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +880 -1
- data/docs/WebBastionConf.md +20 -0
- data/docs/WebBastionGuacamole.md +18 -0
- data/docs/WebBastionRdpRecord.md +22 -0
- data/lib/akeyless/api/v2_api.rb +886 -1
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/aws_storage.rb +260 -0
- data/lib/akeyless/models/azure_storage.rb +260 -0
- data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
- data/lib/akeyless/models/bastion_global_conf.rb +243 -0
- data/lib/akeyless/models/configure.rb +41 -1
- data/lib/akeyless/models/connect.rb +11 -11
- data/lib/akeyless/models/create_classic_key.rb +45 -1
- data/lib/akeyless/models/create_dfc_key.rb +45 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
- data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
- data/lib/akeyless/models/gateway_update_item.rb +13 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
- data/lib/akeyless/models/item_general_info.rb +23 -1
- data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
- data/lib/akeyless/models/password_expiration_info.rb +242 -0
- data/lib/akeyless/models/reset_access_key.rb +255 -0
- data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
- data/lib/akeyless/models/rollback_secret.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
- data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
- data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
- data/lib/akeyless/models/update_account_settings.rb +31 -1
- data/lib/akeyless/models/update_item.rb +13 -1
- data/lib/akeyless/models/update_rotation_settings.rb +13 -1
- data/lib/akeyless/models/update_target.rb +1 -1
- data/lib/akeyless/models/upload_rsa.rb +13 -1
- data/lib/akeyless/models/web_bastion_conf.rb +223 -0
- data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
- data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +27 -0
- data/spec/models/aws_storage_spec.rb +66 -0
- data/spec/models/azure_storage_spec.rb +66 -0
- data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
- data/spec/models/bastion_global_conf_spec.rb +54 -0
- data/spec/models/gateway_get_remote_access_spec.rb +48 -0
- data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
- data/spec/models/gateway_update_remote_access_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
- data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
- data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
- data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
- data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
- data/spec/models/next_auto_rotation_event_spec.rb +36 -0
- data/spec/models/password_expiration_info_spec.rb +54 -0
- data/spec/models/reset_access_key_spec.rb +54 -0
- data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
- data/spec/models/ssh_bastion_conf_spec.rb +54 -0
- data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
- data/spec/models/web_bastion_conf_spec.rb +42 -0
- data/spec/models/web_bastion_guacamole_spec.rb +36 -0
- data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
- metadata +1089 -981
|
@@ -48,6 +48,9 @@ module Akeyless
|
|
|
48
48
|
# Rotate the value of the secret after SRA session ends [true/false]
|
|
49
49
|
attr_accessor :rotate_after_disconnect
|
|
50
50
|
|
|
51
|
+
# How many days before the rotation of the item would you like to be notified
|
|
52
|
+
attr_accessor :rotation_event_in
|
|
53
|
+
|
|
51
54
|
# The Hour of the rotation in UTC
|
|
52
55
|
attr_accessor :rotation_hour
|
|
53
56
|
|
|
@@ -116,6 +119,7 @@ module Akeyless
|
|
|
116
119
|
:'name' => :'name',
|
|
117
120
|
:'password_length' => :'password-length',
|
|
118
121
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
122
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
119
123
|
:'rotation_hour' => :'rotation-hour',
|
|
120
124
|
:'rotation_interval' => :'rotation-interval',
|
|
121
125
|
:'secure_access_allow_external_user' => :'secure-access-allow-external-user',
|
|
@@ -156,6 +160,7 @@ module Akeyless
|
|
|
156
160
|
:'name' => :'String',
|
|
157
161
|
:'password_length' => :'String',
|
|
158
162
|
:'rotate_after_disconnect' => :'String',
|
|
163
|
+
:'rotation_event_in' => :'Array<String>',
|
|
159
164
|
:'rotation_hour' => :'Integer',
|
|
160
165
|
:'rotation_interval' => :'String',
|
|
161
166
|
:'secure_access_allow_external_user' => :'Boolean',
|
|
@@ -250,6 +255,12 @@ module Akeyless
|
|
|
250
255
|
self.rotate_after_disconnect = 'false'
|
|
251
256
|
end
|
|
252
257
|
|
|
258
|
+
if attributes.key?(:'rotation_event_in')
|
|
259
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
260
|
+
self.rotation_event_in = value
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
253
264
|
if attributes.key?(:'rotation_hour')
|
|
254
265
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
255
266
|
end
|
|
@@ -380,6 +391,7 @@ module Akeyless
|
|
|
380
391
|
name == o.name &&
|
|
381
392
|
password_length == o.password_length &&
|
|
382
393
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
394
|
+
rotation_event_in == o.rotation_event_in &&
|
|
383
395
|
rotation_hour == o.rotation_hour &&
|
|
384
396
|
rotation_interval == o.rotation_interval &&
|
|
385
397
|
secure_access_allow_external_user == o.secure_access_allow_external_user &&
|
|
@@ -409,7 +421,7 @@ module Akeyless
|
|
|
409
421
|
# Calculates hash code according to all attributes.
|
|
410
422
|
# @return [Integer] Hash code
|
|
411
423
|
def hash
|
|
412
|
-
[authentication_credentials, auto_rotate, custom_payload, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token].hash
|
|
424
|
+
[authentication_credentials, auto_rotate, custom_payload, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token].hash
|
|
413
425
|
end
|
|
414
426
|
|
|
415
427
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The length of the password to be generated
|
|
43
43
|
attr_accessor :password_length
|
|
44
44
|
|
|
45
|
+
# How many days before the rotation of the item would you like to be notified
|
|
46
|
+
attr_accessor :rotation_event_in
|
|
47
|
+
|
|
45
48
|
# The Hour of the rotation in UTC
|
|
46
49
|
attr_accessor :rotation_hour
|
|
47
50
|
|
|
@@ -72,6 +75,7 @@ module Akeyless
|
|
|
72
75
|
:'max_versions' => :'max-versions',
|
|
73
76
|
:'name' => :'name',
|
|
74
77
|
:'password_length' => :'password-length',
|
|
78
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
75
79
|
:'rotation_hour' => :'rotation-hour',
|
|
76
80
|
:'rotation_interval' => :'rotation-interval',
|
|
77
81
|
:'tags' => :'tags',
|
|
@@ -98,6 +102,7 @@ module Akeyless
|
|
|
98
102
|
:'max_versions' => :'String',
|
|
99
103
|
:'name' => :'String',
|
|
100
104
|
:'password_length' => :'String',
|
|
105
|
+
:'rotation_event_in' => :'Array<String>',
|
|
101
106
|
:'rotation_hour' => :'Integer',
|
|
102
107
|
:'rotation_interval' => :'String',
|
|
103
108
|
:'tags' => :'Array<String>',
|
|
@@ -170,6 +175,12 @@ module Akeyless
|
|
|
170
175
|
self.password_length = attributes[:'password_length']
|
|
171
176
|
end
|
|
172
177
|
|
|
178
|
+
if attributes.key?(:'rotation_event_in')
|
|
179
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
180
|
+
self.rotation_event_in = value
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
|
|
173
184
|
if attributes.key?(:'rotation_hour')
|
|
174
185
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
175
186
|
end
|
|
@@ -238,6 +249,7 @@ module Akeyless
|
|
|
238
249
|
max_versions == o.max_versions &&
|
|
239
250
|
name == o.name &&
|
|
240
251
|
password_length == o.password_length &&
|
|
252
|
+
rotation_event_in == o.rotation_event_in &&
|
|
241
253
|
rotation_hour == o.rotation_hour &&
|
|
242
254
|
rotation_interval == o.rotation_interval &&
|
|
243
255
|
tags == o.tags &&
|
|
@@ -255,7 +267,7 @@ module Akeyless
|
|
|
255
267
|
# Calculates hash code according to all attributes.
|
|
256
268
|
# @return [Integer] Hash code
|
|
257
269
|
def hash
|
|
258
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotation_hour, rotation_interval, tags, target_name, token, uid_token].hash
|
|
270
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, tags, target_name, token, uid_token].hash
|
|
259
271
|
end
|
|
260
272
|
|
|
261
273
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# The length of the password to be generated
|
|
52
52
|
attr_accessor :password_length
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -87,6 +90,7 @@ module Akeyless
|
|
|
87
90
|
:'max_versions' => :'max-versions',
|
|
88
91
|
:'name' => :'name',
|
|
89
92
|
:'password_length' => :'password-length',
|
|
93
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
90
94
|
:'rotation_hour' => :'rotation-hour',
|
|
91
95
|
:'rotation_interval' => :'rotation-interval',
|
|
92
96
|
:'rotator_type' => :'rotator-type',
|
|
@@ -117,6 +121,7 @@ module Akeyless
|
|
|
117
121
|
:'max_versions' => :'String',
|
|
118
122
|
:'name' => :'String',
|
|
119
123
|
:'password_length' => :'String',
|
|
124
|
+
:'rotation_event_in' => :'Array<String>',
|
|
120
125
|
:'rotation_hour' => :'Integer',
|
|
121
126
|
:'rotation_interval' => :'String',
|
|
122
127
|
:'rotator_type' => :'String',
|
|
@@ -202,6 +207,12 @@ module Akeyless
|
|
|
202
207
|
self.password_length = attributes[:'password_length']
|
|
203
208
|
end
|
|
204
209
|
|
|
210
|
+
if attributes.key?(:'rotation_event_in')
|
|
211
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
212
|
+
self.rotation_event_in = value
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
205
216
|
if attributes.key?(:'rotation_hour')
|
|
206
217
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
207
218
|
end
|
|
@@ -284,6 +295,7 @@ module Akeyless
|
|
|
284
295
|
max_versions == o.max_versions &&
|
|
285
296
|
name == o.name &&
|
|
286
297
|
password_length == o.password_length &&
|
|
298
|
+
rotation_event_in == o.rotation_event_in &&
|
|
287
299
|
rotation_hour == o.rotation_hour &&
|
|
288
300
|
rotation_interval == o.rotation_interval &&
|
|
289
301
|
rotator_type == o.rotator_type &&
|
|
@@ -302,7 +314,7 @@ module Akeyless
|
|
|
302
314
|
# Calculates hash code according to all attributes.
|
|
303
315
|
# @return [Integer] Hash code
|
|
304
316
|
def hash
|
|
305
|
-
[authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, max_versions, name, password_length, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
317
|
+
[authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
306
318
|
end
|
|
307
319
|
|
|
308
320
|
# Builds the object from hash
|
|
@@ -48,6 +48,9 @@ module Akeyless
|
|
|
48
48
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
49
49
|
attr_accessor :rotated_username
|
|
50
50
|
|
|
51
|
+
# How many days before the rotation of the item would you like to be notified
|
|
52
|
+
attr_accessor :rotation_event_in
|
|
53
|
+
|
|
51
54
|
# The Hour of the rotation in UTC
|
|
52
55
|
attr_accessor :rotation_hour
|
|
53
56
|
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
|
83
86
|
:'password_length' => :'password-length',
|
|
84
87
|
:'rotated_password' => :'rotated-password',
|
|
85
88
|
:'rotated_username' => :'rotated-username',
|
|
89
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
86
90
|
:'rotation_hour' => :'rotation-hour',
|
|
87
91
|
:'rotation_interval' => :'rotation-interval',
|
|
88
92
|
:'rotator_type' => :'rotator-type',
|
|
@@ -112,6 +116,7 @@ module Akeyless
|
|
|
112
116
|
:'password_length' => :'String',
|
|
113
117
|
:'rotated_password' => :'String',
|
|
114
118
|
:'rotated_username' => :'String',
|
|
119
|
+
:'rotation_event_in' => :'Array<String>',
|
|
115
120
|
:'rotation_hour' => :'Integer',
|
|
116
121
|
:'rotation_interval' => :'String',
|
|
117
122
|
:'rotator_type' => :'String',
|
|
@@ -193,6 +198,12 @@ module Akeyless
|
|
|
193
198
|
self.rotated_username = attributes[:'rotated_username']
|
|
194
199
|
end
|
|
195
200
|
|
|
201
|
+
if attributes.key?(:'rotation_event_in')
|
|
202
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
203
|
+
self.rotation_event_in = value
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
196
207
|
if attributes.key?(:'rotation_hour')
|
|
197
208
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
198
209
|
end
|
|
@@ -274,6 +285,7 @@ module Akeyless
|
|
|
274
285
|
password_length == o.password_length &&
|
|
275
286
|
rotated_password == o.rotated_password &&
|
|
276
287
|
rotated_username == o.rotated_username &&
|
|
288
|
+
rotation_event_in == o.rotation_event_in &&
|
|
277
289
|
rotation_hour == o.rotation_hour &&
|
|
278
290
|
rotation_interval == o.rotation_interval &&
|
|
279
291
|
rotator_type == o.rotator_type &&
|
|
@@ -292,7 +304,7 @@ module Akeyless
|
|
|
292
304
|
# Calculates hash code according to all attributes.
|
|
293
305
|
# @return [Integer] Hash code
|
|
294
306
|
def hash
|
|
295
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
307
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
296
308
|
end
|
|
297
309
|
|
|
298
310
|
# Builds the object from hash
|
|
@@ -56,6 +56,9 @@ module Akeyless
|
|
|
56
56
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=ldap)
|
|
57
57
|
attr_accessor :rotated_username
|
|
58
58
|
|
|
59
|
+
# How many days before the rotation of the item would you like to be notified
|
|
60
|
+
attr_accessor :rotation_event_in
|
|
61
|
+
|
|
59
62
|
# The Hour of the rotation in UTC
|
|
60
63
|
attr_accessor :rotation_hour
|
|
61
64
|
|
|
@@ -124,6 +127,7 @@ module Akeyless
|
|
|
124
127
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
125
128
|
:'rotated_password' => :'rotated-password',
|
|
126
129
|
:'rotated_username' => :'rotated-username',
|
|
130
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
127
131
|
:'rotation_hour' => :'rotation-hour',
|
|
128
132
|
:'rotation_interval' => :'rotation-interval',
|
|
129
133
|
:'rotator_type' => :'rotator-type',
|
|
@@ -166,6 +170,7 @@ module Akeyless
|
|
|
166
170
|
:'rotate_after_disconnect' => :'String',
|
|
167
171
|
:'rotated_password' => :'String',
|
|
168
172
|
:'rotated_username' => :'String',
|
|
173
|
+
:'rotation_event_in' => :'Array<String>',
|
|
169
174
|
:'rotation_hour' => :'Integer',
|
|
170
175
|
:'rotation_interval' => :'String',
|
|
171
176
|
:'rotator_type' => :'String',
|
|
@@ -271,6 +276,12 @@ module Akeyless
|
|
|
271
276
|
self.rotated_username = attributes[:'rotated_username']
|
|
272
277
|
end
|
|
273
278
|
|
|
279
|
+
if attributes.key?(:'rotation_event_in')
|
|
280
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
281
|
+
self.rotation_event_in = value
|
|
282
|
+
end
|
|
283
|
+
end
|
|
284
|
+
|
|
274
285
|
if attributes.key?(:'rotation_hour')
|
|
275
286
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
276
287
|
end
|
|
@@ -407,6 +418,7 @@ module Akeyless
|
|
|
407
418
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
408
419
|
rotated_password == o.rotated_password &&
|
|
409
420
|
rotated_username == o.rotated_username &&
|
|
421
|
+
rotation_event_in == o.rotation_event_in &&
|
|
410
422
|
rotation_hour == o.rotation_hour &&
|
|
411
423
|
rotation_interval == o.rotation_interval &&
|
|
412
424
|
rotator_type == o.rotator_type &&
|
|
@@ -435,7 +447,7 @@ module Akeyless
|
|
|
435
447
|
# Calculates hash code according to all attributes.
|
|
436
448
|
# @return [Integer] Hash code
|
|
437
449
|
def hash
|
|
438
|
-
[provider_type, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
450
|
+
[provider_type, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
439
451
|
end
|
|
440
452
|
|
|
441
453
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
52
52
|
attr_accessor :rotated_username
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -102,6 +105,7 @@ module Akeyless
|
|
|
102
105
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
103
106
|
:'rotated_password' => :'rotated-password',
|
|
104
107
|
:'rotated_username' => :'rotated-username',
|
|
108
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
105
109
|
:'rotation_hour' => :'rotation-hour',
|
|
106
110
|
:'rotation_interval' => :'rotation-interval',
|
|
107
111
|
:'rotator_type' => :'rotator-type',
|
|
@@ -137,6 +141,7 @@ module Akeyless
|
|
|
137
141
|
:'rotate_after_disconnect' => :'String',
|
|
138
142
|
:'rotated_password' => :'String',
|
|
139
143
|
:'rotated_username' => :'String',
|
|
144
|
+
:'rotation_event_in' => :'Array<String>',
|
|
140
145
|
:'rotation_hour' => :'Integer',
|
|
141
146
|
:'rotation_interval' => :'String',
|
|
142
147
|
:'rotator_type' => :'String',
|
|
@@ -229,6 +234,12 @@ module Akeyless
|
|
|
229
234
|
self.rotated_username = attributes[:'rotated_username']
|
|
230
235
|
end
|
|
231
236
|
|
|
237
|
+
if attributes.key?(:'rotation_event_in')
|
|
238
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
239
|
+
self.rotation_event_in = value
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
232
243
|
if attributes.key?(:'rotation_hour')
|
|
233
244
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
234
245
|
end
|
|
@@ -335,6 +346,7 @@ module Akeyless
|
|
|
335
346
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
336
347
|
rotated_password == o.rotated_password &&
|
|
337
348
|
rotated_username == o.rotated_username &&
|
|
349
|
+
rotation_event_in == o.rotation_event_in &&
|
|
338
350
|
rotation_hour == o.rotation_hour &&
|
|
339
351
|
rotation_interval == o.rotation_interval &&
|
|
340
352
|
rotator_type == o.rotator_type &&
|
|
@@ -358,7 +370,7 @@ module Akeyless
|
|
|
358
370
|
# Calculates hash code according to all attributes.
|
|
359
371
|
# @return [Integer] Hash code
|
|
360
372
|
def hash
|
|
361
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
373
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
362
374
|
end
|
|
363
375
|
|
|
364
376
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
52
52
|
attr_accessor :rotated_username
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -105,6 +108,7 @@ module Akeyless
|
|
|
105
108
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
106
109
|
:'rotated_password' => :'rotated-password',
|
|
107
110
|
:'rotated_username' => :'rotated-username',
|
|
111
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
108
112
|
:'rotation_hour' => :'rotation-hour',
|
|
109
113
|
:'rotation_interval' => :'rotation-interval',
|
|
110
114
|
:'rotator_type' => :'rotator-type',
|
|
@@ -141,6 +145,7 @@ module Akeyless
|
|
|
141
145
|
:'rotate_after_disconnect' => :'String',
|
|
142
146
|
:'rotated_password' => :'String',
|
|
143
147
|
:'rotated_username' => :'String',
|
|
148
|
+
:'rotation_event_in' => :'Array<String>',
|
|
144
149
|
:'rotation_hour' => :'Integer',
|
|
145
150
|
:'rotation_interval' => :'String',
|
|
146
151
|
:'rotator_type' => :'String',
|
|
@@ -234,6 +239,12 @@ module Akeyless
|
|
|
234
239
|
self.rotated_username = attributes[:'rotated_username']
|
|
235
240
|
end
|
|
236
241
|
|
|
242
|
+
if attributes.key?(:'rotation_event_in')
|
|
243
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
244
|
+
self.rotation_event_in = value
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
|
|
237
248
|
if attributes.key?(:'rotation_hour')
|
|
238
249
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
239
250
|
end
|
|
@@ -344,6 +355,7 @@ module Akeyless
|
|
|
344
355
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
345
356
|
rotated_password == o.rotated_password &&
|
|
346
357
|
rotated_username == o.rotated_username &&
|
|
358
|
+
rotation_event_in == o.rotation_event_in &&
|
|
347
359
|
rotation_hour == o.rotation_hour &&
|
|
348
360
|
rotation_interval == o.rotation_interval &&
|
|
349
361
|
rotator_type == o.rotator_type &&
|
|
@@ -368,7 +380,7 @@ module Akeyless
|
|
|
368
380
|
# Calculates hash code according to all attributes.
|
|
369
381
|
# @return [Integer] Hash code
|
|
370
382
|
def hash
|
|
371
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
383
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
372
384
|
end
|
|
373
385
|
|
|
374
386
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
52
52
|
attr_accessor :rotated_username
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -102,6 +105,7 @@ module Akeyless
|
|
|
102
105
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
103
106
|
:'rotated_password' => :'rotated-password',
|
|
104
107
|
:'rotated_username' => :'rotated-username',
|
|
108
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
105
109
|
:'rotation_hour' => :'rotation-hour',
|
|
106
110
|
:'rotation_interval' => :'rotation-interval',
|
|
107
111
|
:'rotator_type' => :'rotator-type',
|
|
@@ -137,6 +141,7 @@ module Akeyless
|
|
|
137
141
|
:'rotate_after_disconnect' => :'String',
|
|
138
142
|
:'rotated_password' => :'String',
|
|
139
143
|
:'rotated_username' => :'String',
|
|
144
|
+
:'rotation_event_in' => :'Array<String>',
|
|
140
145
|
:'rotation_hour' => :'Integer',
|
|
141
146
|
:'rotation_interval' => :'String',
|
|
142
147
|
:'rotator_type' => :'String',
|
|
@@ -229,6 +234,12 @@ module Akeyless
|
|
|
229
234
|
self.rotated_username = attributes[:'rotated_username']
|
|
230
235
|
end
|
|
231
236
|
|
|
237
|
+
if attributes.key?(:'rotation_event_in')
|
|
238
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
239
|
+
self.rotation_event_in = value
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
232
243
|
if attributes.key?(:'rotation_hour')
|
|
233
244
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
234
245
|
end
|
|
@@ -335,6 +346,7 @@ module Akeyless
|
|
|
335
346
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
336
347
|
rotated_password == o.rotated_password &&
|
|
337
348
|
rotated_username == o.rotated_username &&
|
|
349
|
+
rotation_event_in == o.rotation_event_in &&
|
|
338
350
|
rotation_hour == o.rotation_hour &&
|
|
339
351
|
rotation_interval == o.rotation_interval &&
|
|
340
352
|
rotator_type == o.rotator_type &&
|
|
@@ -358,7 +370,7 @@ module Akeyless
|
|
|
358
370
|
# Calculates hash code according to all attributes.
|
|
359
371
|
# @return [Integer] Hash code
|
|
360
372
|
def hash
|
|
361
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
373
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
362
374
|
end
|
|
363
375
|
|
|
364
376
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
52
52
|
attr_accessor :rotated_username
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -99,6 +102,7 @@ module Akeyless
|
|
|
99
102
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
100
103
|
:'rotated_password' => :'rotated-password',
|
|
101
104
|
:'rotated_username' => :'rotated-username',
|
|
105
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
102
106
|
:'rotation_hour' => :'rotation-hour',
|
|
103
107
|
:'rotation_interval' => :'rotation-interval',
|
|
104
108
|
:'rotator_type' => :'rotator-type',
|
|
@@ -133,6 +137,7 @@ module Akeyless
|
|
|
133
137
|
:'rotate_after_disconnect' => :'String',
|
|
134
138
|
:'rotated_password' => :'String',
|
|
135
139
|
:'rotated_username' => :'String',
|
|
140
|
+
:'rotation_event_in' => :'Array<String>',
|
|
136
141
|
:'rotation_hour' => :'Integer',
|
|
137
142
|
:'rotation_interval' => :'String',
|
|
138
143
|
:'rotator_type' => :'String',
|
|
@@ -224,6 +229,12 @@ module Akeyless
|
|
|
224
229
|
self.rotated_username = attributes[:'rotated_username']
|
|
225
230
|
end
|
|
226
231
|
|
|
232
|
+
if attributes.key?(:'rotation_event_in')
|
|
233
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
234
|
+
self.rotation_event_in = value
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
227
238
|
if attributes.key?(:'rotation_hour')
|
|
228
239
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
229
240
|
end
|
|
@@ -326,6 +337,7 @@ module Akeyless
|
|
|
326
337
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
327
338
|
rotated_password == o.rotated_password &&
|
|
328
339
|
rotated_username == o.rotated_username &&
|
|
340
|
+
rotation_event_in == o.rotation_event_in &&
|
|
329
341
|
rotation_hour == o.rotation_hour &&
|
|
330
342
|
rotation_interval == o.rotation_interval &&
|
|
331
343
|
rotator_type == o.rotator_type &&
|
|
@@ -348,7 +360,7 @@ module Akeyless
|
|
|
348
360
|
# Calculates hash code according to all attributes.
|
|
349
361
|
# @return [Integer] Hash code
|
|
350
362
|
def hash
|
|
351
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
363
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
352
364
|
end
|
|
353
365
|
|
|
354
366
|
# Builds the object from hash
|
|
@@ -51,6 +51,9 @@ module Akeyless
|
|
|
51
51
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
52
52
|
attr_accessor :rotated_username
|
|
53
53
|
|
|
54
|
+
# How many days before the rotation of the item would you like to be notified
|
|
55
|
+
attr_accessor :rotation_event_in
|
|
56
|
+
|
|
54
57
|
# The Hour of the rotation in UTC
|
|
55
58
|
attr_accessor :rotation_hour
|
|
56
59
|
|
|
@@ -105,6 +108,7 @@ module Akeyless
|
|
|
105
108
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
106
109
|
:'rotated_password' => :'rotated-password',
|
|
107
110
|
:'rotated_username' => :'rotated-username',
|
|
111
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
108
112
|
:'rotation_hour' => :'rotation-hour',
|
|
109
113
|
:'rotation_interval' => :'rotation-interval',
|
|
110
114
|
:'rotator_type' => :'rotator-type',
|
|
@@ -141,6 +145,7 @@ module Akeyless
|
|
|
141
145
|
:'rotate_after_disconnect' => :'String',
|
|
142
146
|
:'rotated_password' => :'String',
|
|
143
147
|
:'rotated_username' => :'String',
|
|
148
|
+
:'rotation_event_in' => :'Array<String>',
|
|
144
149
|
:'rotation_hour' => :'Integer',
|
|
145
150
|
:'rotation_interval' => :'String',
|
|
146
151
|
:'rotator_type' => :'String',
|
|
@@ -234,6 +239,12 @@ module Akeyless
|
|
|
234
239
|
self.rotated_username = attributes[:'rotated_username']
|
|
235
240
|
end
|
|
236
241
|
|
|
242
|
+
if attributes.key?(:'rotation_event_in')
|
|
243
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
244
|
+
self.rotation_event_in = value
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
|
|
237
248
|
if attributes.key?(:'rotation_hour')
|
|
238
249
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
239
250
|
end
|
|
@@ -344,6 +355,7 @@ module Akeyless
|
|
|
344
355
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
345
356
|
rotated_password == o.rotated_password &&
|
|
346
357
|
rotated_username == o.rotated_username &&
|
|
358
|
+
rotation_event_in == o.rotation_event_in &&
|
|
347
359
|
rotation_hour == o.rotation_hour &&
|
|
348
360
|
rotation_interval == o.rotation_interval &&
|
|
349
361
|
rotator_type == o.rotator_type &&
|
|
@@ -368,7 +380,7 @@ module Akeyless
|
|
|
368
380
|
# Calculates hash code according to all attributes.
|
|
369
381
|
# @return [Integer] Hash code
|
|
370
382
|
def hash
|
|
371
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
383
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
372
384
|
end
|
|
373
385
|
|
|
374
386
|
# Builds the object from hash
|
|
@@ -48,6 +48,9 @@ module Akeyless
|
|
|
48
48
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
49
49
|
attr_accessor :rotated_username
|
|
50
50
|
|
|
51
|
+
# How many days before the rotation of the item would you like to be notified
|
|
52
|
+
attr_accessor :rotation_event_in
|
|
53
|
+
|
|
51
54
|
# The Hour of the rotation in UTC
|
|
52
55
|
attr_accessor :rotation_hour
|
|
53
56
|
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
|
83
86
|
:'password_length' => :'password-length',
|
|
84
87
|
:'rotated_password' => :'rotated-password',
|
|
85
88
|
:'rotated_username' => :'rotated-username',
|
|
89
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
86
90
|
:'rotation_hour' => :'rotation-hour',
|
|
87
91
|
:'rotation_interval' => :'rotation-interval',
|
|
88
92
|
:'rotator_type' => :'rotator-type',
|
|
@@ -112,6 +116,7 @@ module Akeyless
|
|
|
112
116
|
:'password_length' => :'String',
|
|
113
117
|
:'rotated_password' => :'String',
|
|
114
118
|
:'rotated_username' => :'String',
|
|
119
|
+
:'rotation_event_in' => :'Array<String>',
|
|
115
120
|
:'rotation_hour' => :'Integer',
|
|
116
121
|
:'rotation_interval' => :'String',
|
|
117
122
|
:'rotator_type' => :'String',
|
|
@@ -193,6 +198,12 @@ module Akeyless
|
|
|
193
198
|
self.rotated_username = attributes[:'rotated_username']
|
|
194
199
|
end
|
|
195
200
|
|
|
201
|
+
if attributes.key?(:'rotation_event_in')
|
|
202
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
203
|
+
self.rotation_event_in = value
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
196
207
|
if attributes.key?(:'rotation_hour')
|
|
197
208
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
198
209
|
end
|
|
@@ -274,6 +285,7 @@ module Akeyless
|
|
|
274
285
|
password_length == o.password_length &&
|
|
275
286
|
rotated_password == o.rotated_password &&
|
|
276
287
|
rotated_username == o.rotated_username &&
|
|
288
|
+
rotation_event_in == o.rotation_event_in &&
|
|
277
289
|
rotation_hour == o.rotation_hour &&
|
|
278
290
|
rotation_interval == o.rotation_interval &&
|
|
279
291
|
rotator_type == o.rotator_type &&
|
|
@@ -292,7 +304,7 @@ module Akeyless
|
|
|
292
304
|
# Calculates hash code according to all attributes.
|
|
293
305
|
# @return [Integer] Hash code
|
|
294
306
|
def hash
|
|
295
|
-
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
307
|
+
[authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
|
296
308
|
end
|
|
297
309
|
|
|
298
310
|
# Builds the object from hash
|