akeyless 5.0.22 → 5.0.24
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 +33 -5
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +6 -2
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +5 -1
- data/docs/GatewayCreateMigration.md +4 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/GatewayUpdateMigration.md +4 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/ListItems.md +2 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.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/RuntimeAuthorityCommand.md +28 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +52 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +52 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +3 -1
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +5 -1
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +56 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +3 -1
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- 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/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateItem.md +8 -2
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +5 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +572 -6
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +580 -4
- data/lib/akeyless/models/account_general_settings.rb +19 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -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/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_role.rb +11 -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 +25 -5
- 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 +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +21 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/gateway_update_migration.rb +21 -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/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- 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/list_items.rb +13 -1
- 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 +10 -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/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sync_counters.rb +233 -0
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +408 -0
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +21 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +428 -0
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- 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_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_item.rb +35 -7
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/update_target.rb +11 -1
- 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.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +19 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -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/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -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
- metadata +1226 -1147
|
@@ -84,6 +84,9 @@ module Akeyless
|
|
|
84
84
|
# Characters that cannot be used for items/targets/roles/auths/event_forwarder names. Empty string will enforce nothing.
|
|
85
85
|
attr_accessor :invalid_characters
|
|
86
86
|
|
|
87
|
+
# Enable item locking feature [true/false]
|
|
88
|
+
attr_accessor :item_locking_enabled
|
|
89
|
+
|
|
87
90
|
# VersionSettingsObjectType defines object types for account version settings
|
|
88
91
|
attr_accessor :item_type
|
|
89
92
|
|
|
@@ -114,6 +117,9 @@ module Akeyless
|
|
|
114
117
|
# Lock gw-bound-ips setting in the account.
|
|
115
118
|
attr_accessor :lock_gw_bound_ips
|
|
116
119
|
|
|
120
|
+
# Set the maximum TTL for item/target locks in minutes
|
|
121
|
+
attr_accessor :lock_max_ttl
|
|
122
|
+
|
|
117
123
|
# Set the maximum rotation interval for rotated secrets auto rotation settings
|
|
118
124
|
attr_accessor :max_rotation_interval
|
|
119
125
|
|
|
@@ -191,6 +197,7 @@ module Akeyless
|
|
|
191
197
|
:'hide_personal_folder' => :'hide-personal-folder',
|
|
192
198
|
:'hide_static_password' => :'hide-static-password',
|
|
193
199
|
:'invalid_characters' => :'invalid-characters',
|
|
200
|
+
:'item_locking_enabled' => :'item-locking-enabled',
|
|
194
201
|
:'item_type' => :'item-type',
|
|
195
202
|
:'items_deletion_protection' => :'items-deletion-protection',
|
|
196
203
|
:'json' => :'json',
|
|
@@ -201,6 +208,7 @@ module Akeyless
|
|
|
201
208
|
:'lock_bound_ips' => :'lock-bound-ips',
|
|
202
209
|
:'lock_default_key' => :'lock-default-key',
|
|
203
210
|
:'lock_gw_bound_ips' => :'lock-gw-bound-ips',
|
|
211
|
+
:'lock_max_ttl' => :'lock-max-ttl',
|
|
204
212
|
:'max_rotation_interval' => :'max-rotation-interval',
|
|
205
213
|
:'max_rotation_interval_enable' => :'max-rotation-interval-enable',
|
|
206
214
|
:'max_versions' => :'max-versions',
|
|
@@ -252,6 +260,7 @@ module Akeyless
|
|
|
252
260
|
:'hide_personal_folder' => :'String',
|
|
253
261
|
:'hide_static_password' => :'String',
|
|
254
262
|
:'invalid_characters' => :'String',
|
|
263
|
+
:'item_locking_enabled' => :'String',
|
|
255
264
|
:'item_type' => :'String',
|
|
256
265
|
:'items_deletion_protection' => :'String',
|
|
257
266
|
:'json' => :'Boolean',
|
|
@@ -262,6 +271,7 @@ module Akeyless
|
|
|
262
271
|
:'lock_bound_ips' => :'String',
|
|
263
272
|
:'lock_default_key' => :'String',
|
|
264
273
|
:'lock_gw_bound_ips' => :'String',
|
|
274
|
+
:'lock_max_ttl' => :'Integer',
|
|
265
275
|
:'max_rotation_interval' => :'Integer',
|
|
266
276
|
:'max_rotation_interval_enable' => :'String',
|
|
267
277
|
:'max_versions' => :'String',
|
|
@@ -407,6 +417,10 @@ module Akeyless
|
|
|
407
417
|
self.invalid_characters = 'notReceivedInvalidCharacter'
|
|
408
418
|
end
|
|
409
419
|
|
|
420
|
+
if attributes.key?(:'item_locking_enabled')
|
|
421
|
+
self.item_locking_enabled = attributes[:'item_locking_enabled']
|
|
422
|
+
end
|
|
423
|
+
|
|
410
424
|
if attributes.key?(:'item_type')
|
|
411
425
|
self.item_type = attributes[:'item_type']
|
|
412
426
|
end
|
|
@@ -449,6 +463,10 @@ module Akeyless
|
|
|
449
463
|
self.lock_gw_bound_ips = attributes[:'lock_gw_bound_ips']
|
|
450
464
|
end
|
|
451
465
|
|
|
466
|
+
if attributes.key?(:'lock_max_ttl')
|
|
467
|
+
self.lock_max_ttl = attributes[:'lock_max_ttl']
|
|
468
|
+
end
|
|
469
|
+
|
|
452
470
|
if attributes.key?(:'max_rotation_interval')
|
|
453
471
|
self.max_rotation_interval = attributes[:'max_rotation_interval']
|
|
454
472
|
end
|
|
@@ -561,6 +579,7 @@ module Akeyless
|
|
|
561
579
|
hide_personal_folder == o.hide_personal_folder &&
|
|
562
580
|
hide_static_password == o.hide_static_password &&
|
|
563
581
|
invalid_characters == o.invalid_characters &&
|
|
582
|
+
item_locking_enabled == o.item_locking_enabled &&
|
|
564
583
|
item_type == o.item_type &&
|
|
565
584
|
items_deletion_protection == o.items_deletion_protection &&
|
|
566
585
|
json == o.json &&
|
|
@@ -571,6 +590,7 @@ module Akeyless
|
|
|
571
590
|
lock_bound_ips == o.lock_bound_ips &&
|
|
572
591
|
lock_default_key == o.lock_default_key &&
|
|
573
592
|
lock_gw_bound_ips == o.lock_gw_bound_ips &&
|
|
593
|
+
lock_max_ttl == o.lock_max_ttl &&
|
|
574
594
|
max_rotation_interval == o.max_rotation_interval &&
|
|
575
595
|
max_rotation_interval_enable == o.max_rotation_interval_enable &&
|
|
576
596
|
max_versions == o.max_versions &&
|
|
@@ -599,7 +619,7 @@ module Akeyless
|
|
|
599
619
|
# Calculates hash code according to all attributes.
|
|
600
620
|
# @return [Integer] Hash code
|
|
601
621
|
def hash
|
|
602
|
-
[address, allowed_client_type, allowed_email_domains, bound_ips, city, company_name, country, default_certificate_expiration_notification_days, default_key_name, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, dynamic_secret_max_ttl, dynamic_secret_max_ttl_enable, enable_ai_insights, enable_default_certificate_expiration_event, enable_item_sharing, enable_password_expiration, force_new_versions, gw_bound_ips, hide_personal_folder, hide_static_password, invalid_characters, item_type, items_deletion_protection, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, lock_allowed_client_type, lock_bound_ips, lock_default_key, lock_gw_bound_ips, max_rotation_interval, max_rotation_interval_enable, max_versions, password_expiration_days, password_expiration_notification_days, password_length, phone, postal_code, token, uid_token, usage_event_enable, usage_event_interval, usage_event_object_type, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
|
|
622
|
+
[address, allowed_client_type, allowed_email_domains, bound_ips, city, company_name, country, default_certificate_expiration_notification_days, default_key_name, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, dynamic_secret_max_ttl, dynamic_secret_max_ttl_enable, enable_ai_insights, enable_default_certificate_expiration_event, enable_item_sharing, enable_password_expiration, force_new_versions, gw_bound_ips, hide_personal_folder, hide_static_password, invalid_characters, item_locking_enabled, item_type, items_deletion_protection, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, lock_allowed_client_type, lock_bound_ips, lock_default_key, lock_gw_bound_ips, lock_max_ttl, max_rotation_interval, max_rotation_interval_enable, max_versions, password_expiration_days, password_expiration_notification_days, password_length, phone, postal_code, token, uid_token, usage_event_enable, usage_event_interval, usage_event_object_type, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
|
|
603
623
|
end
|
|
604
624
|
|
|
605
625
|
# 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
|
|
@@ -52,6 +52,9 @@ module Akeyless
|
|
|
52
52
|
# Set output format to JSON
|
|
53
53
|
attr_accessor :json
|
|
54
54
|
|
|
55
|
+
# Lock this secret for read/update while an SRA session is active
|
|
56
|
+
attr_accessor :lock_during_sra_session
|
|
57
|
+
|
|
55
58
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
56
59
|
attr_accessor :max_versions
|
|
57
60
|
|
|
@@ -67,7 +70,7 @@ module Akeyless
|
|
|
67
70
|
# List of the existent tags that will be removed from this item
|
|
68
71
|
attr_accessor :rm_tag
|
|
69
72
|
|
|
70
|
-
#
|
|
73
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
71
74
|
attr_accessor :rotate_after_disconnect
|
|
72
75
|
|
|
73
76
|
# List of the new hosts that will be attached to SRA servers host
|
|
@@ -165,6 +168,12 @@ module Akeyless
|
|
|
165
168
|
# The universal identity token, Required only for universal_identity authentication
|
|
166
169
|
attr_accessor :uid_token
|
|
167
170
|
|
|
171
|
+
# Comma-separated list of tags to apply to all secrets created/synced on the remote USC USC items only.
|
|
172
|
+
attr_accessor :usc_tags
|
|
173
|
+
|
|
174
|
+
# Whether to filter the USC secret list using the specified usc-tags [true/false] USC items only.
|
|
175
|
+
attr_accessor :use_tags_as_filter
|
|
176
|
+
|
|
168
177
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
169
178
|
def self.attribute_map
|
|
170
179
|
{
|
|
@@ -181,6 +190,7 @@ module Akeyless
|
|
|
181
190
|
:'host_provider' => :'host-provider',
|
|
182
191
|
:'item_custom_fields' => :'item-custom-fields',
|
|
183
192
|
:'json' => :'json',
|
|
193
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
184
194
|
:'max_versions' => :'max-versions',
|
|
185
195
|
:'name' => :'name',
|
|
186
196
|
:'new_metadata' => :'new-metadata',
|
|
@@ -218,7 +228,9 @@ module Akeyless
|
|
|
218
228
|
:'secure_access_web_browsing' => :'secure-access-web-browsing',
|
|
219
229
|
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
|
220
230
|
:'token' => :'token',
|
|
221
|
-
:'uid_token' => :'uid-token'
|
|
231
|
+
:'uid_token' => :'uid-token',
|
|
232
|
+
:'usc_tags' => :'usc-tags',
|
|
233
|
+
:'use_tags_as_filter' => :'use-tags-as-filter'
|
|
222
234
|
}
|
|
223
235
|
end
|
|
224
236
|
|
|
@@ -243,6 +255,7 @@ module Akeyless
|
|
|
243
255
|
:'host_provider' => :'String',
|
|
244
256
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
245
257
|
:'json' => :'Boolean',
|
|
258
|
+
:'lock_during_sra_session' => :'String',
|
|
246
259
|
:'max_versions' => :'String',
|
|
247
260
|
:'name' => :'String',
|
|
248
261
|
:'new_metadata' => :'String',
|
|
@@ -280,7 +293,9 @@ module Akeyless
|
|
|
280
293
|
:'secure_access_web_browsing' => :'Boolean',
|
|
281
294
|
:'secure_access_web_proxy' => :'Boolean',
|
|
282
295
|
:'token' => :'String',
|
|
283
|
-
:'uid_token' => :'String'
|
|
296
|
+
:'uid_token' => :'String',
|
|
297
|
+
:'usc_tags' => :'String',
|
|
298
|
+
:'use_tags_as_filter' => :'String'
|
|
284
299
|
}
|
|
285
300
|
end
|
|
286
301
|
|
|
@@ -369,6 +384,10 @@ module Akeyless
|
|
|
369
384
|
self.json = false
|
|
370
385
|
end
|
|
371
386
|
|
|
387
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
388
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
389
|
+
end
|
|
390
|
+
|
|
372
391
|
if attributes.key?(:'max_versions')
|
|
373
392
|
self.max_versions = attributes[:'max_versions']
|
|
374
393
|
end
|
|
@@ -397,8 +416,6 @@ module Akeyless
|
|
|
397
416
|
|
|
398
417
|
if attributes.key?(:'rotate_after_disconnect')
|
|
399
418
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
400
|
-
else
|
|
401
|
-
self.rotate_after_disconnect = 'false'
|
|
402
419
|
end
|
|
403
420
|
|
|
404
421
|
if attributes.key?(:'secure_access_add_host')
|
|
@@ -538,6 +555,14 @@ module Akeyless
|
|
|
538
555
|
if attributes.key?(:'uid_token')
|
|
539
556
|
self.uid_token = attributes[:'uid_token']
|
|
540
557
|
end
|
|
558
|
+
|
|
559
|
+
if attributes.key?(:'usc_tags')
|
|
560
|
+
self.usc_tags = attributes[:'usc_tags']
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
if attributes.key?(:'use_tags_as_filter')
|
|
564
|
+
self.use_tags_as_filter = attributes[:'use_tags_as_filter']
|
|
565
|
+
end
|
|
541
566
|
end
|
|
542
567
|
|
|
543
568
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -578,6 +603,7 @@ module Akeyless
|
|
|
578
603
|
host_provider == o.host_provider &&
|
|
579
604
|
item_custom_fields == o.item_custom_fields &&
|
|
580
605
|
json == o.json &&
|
|
606
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
581
607
|
max_versions == o.max_versions &&
|
|
582
608
|
name == o.name &&
|
|
583
609
|
new_metadata == o.new_metadata &&
|
|
@@ -615,7 +641,9 @@ module Akeyless
|
|
|
615
641
|
secure_access_web_browsing == o.secure_access_web_browsing &&
|
|
616
642
|
secure_access_web_proxy == o.secure_access_web_proxy &&
|
|
617
643
|
token == o.token &&
|
|
618
|
-
uid_token == o.uid_token
|
|
644
|
+
uid_token == o.uid_token &&
|
|
645
|
+
usc_tags == o.usc_tags &&
|
|
646
|
+
use_tags_as_filter == o.use_tags_as_filter
|
|
619
647
|
end
|
|
620
648
|
|
|
621
649
|
# @see the `==` method
|
|
@@ -627,7 +655,7 @@ module Akeyless
|
|
|
627
655
|
# Calculates hash code according to all attributes.
|
|
628
656
|
# @return [Integer] Hash code
|
|
629
657
|
def hash
|
|
630
|
-
[provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
658
|
+
[provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token, usc_tags, use_tags_as_filter].hash
|
|
631
659
|
end
|
|
632
660
|
|
|
633
661
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
|
|
19
19
|
attr_accessor :analytics_access
|
|
20
20
|
|
|
21
|
+
# Allow this role to view Agentic Runtime Authority Dashboard. Currently only 'none', 'scoped', 'all' values are supported.
|
|
22
|
+
attr_accessor :ara_reports_access
|
|
23
|
+
|
|
21
24
|
# Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
|
|
22
25
|
attr_accessor :audit_access
|
|
23
26
|
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
def self.attribute_map
|
|
68
71
|
{
|
|
69
72
|
:'analytics_access' => :'analytics-access',
|
|
73
|
+
:'ara_reports_access' => :'ara-reports-access',
|
|
70
74
|
:'audit_access' => :'audit-access',
|
|
71
75
|
:'delete_protection' => :'delete_protection',
|
|
72
76
|
:'description' => :'description',
|
|
@@ -94,6 +98,7 @@ module Akeyless
|
|
|
94
98
|
def self.openapi_types
|
|
95
99
|
{
|
|
96
100
|
:'analytics_access' => :'String',
|
|
101
|
+
:'ara_reports_access' => :'String',
|
|
97
102
|
:'audit_access' => :'String',
|
|
98
103
|
:'delete_protection' => :'String',
|
|
99
104
|
:'description' => :'String',
|
|
@@ -137,6 +142,10 @@ module Akeyless
|
|
|
137
142
|
self.analytics_access = attributes[:'analytics_access']
|
|
138
143
|
end
|
|
139
144
|
|
|
145
|
+
if attributes.key?(:'ara_reports_access')
|
|
146
|
+
self.ara_reports_access = attributes[:'ara_reports_access']
|
|
147
|
+
end
|
|
148
|
+
|
|
140
149
|
if attributes.key?(:'audit_access')
|
|
141
150
|
self.audit_access = attributes[:'audit_access']
|
|
142
151
|
end
|
|
@@ -232,6 +241,7 @@ module Akeyless
|
|
|
232
241
|
return true if self.equal?(o)
|
|
233
242
|
self.class == o.class &&
|
|
234
243
|
analytics_access == o.analytics_access &&
|
|
244
|
+
ara_reports_access == o.ara_reports_access &&
|
|
235
245
|
audit_access == o.audit_access &&
|
|
236
246
|
delete_protection == o.delete_protection &&
|
|
237
247
|
description == o.description &&
|
|
@@ -258,7 +268,7 @@ module Akeyless
|
|
|
258
268
|
# Calculates hash code according to all attributes.
|
|
259
269
|
# @return [Integer] Hash code
|
|
260
270
|
def hash
|
|
261
|
-
[analytics_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
271
|
+
[analytics_access, ara_reports_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
262
272
|
end
|
|
263
273
|
|
|
264
274
|
# Builds the object from hash
|
|
@@ -57,6 +57,9 @@ module Akeyless
|
|
|
57
57
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
58
58
|
attr_accessor :key
|
|
59
59
|
|
|
60
|
+
# Lock this secret for read/update while an SRA session is active
|
|
61
|
+
attr_accessor :lock_during_sra_session
|
|
62
|
+
|
|
60
63
|
# Secret name
|
|
61
64
|
attr_accessor :name
|
|
62
65
|
|
|
@@ -72,7 +75,7 @@ module Akeyless
|
|
|
72
75
|
# List of the existent tags that will be removed from this item
|
|
73
76
|
attr_accessor :rm_tag
|
|
74
77
|
|
|
75
|
-
#
|
|
78
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
76
79
|
attr_accessor :rotate_after_disconnect
|
|
77
80
|
|
|
78
81
|
# rotated-username password
|
|
@@ -182,6 +185,7 @@ module Akeyless
|
|
|
182
185
|
:'json' => :'json',
|
|
183
186
|
:'keep_prev_version' => :'keep-prev-version',
|
|
184
187
|
:'key' => :'key',
|
|
188
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
185
189
|
:'name' => :'name',
|
|
186
190
|
:'new_metadata' => :'new-metadata',
|
|
187
191
|
:'new_name' => :'new-name',
|
|
@@ -243,6 +247,7 @@ module Akeyless
|
|
|
243
247
|
:'json' => :'Boolean',
|
|
244
248
|
:'keep_prev_version' => :'String',
|
|
245
249
|
:'key' => :'String',
|
|
250
|
+
:'lock_during_sra_session' => :'String',
|
|
246
251
|
:'name' => :'String',
|
|
247
252
|
:'new_metadata' => :'String',
|
|
248
253
|
:'new_name' => :'String',
|
|
@@ -367,6 +372,10 @@ module Akeyless
|
|
|
367
372
|
self.key = attributes[:'key']
|
|
368
373
|
end
|
|
369
374
|
|
|
375
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
376
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
377
|
+
end
|
|
378
|
+
|
|
370
379
|
if attributes.key?(:'name')
|
|
371
380
|
self.name = attributes[:'name']
|
|
372
381
|
else
|
|
@@ -395,8 +404,6 @@ module Akeyless
|
|
|
395
404
|
|
|
396
405
|
if attributes.key?(:'rotate_after_disconnect')
|
|
397
406
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
398
|
-
else
|
|
399
|
-
self.rotate_after_disconnect = 'false'
|
|
400
407
|
end
|
|
401
408
|
|
|
402
409
|
if attributes.key?(:'rotated_password')
|
|
@@ -573,6 +580,7 @@ module Akeyless
|
|
|
573
580
|
json == o.json &&
|
|
574
581
|
keep_prev_version == o.keep_prev_version &&
|
|
575
582
|
key == o.key &&
|
|
583
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
576
584
|
name == o.name &&
|
|
577
585
|
new_metadata == o.new_metadata &&
|
|
578
586
|
new_name == o.new_name &&
|
|
@@ -620,7 +628,7 @@ module Akeyless
|
|
|
620
628
|
# Calculates hash code according to all attributes.
|
|
621
629
|
# @return [Integer] Hash code
|
|
622
630
|
def hash
|
|
623
|
-
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token, user_attribute, user_dn].hash
|
|
631
|
+
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, lock_during_sra_session, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token, user_attribute, user_dn].hash
|
|
624
632
|
end
|
|
625
633
|
|
|
626
634
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateTarget
|
|
18
|
+
# Protection from accidental deletion of this object [true/false]
|
|
19
|
+
attr_accessor :delete_protection
|
|
20
|
+
|
|
18
21
|
# Description of the object
|
|
19
22
|
attr_accessor :description
|
|
20
23
|
|
|
@@ -42,6 +45,7 @@ module Akeyless
|
|
|
42
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
46
|
def self.attribute_map
|
|
44
47
|
{
|
|
48
|
+
:'delete_protection' => :'delete_protection',
|
|
45
49
|
:'description' => :'description',
|
|
46
50
|
:'json' => :'json',
|
|
47
51
|
:'max_versions' => :'max-versions',
|
|
@@ -61,6 +65,7 @@ module Akeyless
|
|
|
61
65
|
# Attribute type mapping.
|
|
62
66
|
def self.openapi_types
|
|
63
67
|
{
|
|
68
|
+
:'delete_protection' => :'String',
|
|
64
69
|
:'description' => :'String',
|
|
65
70
|
:'json' => :'Boolean',
|
|
66
71
|
:'max_versions' => :'String',
|
|
@@ -93,6 +98,10 @@ module Akeyless
|
|
|
93
98
|
h[k.to_sym] = v
|
|
94
99
|
}
|
|
95
100
|
|
|
101
|
+
if attributes.key?(:'delete_protection')
|
|
102
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
103
|
+
end
|
|
104
|
+
|
|
96
105
|
if attributes.key?(:'description')
|
|
97
106
|
self.description = attributes[:'description']
|
|
98
107
|
else
|
|
@@ -159,6 +168,7 @@ module Akeyless
|
|
|
159
168
|
def ==(o)
|
|
160
169
|
return true if self.equal?(o)
|
|
161
170
|
self.class == o.class &&
|
|
171
|
+
delete_protection == o.delete_protection &&
|
|
162
172
|
description == o.description &&
|
|
163
173
|
json == o.json &&
|
|
164
174
|
max_versions == o.max_versions &&
|
|
@@ -178,7 +188,7 @@ module Akeyless
|
|
|
178
188
|
# Calculates hash code according to all attributes.
|
|
179
189
|
# @return [Integer] Hash code
|
|
180
190
|
def hash
|
|
181
|
-
[description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
|
|
191
|
+
[delete_protection, description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
|
|
182
192
|
end
|
|
183
193
|
|
|
184
194
|
# Builds the object from hash
|
|
@@ -39,6 +39,8 @@ module Akeyless
|
|
|
39
39
|
# Name for the new universal secrets
|
|
40
40
|
attr_accessor :secret_name
|
|
41
41
|
|
|
42
|
+
attr_accessor :selected_repositories
|
|
43
|
+
|
|
42
44
|
# Tags for the universal secrets
|
|
43
45
|
attr_accessor :tags
|
|
44
46
|
|
|
@@ -68,6 +70,7 @@ module Akeyless
|
|
|
68
70
|
:'pfx_password' => :'pfx-password',
|
|
69
71
|
:'region' => :'region',
|
|
70
72
|
:'secret_name' => :'secret-name',
|
|
73
|
+
:'selected_repositories' => :'selected-repositories',
|
|
71
74
|
:'tags' => :'tags',
|
|
72
75
|
:'token' => :'token',
|
|
73
76
|
:'uid_token' => :'uid-token',
|
|
@@ -93,6 +96,7 @@ module Akeyless
|
|
|
93
96
|
:'pfx_password' => :'String',
|
|
94
97
|
:'region' => :'String',
|
|
95
98
|
:'secret_name' => :'String',
|
|
99
|
+
:'selected_repositories' => :'String',
|
|
96
100
|
:'tags' => :'Hash<String, String>',
|
|
97
101
|
:'token' => :'String',
|
|
98
102
|
:'uid_token' => :'String',
|
|
@@ -159,6 +163,10 @@ module Akeyless
|
|
|
159
163
|
self.secret_name = nil
|
|
160
164
|
end
|
|
161
165
|
|
|
166
|
+
if attributes.key?(:'selected_repositories')
|
|
167
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
168
|
+
end
|
|
169
|
+
|
|
162
170
|
if attributes.key?(:'tags')
|
|
163
171
|
if (value = attributes[:'tags']).is_a?(Hash)
|
|
164
172
|
self.tags = value
|
|
@@ -233,6 +241,7 @@ module Akeyless
|
|
|
233
241
|
pfx_password == o.pfx_password &&
|
|
234
242
|
region == o.region &&
|
|
235
243
|
secret_name == o.secret_name &&
|
|
244
|
+
selected_repositories == o.selected_repositories &&
|
|
236
245
|
tags == o.tags &&
|
|
237
246
|
token == o.token &&
|
|
238
247
|
uid_token == o.uid_token &&
|
|
@@ -250,7 +259,7 @@ module Akeyless
|
|
|
250
259
|
# Calculates hash code according to all attributes.
|
|
251
260
|
# @return [Integer] Hash code
|
|
252
261
|
def hash
|
|
253
|
-
[binary_value, description, json, namespace, object_type, pfx_password, region, secret_name, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
262
|
+
[binary_value, description, json, namespace, object_type, pfx_password, region, secret_name, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
254
263
|
end
|
|
255
264
|
|
|
256
265
|
# Builds the object from hash
|
|
@@ -25,9 +25,14 @@ module Akeyless
|
|
|
25
25
|
# The namespace (relevant for Hashi vault target)
|
|
26
26
|
attr_accessor :namespace
|
|
27
27
|
|
|
28
|
+
attr_accessor :object_type
|
|
29
|
+
|
|
28
30
|
# The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete
|
|
29
31
|
attr_accessor :secret_id
|
|
30
32
|
|
|
33
|
+
# GitHub selected repositories. For repository scope: repo name. For repository-environment scope: repo/env (format: repo-name/env-name). Required when multiple repos/envs configured.
|
|
34
|
+
attr_accessor :selected_repositories
|
|
35
|
+
|
|
31
36
|
# Authentication token (see `/auth` and `/configure`)
|
|
32
37
|
attr_accessor :token
|
|
33
38
|
|
|
@@ -43,7 +48,9 @@ module Akeyless
|
|
|
43
48
|
:'force_delete' => :'force-delete',
|
|
44
49
|
:'json' => :'json',
|
|
45
50
|
:'namespace' => :'namespace',
|
|
51
|
+
:'object_type' => :'object-type',
|
|
46
52
|
:'secret_id' => :'secret-id',
|
|
53
|
+
:'selected_repositories' => :'selected-repositories',
|
|
47
54
|
:'token' => :'token',
|
|
48
55
|
:'uid_token' => :'uid-token',
|
|
49
56
|
:'usc_name' => :'usc-name'
|
|
@@ -61,7 +68,9 @@ module Akeyless
|
|
|
61
68
|
:'force_delete' => :'Boolean',
|
|
62
69
|
:'json' => :'Boolean',
|
|
63
70
|
:'namespace' => :'String',
|
|
71
|
+
:'object_type' => :'String',
|
|
64
72
|
:'secret_id' => :'String',
|
|
73
|
+
:'selected_repositories' => :'String',
|
|
65
74
|
:'token' => :'String',
|
|
66
75
|
:'uid_token' => :'String',
|
|
67
76
|
:'usc_name' => :'String'
|
|
@@ -103,12 +112,20 @@ module Akeyless
|
|
|
103
112
|
self.namespace = attributes[:'namespace']
|
|
104
113
|
end
|
|
105
114
|
|
|
115
|
+
if attributes.key?(:'object_type')
|
|
116
|
+
self.object_type = attributes[:'object_type']
|
|
117
|
+
end
|
|
118
|
+
|
|
106
119
|
if attributes.key?(:'secret_id')
|
|
107
120
|
self.secret_id = attributes[:'secret_id']
|
|
108
121
|
else
|
|
109
122
|
self.secret_id = nil
|
|
110
123
|
end
|
|
111
124
|
|
|
125
|
+
if attributes.key?(:'selected_repositories')
|
|
126
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
127
|
+
end
|
|
128
|
+
|
|
112
129
|
if attributes.key?(:'token')
|
|
113
130
|
self.token = attributes[:'token']
|
|
114
131
|
end
|
|
@@ -157,7 +174,9 @@ module Akeyless
|
|
|
157
174
|
force_delete == o.force_delete &&
|
|
158
175
|
json == o.json &&
|
|
159
176
|
namespace == o.namespace &&
|
|
177
|
+
object_type == o.object_type &&
|
|
160
178
|
secret_id == o.secret_id &&
|
|
179
|
+
selected_repositories == o.selected_repositories &&
|
|
161
180
|
token == o.token &&
|
|
162
181
|
uid_token == o.uid_token &&
|
|
163
182
|
usc_name == o.usc_name
|
|
@@ -172,7 +191,7 @@ module Akeyless
|
|
|
172
191
|
# Calculates hash code according to all attributes.
|
|
173
192
|
# @return [Integer] Hash code
|
|
174
193
|
def hash
|
|
175
|
-
[force_delete, json, namespace, secret_id, token, uid_token, usc_name].hash
|
|
194
|
+
[force_delete, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
176
195
|
end
|
|
177
196
|
|
|
178
197
|
# Builds the object from hash
|