akeyless 5.0.21 → 5.0.23
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 +35 -1
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/ActiveDirectoryPayload.md +6 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/AzureADAccessRules.md +2 -0
- data/docs/AzureTargetDetails.md +2 -0
- data/docs/CertAccessRules.md +2 -0
- data/docs/CertificateChainInfo.md +2 -0
- data/docs/Configure.md +2 -0
- data/docs/ConjurMigration.md +20 -0
- data/docs/ConjurPayload.md +24 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateAzureTarget.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +10 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DefaultAuthMethodSettings.md +20 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +19 -1
- data/docs/GatewayUpdateMigration.md +18 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GetPKICertificateOutput.md +2 -0
- data/docs/GithubMetadata.md +28 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HTTPChallengeInfo.md +26 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/IssuerOverviewInfo.md +22 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.md +4 -0
- data/docs/MigrationsConfigPart.md +2 -0
- data/docs/NetappStorage.md +30 -0
- data/docs/ReverseRBAC.md +1 -1
- data/docs/RotatedSecretCreateAws.md +3 -1
- data/docs/RotatedSecretCreateAzure.md +3 -1
- data/docs/RotatedSecretCreateCustom.md +3 -1
- data/docs/RotatedSecretCreateLdap.md +3 -1
- data/docs/RotatedSecretCreateMongodb.md +3 -1
- data/docs/RotatedSecretCreateMssql.md +3 -1
- data/docs/RotatedSecretCreateMysql.md +3 -1
- data/docs/RotatedSecretCreateOracledb.md +3 -1
- data/docs/RotatedSecretCreatePostgresql.md +3 -1
- data/docs/RotatedSecretCreateRedshift.md +3 -1
- data/docs/RotatedSecretCreateSsh.md +3 -1
- data/docs/RotatedSecretCreateWindows.md +3 -1
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateCustom.md +3 -1
- data/docs/RotatedSecretUpdateLdap.md +3 -1
- data/docs/RotatedSecretUpdateMongodb.md +3 -1
- data/docs/RotatedSecretUpdateMssql.md +3 -1
- data/docs/RotatedSecretUpdateMysql.md +3 -1
- data/docs/RotatedSecretUpdateOracledb.md +3 -1
- data/docs/RotatedSecretUpdatePostgresql.md +3 -1
- data/docs/RotatedSecretUpdateRedshift.md +3 -1
- data/docs/RotatedSecretUpdateSsh.md +3 -1
- data/docs/RotatedSecretUpdateWindows.md +3 -1
- data/docs/SecretInfo.md +4 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDigiCert.md +50 -0
- data/docs/TargetCreateGoogleTrust.md +50 -0
- data/docs/TargetCreateLetsEncrypt.md +1 -1
- data/docs/TargetCreateSplunk.md +3 -1
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -0
- data/docs/TargetUpdateGoogleTrust.md +54 -0
- data/docs/TargetUpdateLetsEncrypt.md +1 -1
- data/docs/UniversalIdentityAccessRules.md +4 -0
- data/docs/UnlockItem.md +24 -0
- data/docs/UnlockTarget.md +24 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateAzureTarget.md +2 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscListSecretsOutput.md +3 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +632 -2
- data/docs/ValidateCertificateChallenge.md +30 -0
- data/docs/ValidateCertificateChallengeOutput.md +24 -0
- data/docs/VaultAddress.md +20 -0
- data/docs/VaultAddressOutput.md +20 -0
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +640 -0
- data/lib/akeyless/models/account_general_settings.rb +28 -1
- data/lib/akeyless/models/active_directory_payload.rb +30 -1
- data/lib/akeyless/models/auth.rb +13 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
- data/lib/akeyless/models/aws_storage.rb +10 -1
- data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
- data/lib/akeyless/models/azure_target_details.rb +10 -1
- data/lib/akeyless/models/cert_access_rules.rb +11 -1
- data/lib/akeyless/models/certificate_chain_info.rb +11 -1
- data/lib/akeyless/models/configure.rb +13 -1
- data/lib/akeyless/models/conjur_migration.rb +223 -0
- data/lib/akeyless/models/conjur_payload.rb +241 -0
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_azure_target.rb +13 -1
- data/lib/akeyless/models/create_rotated_secret.rb +12 -4
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +54 -1
- data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/describe_permissions.rb +1 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +15 -4
- data/lib/akeyless/models/gateway_create_migration.rb +94 -2
- data/lib/akeyless/models/gateway_update_migration.rb +93 -1
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
- data/lib/akeyless/models/general_config_part.rb +19 -1
- data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
- data/lib/akeyless/models/github_metadata.rb +259 -0
- data/lib/akeyless/models/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- data/lib/akeyless/models/http_challenge_info.rb +251 -0
- data/lib/akeyless/models/issuer_overview_info.rb +232 -0
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/item_locking_setting.rb +223 -0
- data/lib/akeyless/models/lock_item.rb +274 -0
- data/lib/akeyless/models/lock_target.rb +274 -0
- data/lib/akeyless/models/locking_info.rb +243 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +19 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- data/lib/akeyless/models/netapp_storage.rb +268 -0
- data/lib/akeyless/models/reverse_rbac.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
- data/lib/akeyless/models/secret_info.rb +19 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sync_counters.rb +233 -0
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_azure.rb +13 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +398 -0
- data/lib/akeyless/models/target_create_google_trust.rb +398 -0
- data/lib/akeyless/models/target_create_lets_encrypt.rb +7 -0
- data/lib/akeyless/models/target_create_splunk.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_azure.rb +13 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- data/lib/akeyless/models/target_update_google_trust.rb +418 -0
- data/lib/akeyless/models/target_update_lets_encrypt.rb +7 -0
- data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
- data/lib/akeyless/models/unlock_item.rb +254 -0
- data/lib/akeyless/models/unlock_target.rb +254 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_azure_target.rb +13 -1
- data/lib/akeyless/models/update_item.rb +12 -4
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/usc_create.rb +10 -1
- data/lib/akeyless/models/usc_delete.rb +20 -1
- data/lib/akeyless/models/usc_get.rb +20 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +15 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
- data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
- data/lib/akeyless/models/vault_address.rb +227 -0
- data/lib/akeyless/models/vault_address_output.rb +223 -0
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +24 -0
- data/spec/models/conjur_migration_spec.rb +42 -0
- data/spec/models/conjur_payload_spec.rb +54 -0
- data/spec/models/default_auth_method_settings_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/github_metadata_spec.rb +66 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -0
- data/spec/models/http_challenge_info_spec.rb +60 -0
- data/spec/models/issuer_overview_info_spec.rb +48 -0
- data/spec/models/item_locking_setting_spec.rb +42 -0
- data/spec/models/lock_item_spec.rb +66 -0
- data/spec/models/lock_target_spec.rb +66 -0
- data/spec/models/locking_info_spec.rb +54 -0
- data/spec/models/netapp_storage_spec.rb +72 -0
- data/spec/models/sync_counters_spec.rb +48 -0
- data/spec/models/target_create_digi_cert_spec.rb +132 -0
- data/spec/models/target_create_google_trust_spec.rb +132 -0
- data/spec/models/target_update_digi_cert_spec.rb +144 -0
- data/spec/models/target_update_google_trust_spec.rb +144 -0
- data/spec/models/unlock_item_spec.rb +54 -0
- data/spec/models/unlock_target_spec.rb +54 -0
- data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
- data/spec/models/validate_certificate_challenge_spec.rb +72 -0
- data/spec/models/vault_address_output_spec.rb +42 -0
- data/spec/models/vault_address_spec.rb +42 -0
- metadata +1233 -1134
|
@@ -38,6 +38,8 @@ module Akeyless
|
|
|
38
38
|
|
|
39
39
|
attr_accessor :data_protection_section
|
|
40
40
|
|
|
41
|
+
attr_accessor :default_auth_method
|
|
42
|
+
|
|
41
43
|
attr_accessor :default_home_page
|
|
42
44
|
|
|
43
45
|
attr_accessor :dynamic_secret_max_ttl
|
|
@@ -46,11 +48,15 @@ module Akeyless
|
|
|
46
48
|
|
|
47
49
|
attr_accessor :hide_personal_folder
|
|
48
50
|
|
|
51
|
+
attr_accessor :hide_secret_reveal_copy
|
|
52
|
+
|
|
49
53
|
attr_accessor :hide_static_password
|
|
50
54
|
|
|
51
55
|
# InvalidCharacters is the invalid characters for items/targets/roles/auths/notifier_forwarder naming convention
|
|
52
56
|
attr_accessor :invalid_characters
|
|
53
57
|
|
|
58
|
+
attr_accessor :item_locking
|
|
59
|
+
|
|
54
60
|
attr_accessor :item_usage_event
|
|
55
61
|
|
|
56
62
|
# LockDefaultKey determines whether the configured default key can be updated by end-users on a per-request basis true - all requests use the configured default key false - every request can determine its protection key (default) nil - change nothing (every request can determine its protection key (default)) This parameter is only relevant if AccountDefaultKeyItemID is not empty
|
|
@@ -81,12 +87,15 @@ module Akeyless
|
|
|
81
87
|
:'auth_usage_event' => :'auth_usage_event',
|
|
82
88
|
:'certificate_expiration_events' => :'certificate_expiration_events',
|
|
83
89
|
:'data_protection_section' => :'data_protection_section',
|
|
90
|
+
:'default_auth_method' => :'default_auth_method',
|
|
84
91
|
:'default_home_page' => :'default_home_page',
|
|
85
92
|
:'dynamic_secret_max_ttl' => :'dynamic_secret_max_ttl',
|
|
86
93
|
:'enable_request_for_access' => :'enable_request_for_access',
|
|
87
94
|
:'hide_personal_folder' => :'hide_personal_folder',
|
|
95
|
+
:'hide_secret_reveal_copy' => :'hide_secret_reveal_copy',
|
|
88
96
|
:'hide_static_password' => :'hide_static_password',
|
|
89
97
|
:'invalid_characters' => :'invalid_characters',
|
|
98
|
+
:'item_locking' => :'item_locking',
|
|
90
99
|
:'item_usage_event' => :'item_usage_event',
|
|
91
100
|
:'lock_default_key' => :'lock_default_key',
|
|
92
101
|
:'password_expiration_info' => :'password_expiration_info',
|
|
@@ -116,12 +125,15 @@ module Akeyless
|
|
|
116
125
|
:'auth_usage_event' => :'UsageEventSetting',
|
|
117
126
|
:'certificate_expiration_events' => :'CertificateExpirationEventsSettings',
|
|
118
127
|
:'data_protection_section' => :'DataProtectionSection',
|
|
128
|
+
:'default_auth_method' => :'DefaultAuthMethodSettings',
|
|
119
129
|
:'default_home_page' => :'DefaultHomePage',
|
|
120
130
|
:'dynamic_secret_max_ttl' => :'DynamicSecretMaxTtl',
|
|
121
131
|
:'enable_request_for_access' => :'Boolean',
|
|
122
132
|
:'hide_personal_folder' => :'Boolean',
|
|
133
|
+
:'hide_secret_reveal_copy' => :'Boolean',
|
|
123
134
|
:'hide_static_password' => :'Boolean',
|
|
124
135
|
:'invalid_characters' => :'String',
|
|
136
|
+
:'item_locking' => :'ItemLockingSetting',
|
|
125
137
|
:'item_usage_event' => :'UsageEventSetting',
|
|
126
138
|
:'lock_default_key' => :'Boolean',
|
|
127
139
|
:'password_expiration_info' => :'PasswordExpirationInfo',
|
|
@@ -194,6 +206,10 @@ module Akeyless
|
|
|
194
206
|
self.data_protection_section = attributes[:'data_protection_section']
|
|
195
207
|
end
|
|
196
208
|
|
|
209
|
+
if attributes.key?(:'default_auth_method')
|
|
210
|
+
self.default_auth_method = attributes[:'default_auth_method']
|
|
211
|
+
end
|
|
212
|
+
|
|
197
213
|
if attributes.key?(:'default_home_page')
|
|
198
214
|
self.default_home_page = attributes[:'default_home_page']
|
|
199
215
|
end
|
|
@@ -210,6 +226,10 @@ module Akeyless
|
|
|
210
226
|
self.hide_personal_folder = attributes[:'hide_personal_folder']
|
|
211
227
|
end
|
|
212
228
|
|
|
229
|
+
if attributes.key?(:'hide_secret_reveal_copy')
|
|
230
|
+
self.hide_secret_reveal_copy = attributes[:'hide_secret_reveal_copy']
|
|
231
|
+
end
|
|
232
|
+
|
|
213
233
|
if attributes.key?(:'hide_static_password')
|
|
214
234
|
self.hide_static_password = attributes[:'hide_static_password']
|
|
215
235
|
end
|
|
@@ -218,6 +238,10 @@ module Akeyless
|
|
|
218
238
|
self.invalid_characters = attributes[:'invalid_characters']
|
|
219
239
|
end
|
|
220
240
|
|
|
241
|
+
if attributes.key?(:'item_locking')
|
|
242
|
+
self.item_locking = attributes[:'item_locking']
|
|
243
|
+
end
|
|
244
|
+
|
|
221
245
|
if attributes.key?(:'item_usage_event')
|
|
222
246
|
self.item_usage_event = attributes[:'item_usage_event']
|
|
223
247
|
end
|
|
@@ -281,12 +305,15 @@ module Akeyless
|
|
|
281
305
|
auth_usage_event == o.auth_usage_event &&
|
|
282
306
|
certificate_expiration_events == o.certificate_expiration_events &&
|
|
283
307
|
data_protection_section == o.data_protection_section &&
|
|
308
|
+
default_auth_method == o.default_auth_method &&
|
|
284
309
|
default_home_page == o.default_home_page &&
|
|
285
310
|
dynamic_secret_max_ttl == o.dynamic_secret_max_ttl &&
|
|
286
311
|
enable_request_for_access == o.enable_request_for_access &&
|
|
287
312
|
hide_personal_folder == o.hide_personal_folder &&
|
|
313
|
+
hide_secret_reveal_copy == o.hide_secret_reveal_copy &&
|
|
288
314
|
hide_static_password == o.hide_static_password &&
|
|
289
315
|
invalid_characters == o.invalid_characters &&
|
|
316
|
+
item_locking == o.item_locking &&
|
|
290
317
|
item_usage_event == o.item_usage_event &&
|
|
291
318
|
lock_default_key == o.lock_default_key &&
|
|
292
319
|
password_expiration_info == o.password_expiration_info &&
|
|
@@ -306,7 +333,7 @@ module Akeyless
|
|
|
306
333
|
# Calculates hash code according to all attributes.
|
|
307
334
|
# @return [Integer] Hash code
|
|
308
335
|
def hash
|
|
309
|
-
[account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
336
|
+
[account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_secret_reveal_copy, hide_static_password, invalid_characters, item_locking, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
310
337
|
end
|
|
311
338
|
|
|
312
339
|
# Builds the object from hash
|
|
@@ -17,12 +17,18 @@ module Akeyless
|
|
|
17
17
|
class ActiveDirectoryPayload
|
|
18
18
|
attr_accessor :active_directory_target_id
|
|
19
19
|
|
|
20
|
+
attr_accessor :ai_certificate_discovery
|
|
21
|
+
|
|
20
22
|
attr_accessor :auto_rotate
|
|
21
23
|
|
|
22
24
|
attr_accessor :auto_rotate_interval_in_days
|
|
23
25
|
|
|
24
26
|
attr_accessor :auto_rotate_rotation_hour
|
|
25
27
|
|
|
28
|
+
attr_accessor :certificates_expiration_events
|
|
29
|
+
|
|
30
|
+
attr_accessor :certificates_path_template
|
|
31
|
+
|
|
26
32
|
attr_accessor :computer_base_dn
|
|
27
33
|
|
|
28
34
|
attr_accessor :discover_iis_apps
|
|
@@ -66,9 +72,12 @@ module Akeyless
|
|
|
66
72
|
def self.attribute_map
|
|
67
73
|
{
|
|
68
74
|
:'active_directory_target_id' => :'active_directory_target_id',
|
|
75
|
+
:'ai_certificate_discovery' => :'ai_certificate_discovery',
|
|
69
76
|
:'auto_rotate' => :'auto_rotate',
|
|
70
77
|
:'auto_rotate_interval_in_days' => :'auto_rotate_interval_in_days',
|
|
71
78
|
:'auto_rotate_rotation_hour' => :'auto_rotate_rotation_hour',
|
|
79
|
+
:'certificates_expiration_events' => :'certificates_expiration_events',
|
|
80
|
+
:'certificates_path_template' => :'certificates_path_template',
|
|
72
81
|
:'computer_base_dn' => :'computer_base_dn',
|
|
73
82
|
:'discover_iis_apps' => :'discover_iis_apps',
|
|
74
83
|
:'discover_local_users' => :'discover_local_users',
|
|
@@ -100,9 +109,12 @@ module Akeyless
|
|
|
100
109
|
def self.openapi_types
|
|
101
110
|
{
|
|
102
111
|
:'active_directory_target_id' => :'Integer',
|
|
112
|
+
:'ai_certificate_discovery' => :'Boolean',
|
|
103
113
|
:'auto_rotate' => :'Boolean',
|
|
104
114
|
:'auto_rotate_interval_in_days' => :'Integer',
|
|
105
115
|
:'auto_rotate_rotation_hour' => :'Integer',
|
|
116
|
+
:'certificates_expiration_events' => :'Array<CertificateExpirationEvent>',
|
|
117
|
+
:'certificates_path_template' => :'String',
|
|
106
118
|
:'computer_base_dn' => :'String',
|
|
107
119
|
:'discover_iis_apps' => :'Boolean',
|
|
108
120
|
:'discover_local_users' => :'Boolean',
|
|
@@ -150,6 +162,10 @@ module Akeyless
|
|
|
150
162
|
self.active_directory_target_id = attributes[:'active_directory_target_id']
|
|
151
163
|
end
|
|
152
164
|
|
|
165
|
+
if attributes.key?(:'ai_certificate_discovery')
|
|
166
|
+
self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
|
|
167
|
+
end
|
|
168
|
+
|
|
153
169
|
if attributes.key?(:'auto_rotate')
|
|
154
170
|
self.auto_rotate = attributes[:'auto_rotate']
|
|
155
171
|
end
|
|
@@ -162,6 +178,16 @@ module Akeyless
|
|
|
162
178
|
self.auto_rotate_rotation_hour = attributes[:'auto_rotate_rotation_hour']
|
|
163
179
|
end
|
|
164
180
|
|
|
181
|
+
if attributes.key?(:'certificates_expiration_events')
|
|
182
|
+
if (value = attributes[:'certificates_expiration_events']).is_a?(Array)
|
|
183
|
+
self.certificates_expiration_events = value
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
if attributes.key?(:'certificates_path_template')
|
|
188
|
+
self.certificates_path_template = attributes[:'certificates_path_template']
|
|
189
|
+
end
|
|
190
|
+
|
|
165
191
|
if attributes.key?(:'computer_base_dn')
|
|
166
192
|
self.computer_base_dn = attributes[:'computer_base_dn']
|
|
167
193
|
end
|
|
@@ -266,9 +292,12 @@ module Akeyless
|
|
|
266
292
|
return true if self.equal?(o)
|
|
267
293
|
self.class == o.class &&
|
|
268
294
|
active_directory_target_id == o.active_directory_target_id &&
|
|
295
|
+
ai_certificate_discovery == o.ai_certificate_discovery &&
|
|
269
296
|
auto_rotate == o.auto_rotate &&
|
|
270
297
|
auto_rotate_interval_in_days == o.auto_rotate_interval_in_days &&
|
|
271
298
|
auto_rotate_rotation_hour == o.auto_rotate_rotation_hour &&
|
|
299
|
+
certificates_expiration_events == o.certificates_expiration_events &&
|
|
300
|
+
certificates_path_template == o.certificates_path_template &&
|
|
272
301
|
computer_base_dn == o.computer_base_dn &&
|
|
273
302
|
discover_iis_apps == o.discover_iis_apps &&
|
|
274
303
|
discover_local_users == o.discover_local_users &&
|
|
@@ -299,7 +328,7 @@ module Akeyless
|
|
|
299
328
|
# Calculates hash code according to all attributes.
|
|
300
329
|
# @return [Integer] Hash code
|
|
301
330
|
def hash
|
|
302
|
-
[active_directory_target_id, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
|
|
331
|
+
[active_directory_target_id, ai_certificate_discovery, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, certificates_expiration_events, certificates_path_template, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
|
|
303
332
|
end
|
|
304
333
|
|
|
305
334
|
# Builds the object from hash
|
data/lib/akeyless/models/auth.rb
CHANGED
|
@@ -33,6 +33,9 @@ module Akeyless
|
|
|
33
33
|
# Password (relevant only for access-type=password)
|
|
34
34
|
attr_accessor :admin_password
|
|
35
35
|
|
|
36
|
+
# Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
|
|
37
|
+
attr_accessor :azure_cloud
|
|
38
|
+
|
|
36
39
|
# Certificate challenge encoded in base64. (relevant only for access-type=cert)
|
|
37
40
|
attr_accessor :cert_challenge
|
|
38
41
|
|
|
@@ -115,6 +118,7 @@ module Akeyless
|
|
|
115
118
|
:'account_id' => :'account-id',
|
|
116
119
|
:'admin_email' => :'admin-email',
|
|
117
120
|
:'admin_password' => :'admin-password',
|
|
121
|
+
:'azure_cloud' => :'azure-cloud',
|
|
118
122
|
:'cert_challenge' => :'cert-challenge',
|
|
119
123
|
:'cert_data' => :'cert-data',
|
|
120
124
|
:'cloud_id' => :'cloud-id',
|
|
@@ -157,6 +161,7 @@ module Akeyless
|
|
|
157
161
|
:'account_id' => :'String',
|
|
158
162
|
:'admin_email' => :'String',
|
|
159
163
|
:'admin_password' => :'String',
|
|
164
|
+
:'azure_cloud' => :'String',
|
|
160
165
|
:'cert_challenge' => :'String',
|
|
161
166
|
:'cert_data' => :'String',
|
|
162
167
|
:'cloud_id' => :'String',
|
|
@@ -232,6 +237,12 @@ module Akeyless
|
|
|
232
237
|
self.admin_password = attributes[:'admin_password']
|
|
233
238
|
end
|
|
234
239
|
|
|
240
|
+
if attributes.key?(:'azure_cloud')
|
|
241
|
+
self.azure_cloud = attributes[:'azure_cloud']
|
|
242
|
+
else
|
|
243
|
+
self.azure_cloud = 'AzureCloud'
|
|
244
|
+
end
|
|
245
|
+
|
|
235
246
|
if attributes.key?(:'cert_challenge')
|
|
236
247
|
self.cert_challenge = attributes[:'cert_challenge']
|
|
237
248
|
end
|
|
@@ -367,6 +378,7 @@ module Akeyless
|
|
|
367
378
|
account_id == o.account_id &&
|
|
368
379
|
admin_email == o.admin_email &&
|
|
369
380
|
admin_password == o.admin_password &&
|
|
381
|
+
azure_cloud == o.azure_cloud &&
|
|
370
382
|
cert_challenge == o.cert_challenge &&
|
|
371
383
|
cert_data == o.cert_data &&
|
|
372
384
|
cloud_id == o.cloud_id &&
|
|
@@ -403,7 +415,7 @@ module Akeyless
|
|
|
403
415
|
# Calculates hash code according to all attributes.
|
|
404
416
|
# @return [Integer] Hash code
|
|
405
417
|
def hash
|
|
406
|
-
[access_id, access_key, access_type, account_id, admin_email, admin_password, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
|
|
418
|
+
[access_id, access_key, access_type, account_id, admin_email, admin_password, azure_cloud, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
|
|
407
419
|
end
|
|
408
420
|
|
|
409
421
|
# Builds the object from hash
|
|
@@ -79,6 +79,9 @@ module Akeyless
|
|
|
79
79
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
|
|
80
80
|
attr_accessor :product_type
|
|
81
81
|
|
|
82
|
+
# Require certificate CRL distribution points (CDP) and enforce CRL validation during authentication.
|
|
83
|
+
attr_accessor :require_crl_dp
|
|
84
|
+
|
|
82
85
|
# A list of revoked cert ids
|
|
83
86
|
attr_accessor :revoked_cert_ids
|
|
84
87
|
|
|
@@ -115,6 +118,7 @@ module Akeyless
|
|
|
115
118
|
:'jwt_ttl' => :'jwt-ttl',
|
|
116
119
|
:'name' => :'name',
|
|
117
120
|
:'product_type' => :'product-type',
|
|
121
|
+
:'require_crl_dp' => :'require-crl-dp',
|
|
118
122
|
:'revoked_cert_ids' => :'revoked-cert-ids',
|
|
119
123
|
:'token' => :'token',
|
|
120
124
|
:'uid_token' => :'uid-token',
|
|
@@ -151,6 +155,7 @@ module Akeyless
|
|
|
151
155
|
:'jwt_ttl' => :'Integer',
|
|
152
156
|
:'name' => :'String',
|
|
153
157
|
:'product_type' => :'Array<String>',
|
|
158
|
+
:'require_crl_dp' => :'Boolean',
|
|
154
159
|
:'revoked_cert_ids' => :'Array<String>',
|
|
155
160
|
:'token' => :'String',
|
|
156
161
|
:'uid_token' => :'String',
|
|
@@ -295,6 +300,10 @@ module Akeyless
|
|
|
295
300
|
end
|
|
296
301
|
end
|
|
297
302
|
|
|
303
|
+
if attributes.key?(:'require_crl_dp')
|
|
304
|
+
self.require_crl_dp = attributes[:'require_crl_dp']
|
|
305
|
+
end
|
|
306
|
+
|
|
298
307
|
if attributes.key?(:'revoked_cert_ids')
|
|
299
308
|
if (value = attributes[:'revoked_cert_ids']).is_a?(Array)
|
|
300
309
|
self.revoked_cert_ids = value
|
|
@@ -367,6 +376,7 @@ module Akeyless
|
|
|
367
376
|
jwt_ttl == o.jwt_ttl &&
|
|
368
377
|
name == o.name &&
|
|
369
378
|
product_type == o.product_type &&
|
|
379
|
+
require_crl_dp == o.require_crl_dp &&
|
|
370
380
|
revoked_cert_ids == o.revoked_cert_ids &&
|
|
371
381
|
token == o.token &&
|
|
372
382
|
uid_token == o.uid_token &&
|
|
@@ -382,7 +392,7 @@ module Akeyless
|
|
|
382
392
|
# Calculates hash code according to all attributes.
|
|
383
393
|
# @return [Integer] Hash code
|
|
384
394
|
def hash
|
|
385
|
-
[access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
395
|
+
[access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, require_crl_dp, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
386
396
|
end
|
|
387
397
|
|
|
388
398
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
29
29
|
attr_accessor :bound_ips
|
|
30
30
|
|
|
31
|
+
# Maximum child token ttl allowed in uid-create-child-token
|
|
32
|
+
attr_accessor :child_ttl_limit
|
|
33
|
+
|
|
31
34
|
# Protection from accidental deletion of this object [true/false]
|
|
32
35
|
attr_accessor :delete_protection
|
|
33
36
|
|
|
@@ -64,6 +67,9 @@ module Akeyless
|
|
|
64
67
|
# Authentication token (see `/auth` and `/configure`)
|
|
65
68
|
attr_accessor :token
|
|
66
69
|
|
|
70
|
+
# Maximum UID tree depth allowed (child of child of ...)
|
|
71
|
+
attr_accessor :tree_length
|
|
72
|
+
|
|
67
73
|
# Token ttl
|
|
68
74
|
attr_accessor :ttl
|
|
69
75
|
|
|
@@ -77,6 +83,7 @@ module Akeyless
|
|
|
77
83
|
:'allowed_client_type' => :'allowed-client-type',
|
|
78
84
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
79
85
|
:'bound_ips' => :'bound-ips',
|
|
86
|
+
:'child_ttl_limit' => :'child-ttl-limit',
|
|
80
87
|
:'delete_protection' => :'delete_protection',
|
|
81
88
|
:'deny_inheritance' => :'deny-inheritance',
|
|
82
89
|
:'deny_rotate' => :'deny-rotate',
|
|
@@ -89,6 +96,7 @@ module Akeyless
|
|
|
89
96
|
:'name' => :'name',
|
|
90
97
|
:'product_type' => :'product-type',
|
|
91
98
|
:'token' => :'token',
|
|
99
|
+
:'tree_length' => :'tree-length',
|
|
92
100
|
:'ttl' => :'ttl',
|
|
93
101
|
:'uid_token' => :'uid-token'
|
|
94
102
|
}
|
|
@@ -106,6 +114,7 @@ module Akeyless
|
|
|
106
114
|
:'allowed_client_type' => :'Array<String>',
|
|
107
115
|
:'audit_logs_claims' => :'Array<String>',
|
|
108
116
|
:'bound_ips' => :'Array<String>',
|
|
117
|
+
:'child_ttl_limit' => :'Integer',
|
|
109
118
|
:'delete_protection' => :'String',
|
|
110
119
|
:'deny_inheritance' => :'Boolean',
|
|
111
120
|
:'deny_rotate' => :'Boolean',
|
|
@@ -118,6 +127,7 @@ module Akeyless
|
|
|
118
127
|
:'name' => :'String',
|
|
119
128
|
:'product_type' => :'Array<String>',
|
|
120
129
|
:'token' => :'String',
|
|
130
|
+
:'tree_length' => :'Integer',
|
|
121
131
|
:'ttl' => :'Integer',
|
|
122
132
|
:'uid_token' => :'String'
|
|
123
133
|
}
|
|
@@ -168,6 +178,12 @@ module Akeyless
|
|
|
168
178
|
end
|
|
169
179
|
end
|
|
170
180
|
|
|
181
|
+
if attributes.key?(:'child_ttl_limit')
|
|
182
|
+
self.child_ttl_limit = attributes[:'child_ttl_limit']
|
|
183
|
+
else
|
|
184
|
+
self.child_ttl_limit = 43200
|
|
185
|
+
end
|
|
186
|
+
|
|
171
187
|
if attributes.key?(:'delete_protection')
|
|
172
188
|
self.delete_protection = attributes[:'delete_protection']
|
|
173
189
|
end
|
|
@@ -228,6 +244,12 @@ module Akeyless
|
|
|
228
244
|
self.token = attributes[:'token']
|
|
229
245
|
end
|
|
230
246
|
|
|
247
|
+
if attributes.key?(:'tree_length')
|
|
248
|
+
self.tree_length = attributes[:'tree_length']
|
|
249
|
+
else
|
|
250
|
+
self.tree_length = 200
|
|
251
|
+
end
|
|
252
|
+
|
|
231
253
|
if attributes.key?(:'ttl')
|
|
232
254
|
self.ttl = attributes[:'ttl']
|
|
233
255
|
else
|
|
@@ -268,6 +290,7 @@ module Akeyless
|
|
|
268
290
|
allowed_client_type == o.allowed_client_type &&
|
|
269
291
|
audit_logs_claims == o.audit_logs_claims &&
|
|
270
292
|
bound_ips == o.bound_ips &&
|
|
293
|
+
child_ttl_limit == o.child_ttl_limit &&
|
|
271
294
|
delete_protection == o.delete_protection &&
|
|
272
295
|
deny_inheritance == o.deny_inheritance &&
|
|
273
296
|
deny_rotate == o.deny_rotate &&
|
|
@@ -280,6 +303,7 @@ module Akeyless
|
|
|
280
303
|
name == o.name &&
|
|
281
304
|
product_type == o.product_type &&
|
|
282
305
|
token == o.token &&
|
|
306
|
+
tree_length == o.tree_length &&
|
|
283
307
|
ttl == o.ttl &&
|
|
284
308
|
uid_token == o.uid_token
|
|
285
309
|
end
|
|
@@ -293,7 +317,7 @@ module Akeyless
|
|
|
293
317
|
# Calculates hash code according to all attributes.
|
|
294
318
|
# @return [Integer] Hash code
|
|
295
319
|
def hash
|
|
296
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, ttl, uid_token].hash
|
|
320
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, child_ttl_limit, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, tree_length, ttl, uid_token].hash
|
|
297
321
|
end
|
|
298
322
|
|
|
299
323
|
# Builds the object from hash
|
|
@@ -82,6 +82,9 @@ module Akeyless
|
|
|
82
82
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca]
|
|
83
83
|
attr_accessor :product_type
|
|
84
84
|
|
|
85
|
+
# Require certificate CRL distribution points (CDP) and enforce CRL validation during authentication.
|
|
86
|
+
attr_accessor :require_crl_dp
|
|
87
|
+
|
|
85
88
|
# A list of revoked cert ids
|
|
86
89
|
attr_accessor :revoked_cert_ids
|
|
87
90
|
|
|
@@ -119,6 +122,7 @@ module Akeyless
|
|
|
119
122
|
:'name' => :'name',
|
|
120
123
|
:'new_name' => :'new-name',
|
|
121
124
|
:'product_type' => :'product-type',
|
|
125
|
+
:'require_crl_dp' => :'require-crl-dp',
|
|
122
126
|
:'revoked_cert_ids' => :'revoked-cert-ids',
|
|
123
127
|
:'token' => :'token',
|
|
124
128
|
:'uid_token' => :'uid-token',
|
|
@@ -156,6 +160,7 @@ module Akeyless
|
|
|
156
160
|
:'name' => :'String',
|
|
157
161
|
:'new_name' => :'String',
|
|
158
162
|
:'product_type' => :'Array<String>',
|
|
163
|
+
:'require_crl_dp' => :'Boolean',
|
|
159
164
|
:'revoked_cert_ids' => :'Array<String>',
|
|
160
165
|
:'token' => :'String',
|
|
161
166
|
:'uid_token' => :'String',
|
|
@@ -304,6 +309,10 @@ module Akeyless
|
|
|
304
309
|
end
|
|
305
310
|
end
|
|
306
311
|
|
|
312
|
+
if attributes.key?(:'require_crl_dp')
|
|
313
|
+
self.require_crl_dp = attributes[:'require_crl_dp']
|
|
314
|
+
end
|
|
315
|
+
|
|
307
316
|
if attributes.key?(:'revoked_cert_ids')
|
|
308
317
|
if (value = attributes[:'revoked_cert_ids']).is_a?(Array)
|
|
309
318
|
self.revoked_cert_ids = value
|
|
@@ -377,6 +386,7 @@ module Akeyless
|
|
|
377
386
|
name == o.name &&
|
|
378
387
|
new_name == o.new_name &&
|
|
379
388
|
product_type == o.product_type &&
|
|
389
|
+
require_crl_dp == o.require_crl_dp &&
|
|
380
390
|
revoked_cert_ids == o.revoked_cert_ids &&
|
|
381
391
|
token == o.token &&
|
|
382
392
|
uid_token == o.uid_token &&
|
|
@@ -392,7 +402,7 @@ module Akeyless
|
|
|
392
402
|
# Calculates hash code according to all attributes.
|
|
393
403
|
# @return [Integer] Hash code
|
|
394
404
|
def hash
|
|
395
|
-
[access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
405
|
+
[access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, require_crl_dp, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
396
406
|
end
|
|
397
407
|
|
|
398
408
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
29
29
|
attr_accessor :bound_ips
|
|
30
30
|
|
|
31
|
+
# Maximum child token ttl allowed in uid-create-child-token
|
|
32
|
+
attr_accessor :child_ttl_limit
|
|
33
|
+
|
|
31
34
|
# Protection from accidental deletion of this object [true/false]
|
|
32
35
|
attr_accessor :delete_protection
|
|
33
36
|
|
|
@@ -67,6 +70,9 @@ module Akeyless
|
|
|
67
70
|
# Authentication token (see `/auth` and `/configure`)
|
|
68
71
|
attr_accessor :token
|
|
69
72
|
|
|
73
|
+
# Maximum UID tree depth allowed (child of child of ...)
|
|
74
|
+
attr_accessor :tree_length
|
|
75
|
+
|
|
70
76
|
# Token ttl
|
|
71
77
|
attr_accessor :ttl
|
|
72
78
|
|
|
@@ -80,6 +86,7 @@ module Akeyless
|
|
|
80
86
|
:'allowed_client_type' => :'allowed-client-type',
|
|
81
87
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
82
88
|
:'bound_ips' => :'bound-ips',
|
|
89
|
+
:'child_ttl_limit' => :'child-ttl-limit',
|
|
83
90
|
:'delete_protection' => :'delete_protection',
|
|
84
91
|
:'deny_inheritance' => :'deny-inheritance',
|
|
85
92
|
:'deny_rotate' => :'deny-rotate',
|
|
@@ -93,6 +100,7 @@ module Akeyless
|
|
|
93
100
|
:'new_name' => :'new-name',
|
|
94
101
|
:'product_type' => :'product-type',
|
|
95
102
|
:'token' => :'token',
|
|
103
|
+
:'tree_length' => :'tree-length',
|
|
96
104
|
:'ttl' => :'ttl',
|
|
97
105
|
:'uid_token' => :'uid-token'
|
|
98
106
|
}
|
|
@@ -110,6 +118,7 @@ module Akeyless
|
|
|
110
118
|
:'allowed_client_type' => :'Array<String>',
|
|
111
119
|
:'audit_logs_claims' => :'Array<String>',
|
|
112
120
|
:'bound_ips' => :'Array<String>',
|
|
121
|
+
:'child_ttl_limit' => :'Integer',
|
|
113
122
|
:'delete_protection' => :'String',
|
|
114
123
|
:'deny_inheritance' => :'Boolean',
|
|
115
124
|
:'deny_rotate' => :'Boolean',
|
|
@@ -123,6 +132,7 @@ module Akeyless
|
|
|
123
132
|
:'new_name' => :'String',
|
|
124
133
|
:'product_type' => :'Array<String>',
|
|
125
134
|
:'token' => :'String',
|
|
135
|
+
:'tree_length' => :'Integer',
|
|
126
136
|
:'ttl' => :'Integer',
|
|
127
137
|
:'uid_token' => :'String'
|
|
128
138
|
}
|
|
@@ -173,6 +183,12 @@ module Akeyless
|
|
|
173
183
|
end
|
|
174
184
|
end
|
|
175
185
|
|
|
186
|
+
if attributes.key?(:'child_ttl_limit')
|
|
187
|
+
self.child_ttl_limit = attributes[:'child_ttl_limit']
|
|
188
|
+
else
|
|
189
|
+
self.child_ttl_limit = 43200
|
|
190
|
+
end
|
|
191
|
+
|
|
176
192
|
if attributes.key?(:'delete_protection')
|
|
177
193
|
self.delete_protection = attributes[:'delete_protection']
|
|
178
194
|
end
|
|
@@ -237,6 +253,12 @@ module Akeyless
|
|
|
237
253
|
self.token = attributes[:'token']
|
|
238
254
|
end
|
|
239
255
|
|
|
256
|
+
if attributes.key?(:'tree_length')
|
|
257
|
+
self.tree_length = attributes[:'tree_length']
|
|
258
|
+
else
|
|
259
|
+
self.tree_length = 200
|
|
260
|
+
end
|
|
261
|
+
|
|
240
262
|
if attributes.key?(:'ttl')
|
|
241
263
|
self.ttl = attributes[:'ttl']
|
|
242
264
|
else
|
|
@@ -277,6 +299,7 @@ module Akeyless
|
|
|
277
299
|
allowed_client_type == o.allowed_client_type &&
|
|
278
300
|
audit_logs_claims == o.audit_logs_claims &&
|
|
279
301
|
bound_ips == o.bound_ips &&
|
|
302
|
+
child_ttl_limit == o.child_ttl_limit &&
|
|
280
303
|
delete_protection == o.delete_protection &&
|
|
281
304
|
deny_inheritance == o.deny_inheritance &&
|
|
282
305
|
deny_rotate == o.deny_rotate &&
|
|
@@ -290,6 +313,7 @@ module Akeyless
|
|
|
290
313
|
new_name == o.new_name &&
|
|
291
314
|
product_type == o.product_type &&
|
|
292
315
|
token == o.token &&
|
|
316
|
+
tree_length == o.tree_length &&
|
|
293
317
|
ttl == o.ttl &&
|
|
294
318
|
uid_token == o.uid_token
|
|
295
319
|
end
|
|
@@ -303,7 +327,7 @@ module Akeyless
|
|
|
303
327
|
# Calculates hash code according to all attributes.
|
|
304
328
|
# @return [Integer] Hash code
|
|
305
329
|
def hash
|
|
306
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
|
|
330
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, child_ttl_limit, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, tree_length, ttl, uid_token].hash
|
|
307
331
|
end
|
|
308
332
|
|
|
309
333
|
# Builds the object from hash
|
|
@@ -24,6 +24,8 @@ module Akeyless
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :bucket
|
|
26
26
|
|
|
27
|
+
attr_accessor :endpoint_url
|
|
28
|
+
|
|
27
29
|
attr_accessor :prefix
|
|
28
30
|
|
|
29
31
|
attr_accessor :region
|
|
@@ -35,6 +37,7 @@ module Akeyless
|
|
|
35
37
|
:'access_key_secret' => :'access_key_secret',
|
|
36
38
|
:'auth_type' => :'auth_type',
|
|
37
39
|
:'bucket' => :'bucket',
|
|
40
|
+
:'endpoint_url' => :'endpoint_url',
|
|
38
41
|
:'prefix' => :'prefix',
|
|
39
42
|
:'region' => :'region'
|
|
40
43
|
}
|
|
@@ -52,6 +55,7 @@ module Akeyless
|
|
|
52
55
|
:'access_key_secret' => :'String',
|
|
53
56
|
:'auth_type' => :'String',
|
|
54
57
|
:'bucket' => :'String',
|
|
58
|
+
:'endpoint_url' => :'String',
|
|
55
59
|
:'prefix' => :'String',
|
|
56
60
|
:'region' => :'String'
|
|
57
61
|
}
|
|
@@ -94,6 +98,10 @@ module Akeyless
|
|
|
94
98
|
self.bucket = attributes[:'bucket']
|
|
95
99
|
end
|
|
96
100
|
|
|
101
|
+
if attributes.key?(:'endpoint_url')
|
|
102
|
+
self.endpoint_url = attributes[:'endpoint_url']
|
|
103
|
+
end
|
|
104
|
+
|
|
97
105
|
if attributes.key?(:'prefix')
|
|
98
106
|
self.prefix = attributes[:'prefix']
|
|
99
107
|
end
|
|
@@ -127,6 +135,7 @@ module Akeyless
|
|
|
127
135
|
access_key_secret == o.access_key_secret &&
|
|
128
136
|
auth_type == o.auth_type &&
|
|
129
137
|
bucket == o.bucket &&
|
|
138
|
+
endpoint_url == o.endpoint_url &&
|
|
130
139
|
prefix == o.prefix &&
|
|
131
140
|
region == o.region
|
|
132
141
|
end
|
|
@@ -140,7 +149,7 @@ module Akeyless
|
|
|
140
149
|
# Calculates hash code according to all attributes.
|
|
141
150
|
# @return [Integer] Hash code
|
|
142
151
|
def hash
|
|
143
|
-
[access_key_id, access_key_secret, auth_type, bucket, prefix, region].hash
|
|
152
|
+
[access_key_id, access_key_secret, auth_type, bucket, endpoint_url, prefix, region].hash
|
|
144
153
|
end
|
|
145
154
|
|
|
146
155
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# The audience in the JWT.
|
|
20
20
|
attr_accessor :ad_endpoint
|
|
21
21
|
|
|
22
|
+
# Azure cloud environment [AzureCloud/AzureUSGovernment/AzureChinaCloud]. For create/update, cloud is inferred from jwks_uri.
|
|
23
|
+
attr_accessor :azure_cloud
|
|
24
|
+
|
|
22
25
|
# The list of group ids that login is restricted to.
|
|
23
26
|
attr_accessor :bound_group_ids
|
|
24
27
|
|
|
@@ -59,6 +62,7 @@ module Akeyless
|
|
|
59
62
|
def self.attribute_map
|
|
60
63
|
{
|
|
61
64
|
:'ad_endpoint' => :'ad_endpoint',
|
|
65
|
+
:'azure_cloud' => :'azure_cloud',
|
|
62
66
|
:'bound_group_ids' => :'bound_group_ids',
|
|
63
67
|
:'bound_resource_groups' => :'bound_resource_groups',
|
|
64
68
|
:'bound_resource_ids' => :'bound_resource_ids',
|
|
@@ -83,6 +87,7 @@ module Akeyless
|
|
|
83
87
|
def self.openapi_types
|
|
84
88
|
{
|
|
85
89
|
:'ad_endpoint' => :'String',
|
|
90
|
+
:'azure_cloud' => :'String',
|
|
86
91
|
:'bound_group_ids' => :'Array<String>',
|
|
87
92
|
:'bound_resource_groups' => :'Array<String>',
|
|
88
93
|
:'bound_resource_ids' => :'Array<String>',
|
|
@@ -123,6 +128,10 @@ module Akeyless
|
|
|
123
128
|
self.ad_endpoint = attributes[:'ad_endpoint']
|
|
124
129
|
end
|
|
125
130
|
|
|
131
|
+
if attributes.key?(:'azure_cloud')
|
|
132
|
+
self.azure_cloud = attributes[:'azure_cloud']
|
|
133
|
+
end
|
|
134
|
+
|
|
126
135
|
if attributes.key?(:'bound_group_ids')
|
|
127
136
|
if (value = attributes[:'bound_group_ids']).is_a?(Array)
|
|
128
137
|
self.bound_group_ids = value
|
|
@@ -209,6 +218,7 @@ module Akeyless
|
|
|
209
218
|
return true if self.equal?(o)
|
|
210
219
|
self.class == o.class &&
|
|
211
220
|
ad_endpoint == o.ad_endpoint &&
|
|
221
|
+
azure_cloud == o.azure_cloud &&
|
|
212
222
|
bound_group_ids == o.bound_group_ids &&
|
|
213
223
|
bound_resource_groups == o.bound_resource_groups &&
|
|
214
224
|
bound_resource_ids == o.bound_resource_ids &&
|
|
@@ -232,7 +242,7 @@ module Akeyless
|
|
|
232
242
|
# Calculates hash code according to all attributes.
|
|
233
243
|
# @return [Integer] Hash code
|
|
234
244
|
def hash
|
|
235
|
-
[ad_endpoint, bound_group_ids, bound_resource_groups, bound_resource_ids, bound_resource_names, bound_resource_providers, bound_resource_types, bound_service_principal_ids, bound_subscription_ids, bound_tenant_id, issuer, jwks_uri, unique_identifier].hash
|
|
245
|
+
[ad_endpoint, azure_cloud, bound_group_ids, bound_resource_groups, bound_resource_ids, bound_resource_names, bound_resource_providers, bound_resource_types, bound_service_principal_ids, bound_subscription_ids, bound_tenant_id, issuer, jwks_uri, unique_identifier].hash
|
|
236
246
|
end
|
|
237
247
|
|
|
238
248
|
# Builds the object from hash
|