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
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Classic Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
|
|
20
20
|
attr_accessor :alg
|
|
21
21
|
|
|
22
|
+
# Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]
|
|
23
|
+
attr_accessor :auto_rotate
|
|
24
|
+
|
|
22
25
|
# Certificate in a PEM format.
|
|
23
26
|
attr_accessor :cert_file_data
|
|
24
27
|
|
|
@@ -54,6 +57,9 @@ module Akeyless
|
|
|
54
57
|
# Description of the object
|
|
55
58
|
attr_accessor :description
|
|
56
59
|
|
|
60
|
+
# How many days before the expiration of the certificate would you like to be notified.
|
|
61
|
+
attr_accessor :expiration_event_in
|
|
62
|
+
|
|
57
63
|
# Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
|
|
58
64
|
attr_accessor :generate_self_signed_certificate
|
|
59
65
|
|
|
@@ -75,6 +81,12 @@ module Akeyless
|
|
|
75
81
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
76
82
|
attr_accessor :protection_key_name
|
|
77
83
|
|
|
84
|
+
# How many days before the rotation of the item would you like to be notified
|
|
85
|
+
attr_accessor :rotation_event_in
|
|
86
|
+
|
|
87
|
+
# The number of days to wait between every automatic rotation (1-365)
|
|
88
|
+
attr_accessor :rotation_interval
|
|
89
|
+
|
|
78
90
|
# Add tags attached to this object
|
|
79
91
|
attr_accessor :tags
|
|
80
92
|
|
|
@@ -88,6 +100,7 @@ module Akeyless
|
|
|
88
100
|
def self.attribute_map
|
|
89
101
|
{
|
|
90
102
|
:'alg' => :'alg',
|
|
103
|
+
:'auto_rotate' => :'auto-rotate',
|
|
91
104
|
:'cert_file_data' => :'cert-file-data',
|
|
92
105
|
:'certificate_common_name' => :'certificate-common-name',
|
|
93
106
|
:'certificate_country' => :'certificate-country',
|
|
@@ -100,6 +113,7 @@ module Akeyless
|
|
|
100
113
|
:'conf_file_data' => :'conf-file-data',
|
|
101
114
|
:'delete_protection' => :'delete_protection',
|
|
102
115
|
:'description' => :'description',
|
|
116
|
+
:'expiration_event_in' => :'expiration-event-in',
|
|
103
117
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
|
104
118
|
:'gpg_alg' => :'gpg-alg',
|
|
105
119
|
:'json' => :'json',
|
|
@@ -107,6 +121,8 @@ module Akeyless
|
|
|
107
121
|
:'metadata' => :'metadata',
|
|
108
122
|
:'name' => :'name',
|
|
109
123
|
:'protection_key_name' => :'protection-key-name',
|
|
124
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
125
|
+
:'rotation_interval' => :'rotation-interval',
|
|
110
126
|
:'tags' => :'tags',
|
|
111
127
|
:'token' => :'token',
|
|
112
128
|
:'uid_token' => :'uid-token'
|
|
@@ -122,6 +138,7 @@ module Akeyless
|
|
|
122
138
|
def self.openapi_types
|
|
123
139
|
{
|
|
124
140
|
:'alg' => :'String',
|
|
141
|
+
:'auto_rotate' => :'String',
|
|
125
142
|
:'cert_file_data' => :'String',
|
|
126
143
|
:'certificate_common_name' => :'String',
|
|
127
144
|
:'certificate_country' => :'String',
|
|
@@ -134,6 +151,7 @@ module Akeyless
|
|
|
134
151
|
:'conf_file_data' => :'String',
|
|
135
152
|
:'delete_protection' => :'String',
|
|
136
153
|
:'description' => :'String',
|
|
154
|
+
:'expiration_event_in' => :'Array<String>',
|
|
137
155
|
:'generate_self_signed_certificate' => :'Boolean',
|
|
138
156
|
:'gpg_alg' => :'String',
|
|
139
157
|
:'json' => :'Boolean',
|
|
@@ -141,6 +159,8 @@ module Akeyless
|
|
|
141
159
|
:'metadata' => :'String',
|
|
142
160
|
:'name' => :'String',
|
|
143
161
|
:'protection_key_name' => :'String',
|
|
162
|
+
:'rotation_event_in' => :'Array<String>',
|
|
163
|
+
:'rotation_interval' => :'String',
|
|
144
164
|
:'tags' => :'Array<String>',
|
|
145
165
|
:'token' => :'String',
|
|
146
166
|
:'uid_token' => :'String'
|
|
@@ -174,6 +194,10 @@ module Akeyless
|
|
|
174
194
|
self.alg = nil
|
|
175
195
|
end
|
|
176
196
|
|
|
197
|
+
if attributes.key?(:'auto_rotate')
|
|
198
|
+
self.auto_rotate = attributes[:'auto_rotate']
|
|
199
|
+
end
|
|
200
|
+
|
|
177
201
|
if attributes.key?(:'cert_file_data')
|
|
178
202
|
self.cert_file_data = attributes[:'cert_file_data']
|
|
179
203
|
end
|
|
@@ -222,6 +246,12 @@ module Akeyless
|
|
|
222
246
|
self.description = attributes[:'description']
|
|
223
247
|
end
|
|
224
248
|
|
|
249
|
+
if attributes.key?(:'expiration_event_in')
|
|
250
|
+
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
251
|
+
self.expiration_event_in = value
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
225
255
|
if attributes.key?(:'generate_self_signed_certificate')
|
|
226
256
|
self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
|
|
227
257
|
end
|
|
@@ -254,6 +284,16 @@ module Akeyless
|
|
|
254
284
|
self.protection_key_name = attributes[:'protection_key_name']
|
|
255
285
|
end
|
|
256
286
|
|
|
287
|
+
if attributes.key?(:'rotation_event_in')
|
|
288
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
289
|
+
self.rotation_event_in = value
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
if attributes.key?(:'rotation_interval')
|
|
294
|
+
self.rotation_interval = attributes[:'rotation_interval']
|
|
295
|
+
end
|
|
296
|
+
|
|
257
297
|
if attributes.key?(:'tags')
|
|
258
298
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
259
299
|
self.tags = value
|
|
@@ -300,6 +340,7 @@ module Akeyless
|
|
|
300
340
|
return true if self.equal?(o)
|
|
301
341
|
self.class == o.class &&
|
|
302
342
|
alg == o.alg &&
|
|
343
|
+
auto_rotate == o.auto_rotate &&
|
|
303
344
|
cert_file_data == o.cert_file_data &&
|
|
304
345
|
certificate_common_name == o.certificate_common_name &&
|
|
305
346
|
certificate_country == o.certificate_country &&
|
|
@@ -312,6 +353,7 @@ module Akeyless
|
|
|
312
353
|
conf_file_data == o.conf_file_data &&
|
|
313
354
|
delete_protection == o.delete_protection &&
|
|
314
355
|
description == o.description &&
|
|
356
|
+
expiration_event_in == o.expiration_event_in &&
|
|
315
357
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
|
316
358
|
gpg_alg == o.gpg_alg &&
|
|
317
359
|
json == o.json &&
|
|
@@ -319,6 +361,8 @@ module Akeyless
|
|
|
319
361
|
metadata == o.metadata &&
|
|
320
362
|
name == o.name &&
|
|
321
363
|
protection_key_name == o.protection_key_name &&
|
|
364
|
+
rotation_event_in == o.rotation_event_in &&
|
|
365
|
+
rotation_interval == o.rotation_interval &&
|
|
322
366
|
tags == o.tags &&
|
|
323
367
|
token == o.token &&
|
|
324
368
|
uid_token == o.uid_token
|
|
@@ -333,7 +377,7 @@ module Akeyless
|
|
|
333
377
|
# Calculates hash code according to all attributes.
|
|
334
378
|
# @return [Integer] Hash code
|
|
335
379
|
def hash
|
|
336
|
-
[alg, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, tags, token, uid_token].hash
|
|
380
|
+
[alg, auto_rotate, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, expiration_event_in, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, rotation_event_in, rotation_interval, tags, token, uid_token].hash
|
|
337
381
|
end
|
|
338
382
|
|
|
339
383
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# DFCKey type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096]
|
|
19
19
|
attr_accessor :alg
|
|
20
20
|
|
|
21
|
+
# Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]
|
|
22
|
+
attr_accessor :auto_rotate
|
|
23
|
+
|
|
21
24
|
# Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
|
|
22
25
|
attr_accessor :certificate_common_name
|
|
23
26
|
|
|
@@ -53,6 +56,9 @@ module Akeyless
|
|
|
53
56
|
# Description of the object
|
|
54
57
|
attr_accessor :description
|
|
55
58
|
|
|
59
|
+
# How many days before the expiration of the certificate would you like to be notified.
|
|
60
|
+
attr_accessor :expiration_event_in
|
|
61
|
+
|
|
56
62
|
# Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
|
|
57
63
|
attr_accessor :generate_self_signed_certificate
|
|
58
64
|
|
|
@@ -65,6 +71,12 @@ module Akeyless
|
|
|
65
71
|
# DFCKey name
|
|
66
72
|
attr_accessor :name
|
|
67
73
|
|
|
74
|
+
# How many days before the rotation of the item would you like to be notified
|
|
75
|
+
attr_accessor :rotation_event_in
|
|
76
|
+
|
|
77
|
+
# The number of days to wait between every automatic rotation (7-365)
|
|
78
|
+
attr_accessor :rotation_interval
|
|
79
|
+
|
|
68
80
|
# The number of fragments that the item will be split into (not includes customer fragment)
|
|
69
81
|
attr_accessor :split_level
|
|
70
82
|
|
|
@@ -81,6 +93,7 @@ module Akeyless
|
|
|
81
93
|
def self.attribute_map
|
|
82
94
|
{
|
|
83
95
|
:'alg' => :'alg',
|
|
96
|
+
:'auto_rotate' => :'auto-rotate',
|
|
84
97
|
:'certificate_common_name' => :'certificate-common-name',
|
|
85
98
|
:'certificate_country' => :'certificate-country',
|
|
86
99
|
:'certificate_digest_algo' => :'certificate-digest-algo',
|
|
@@ -93,10 +106,13 @@ module Akeyless
|
|
|
93
106
|
:'customer_frg_id' => :'customer-frg-id',
|
|
94
107
|
:'delete_protection' => :'delete_protection',
|
|
95
108
|
:'description' => :'description',
|
|
109
|
+
:'expiration_event_in' => :'expiration-event-in',
|
|
96
110
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
|
97
111
|
:'json' => :'json',
|
|
98
112
|
:'metadata' => :'metadata',
|
|
99
113
|
:'name' => :'name',
|
|
114
|
+
:'rotation_event_in' => :'rotation-event-in',
|
|
115
|
+
:'rotation_interval' => :'rotation-interval',
|
|
100
116
|
:'split_level' => :'split-level',
|
|
101
117
|
:'tag' => :'tag',
|
|
102
118
|
:'token' => :'token',
|
|
@@ -113,6 +129,7 @@ module Akeyless
|
|
|
113
129
|
def self.openapi_types
|
|
114
130
|
{
|
|
115
131
|
:'alg' => :'String',
|
|
132
|
+
:'auto_rotate' => :'String',
|
|
116
133
|
:'certificate_common_name' => :'String',
|
|
117
134
|
:'certificate_country' => :'String',
|
|
118
135
|
:'certificate_digest_algo' => :'String',
|
|
@@ -125,10 +142,13 @@ module Akeyless
|
|
|
125
142
|
:'customer_frg_id' => :'String',
|
|
126
143
|
:'delete_protection' => :'String',
|
|
127
144
|
:'description' => :'String',
|
|
145
|
+
:'expiration_event_in' => :'Array<String>',
|
|
128
146
|
:'generate_self_signed_certificate' => :'Boolean',
|
|
129
147
|
:'json' => :'Boolean',
|
|
130
148
|
:'metadata' => :'String',
|
|
131
149
|
:'name' => :'String',
|
|
150
|
+
:'rotation_event_in' => :'Array<String>',
|
|
151
|
+
:'rotation_interval' => :'String',
|
|
132
152
|
:'split_level' => :'Integer',
|
|
133
153
|
:'tag' => :'Array<String>',
|
|
134
154
|
:'token' => :'String',
|
|
@@ -163,6 +183,10 @@ module Akeyless
|
|
|
163
183
|
self.alg = nil
|
|
164
184
|
end
|
|
165
185
|
|
|
186
|
+
if attributes.key?(:'auto_rotate')
|
|
187
|
+
self.auto_rotate = attributes[:'auto_rotate']
|
|
188
|
+
end
|
|
189
|
+
|
|
166
190
|
if attributes.key?(:'certificate_common_name')
|
|
167
191
|
self.certificate_common_name = attributes[:'certificate_common_name']
|
|
168
192
|
end
|
|
@@ -211,6 +235,12 @@ module Akeyless
|
|
|
211
235
|
self.description = attributes[:'description']
|
|
212
236
|
end
|
|
213
237
|
|
|
238
|
+
if attributes.key?(:'expiration_event_in')
|
|
239
|
+
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
240
|
+
self.expiration_event_in = value
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
214
244
|
if attributes.key?(:'generate_self_signed_certificate')
|
|
215
245
|
self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
|
|
216
246
|
end
|
|
@@ -231,6 +261,16 @@ module Akeyless
|
|
|
231
261
|
self.name = nil
|
|
232
262
|
end
|
|
233
263
|
|
|
264
|
+
if attributes.key?(:'rotation_event_in')
|
|
265
|
+
if (value = attributes[:'rotation_event_in']).is_a?(Array)
|
|
266
|
+
self.rotation_event_in = value
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
if attributes.key?(:'rotation_interval')
|
|
271
|
+
self.rotation_interval = attributes[:'rotation_interval']
|
|
272
|
+
end
|
|
273
|
+
|
|
234
274
|
if attributes.key?(:'split_level')
|
|
235
275
|
self.split_level = attributes[:'split_level']
|
|
236
276
|
else
|
|
@@ -283,6 +323,7 @@ module Akeyless
|
|
|
283
323
|
return true if self.equal?(o)
|
|
284
324
|
self.class == o.class &&
|
|
285
325
|
alg == o.alg &&
|
|
326
|
+
auto_rotate == o.auto_rotate &&
|
|
286
327
|
certificate_common_name == o.certificate_common_name &&
|
|
287
328
|
certificate_country == o.certificate_country &&
|
|
288
329
|
certificate_digest_algo == o.certificate_digest_algo &&
|
|
@@ -295,10 +336,13 @@ module Akeyless
|
|
|
295
336
|
customer_frg_id == o.customer_frg_id &&
|
|
296
337
|
delete_protection == o.delete_protection &&
|
|
297
338
|
description == o.description &&
|
|
339
|
+
expiration_event_in == o.expiration_event_in &&
|
|
298
340
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
|
299
341
|
json == o.json &&
|
|
300
342
|
metadata == o.metadata &&
|
|
301
343
|
name == o.name &&
|
|
344
|
+
rotation_event_in == o.rotation_event_in &&
|
|
345
|
+
rotation_interval == o.rotation_interval &&
|
|
302
346
|
split_level == o.split_level &&
|
|
303
347
|
tag == o.tag &&
|
|
304
348
|
token == o.token &&
|
|
@@ -314,7 +358,7 @@ module Akeyless
|
|
|
314
358
|
# Calculates hash code according to all attributes.
|
|
315
359
|
# @return [Integer] Hash code
|
|
316
360
|
def hash
|
|
317
|
-
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
|
361
|
+
[alg, auto_rotate, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, expiration_event_in, generate_self_signed_certificate, json, metadata, name, rotation_event_in, rotation_interval, split_level, tag, token, uid_token].hash
|
|
318
362
|
end
|
|
319
363
|
|
|
320
364
|
# Builds the object from hash
|
|
@@ -26,13 +26,17 @@ module Akeyless
|
|
|
26
26
|
# The password value
|
|
27
27
|
attr_accessor :hash_pass
|
|
28
28
|
|
|
29
|
+
# The last password change date
|
|
30
|
+
attr_accessor :last_reset_password
|
|
31
|
+
|
|
29
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
33
|
def self.attribute_map
|
|
31
34
|
{
|
|
32
35
|
:'alg' => :'alg',
|
|
33
36
|
:'email' => :'email',
|
|
34
37
|
:'enc_email_with_shared_key' => :'enc_email_with_shared_key',
|
|
35
|
-
:'hash_pass' => :'hash_pass'
|
|
38
|
+
:'hash_pass' => :'hash_pass',
|
|
39
|
+
:'last_reset_password' => :'last_reset_password'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -47,7 +51,8 @@ module Akeyless
|
|
|
47
51
|
:'alg' => :'String',
|
|
48
52
|
:'email' => :'String',
|
|
49
53
|
:'enc_email_with_shared_key' => :'String',
|
|
50
|
-
:'hash_pass' => :'String'
|
|
54
|
+
:'hash_pass' => :'String',
|
|
55
|
+
:'last_reset_password' => :'Time'
|
|
51
56
|
}
|
|
52
57
|
end
|
|
53
58
|
|
|
@@ -87,6 +92,10 @@ module Akeyless
|
|
|
87
92
|
if attributes.key?(:'hash_pass')
|
|
88
93
|
self.hash_pass = attributes[:'hash_pass']
|
|
89
94
|
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'last_reset_password')
|
|
97
|
+
self.last_reset_password = attributes[:'last_reset_password']
|
|
98
|
+
end
|
|
90
99
|
end
|
|
91
100
|
|
|
92
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -112,7 +121,8 @@ module Akeyless
|
|
|
112
121
|
alg == o.alg &&
|
|
113
122
|
email == o.email &&
|
|
114
123
|
enc_email_with_shared_key == o.enc_email_with_shared_key &&
|
|
115
|
-
hash_pass == o.hash_pass
|
|
124
|
+
hash_pass == o.hash_pass &&
|
|
125
|
+
last_reset_password == o.last_reset_password
|
|
116
126
|
end
|
|
117
127
|
|
|
118
128
|
# @see the `==` method
|
|
@@ -124,7 +134,7 @@ module Akeyless
|
|
|
124
134
|
# Calculates hash code according to all attributes.
|
|
125
135
|
# @return [Integer] Hash code
|
|
126
136
|
def hash
|
|
127
|
-
[alg, email, enc_email_with_shared_key, hash_pass].hash
|
|
137
|
+
[alg, email, enc_email_with_shared_key, hash_pass, last_reset_password].hash
|
|
128
138
|
end
|
|
129
139
|
|
|
130
140
|
# Builds the object from hash
|
|
@@ -25,7 +25,7 @@ module Akeyless
|
|
|
25
25
|
# A comma seperated list of email addresses to send event to
|
|
26
26
|
attr_accessor :email_to
|
|
27
27
|
|
|
28
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
28
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
29
29
|
attr_accessor :event_types
|
|
30
30
|
|
|
31
31
|
# Rate of periodic runner repetition in hours
|
|
@@ -34,7 +34,7 @@ module Akeyless
|
|
|
34
34
|
# Event sources
|
|
35
35
|
attr_accessor :gateways_event_source_locations
|
|
36
36
|
|
|
37
|
-
# Set this option to include event errors details [true
|
|
37
|
+
# Set this option to include event errors details [true/false]
|
|
38
38
|
attr_accessor :include_error
|
|
39
39
|
|
|
40
40
|
# Items Event sources
|
|
@@ -40,7 +40,7 @@ module Akeyless
|
|
|
40
40
|
# Description of the object
|
|
41
41
|
attr_accessor :description
|
|
42
42
|
|
|
43
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
43
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
44
44
|
attr_accessor :event_types
|
|
45
45
|
|
|
46
46
|
# Rate of periodic runner repetition in hours
|
|
@@ -22,7 +22,7 @@ module Akeyless
|
|
|
22
22
|
# Description of the object
|
|
23
23
|
attr_accessor :description
|
|
24
24
|
|
|
25
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
25
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
26
26
|
attr_accessor :event_types
|
|
27
27
|
|
|
28
28
|
# Rate of periodic runner repetition in hours
|
|
@@ -31,7 +31,7 @@ module Akeyless
|
|
|
31
31
|
# Description of the object
|
|
32
32
|
attr_accessor :description
|
|
33
33
|
|
|
34
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
34
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
35
35
|
attr_accessor :event_types
|
|
36
36
|
|
|
37
37
|
# Rate of periodic runner repetition in hours
|
|
@@ -28,13 +28,13 @@ module Akeyless
|
|
|
28
28
|
# Enable/Disable Event Forwarder [true/false]
|
|
29
29
|
attr_accessor :enable
|
|
30
30
|
|
|
31
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
31
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
32
32
|
attr_accessor :event_types
|
|
33
33
|
|
|
34
34
|
# Event sources
|
|
35
35
|
attr_accessor :gateways_event_source_locations
|
|
36
36
|
|
|
37
|
-
# Set this option to include event errors details [true
|
|
37
|
+
# Set this option to include event errors details [true/false]
|
|
38
38
|
attr_accessor :include_error
|
|
39
39
|
|
|
40
40
|
# Items Event sources
|