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
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
:'comment' => :'comment',
|
|
72
76
|
:'delete_protection' => :'delete_protection',
|
|
@@ -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
|
:'comment' => :'String',
|
|
99
104
|
:'delete_protection' => :'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
|
|
@@ -230,6 +239,7 @@ module Akeyless
|
|
|
230
239
|
return true if self.equal?(o)
|
|
231
240
|
self.class == o.class &&
|
|
232
241
|
analytics_access == o.analytics_access &&
|
|
242
|
+
ara_reports_access == o.ara_reports_access &&
|
|
233
243
|
audit_access == o.audit_access &&
|
|
234
244
|
comment == o.comment &&
|
|
235
245
|
delete_protection == o.delete_protection &&
|
|
@@ -256,7 +266,7 @@ module Akeyless
|
|
|
256
266
|
# Calculates hash code according to all attributes.
|
|
257
267
|
# @return [Integer] Hash code
|
|
258
268
|
def hash
|
|
259
|
-
[analytics_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
269
|
+
[analytics_access, ara_reports_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
260
270
|
end
|
|
261
271
|
|
|
262
272
|
# Builds the object from hash
|
|
@@ -66,6 +66,9 @@ module Akeyless
|
|
|
66
66
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
67
67
|
attr_accessor :key
|
|
68
68
|
|
|
69
|
+
# Lock this secret for read/update while an SRA session is active
|
|
70
|
+
attr_accessor :lock_during_sra_session
|
|
71
|
+
|
|
69
72
|
# Deprecated - use description
|
|
70
73
|
attr_accessor :metadata
|
|
71
74
|
|
|
@@ -75,7 +78,7 @@ module Akeyless
|
|
|
75
78
|
# The length of the password to be generated
|
|
76
79
|
attr_accessor :password_length
|
|
77
80
|
|
|
78
|
-
#
|
|
81
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
79
82
|
attr_accessor :rotate_after_disconnect
|
|
80
83
|
|
|
81
84
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -199,6 +202,7 @@ module Akeyless
|
|
|
199
202
|
:'host_provider' => :'host-provider',
|
|
200
203
|
:'json' => :'json',
|
|
201
204
|
:'key' => :'key',
|
|
205
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
202
206
|
:'metadata' => :'metadata',
|
|
203
207
|
:'name' => :'name',
|
|
204
208
|
:'password_length' => :'password-length',
|
|
@@ -265,6 +269,7 @@ module Akeyless
|
|
|
265
269
|
:'host_provider' => :'String',
|
|
266
270
|
:'json' => :'Boolean',
|
|
267
271
|
:'key' => :'String',
|
|
272
|
+
:'lock_during_sra_session' => :'String',
|
|
268
273
|
:'metadata' => :'String',
|
|
269
274
|
:'name' => :'String',
|
|
270
275
|
:'password_length' => :'String',
|
|
@@ -401,6 +406,10 @@ module Akeyless
|
|
|
401
406
|
self.key = attributes[:'key']
|
|
402
407
|
end
|
|
403
408
|
|
|
409
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
410
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
411
|
+
end
|
|
412
|
+
|
|
404
413
|
if attributes.key?(:'metadata')
|
|
405
414
|
self.metadata = attributes[:'metadata']
|
|
406
415
|
end
|
|
@@ -417,8 +426,6 @@ module Akeyless
|
|
|
417
426
|
|
|
418
427
|
if attributes.key?(:'rotate_after_disconnect')
|
|
419
428
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
420
|
-
else
|
|
421
|
-
self.rotate_after_disconnect = 'false'
|
|
422
429
|
end
|
|
423
430
|
|
|
424
431
|
if attributes.key?(:'rotated_password')
|
|
@@ -630,6 +637,7 @@ module Akeyless
|
|
|
630
637
|
host_provider == o.host_provider &&
|
|
631
638
|
json == o.json &&
|
|
632
639
|
key == o.key &&
|
|
640
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
633
641
|
metadata == o.metadata &&
|
|
634
642
|
name == o.name &&
|
|
635
643
|
password_length == o.password_length &&
|
|
@@ -679,7 +687,7 @@ module Akeyless
|
|
|
679
687
|
# Calculates hash code according to all attributes.
|
|
680
688
|
# @return [Integer] Hash code
|
|
681
689
|
def hash
|
|
682
|
-
[provider_type, api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, grace_rotation, host_provider, json, key, metadata, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, 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, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
690
|
+
[provider_type, api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, grace_rotation, host_provider, json, key, lock_during_sra_session, metadata, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, 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, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
683
691
|
end
|
|
684
692
|
|
|
685
693
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# Set output format to JSON
|
|
43
43
|
attr_accessor :json
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -122,6 +125,7 @@ module Akeyless
|
|
|
122
125
|
:'inject_url' => :'inject-url',
|
|
123
126
|
:'item_custom_fields' => :'item-custom-fields',
|
|
124
127
|
:'json' => :'json',
|
|
128
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
125
129
|
:'max_versions' => :'max-versions',
|
|
126
130
|
:'metadata' => :'metadata',
|
|
127
131
|
:'multiline_value' => :'multiline_value',
|
|
@@ -165,6 +169,7 @@ module Akeyless
|
|
|
165
169
|
:'inject_url' => :'Array<String>',
|
|
166
170
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
167
171
|
:'json' => :'Boolean',
|
|
172
|
+
:'lock_during_sra_session' => :'String',
|
|
168
173
|
:'max_versions' => :'String',
|
|
169
174
|
:'metadata' => :'String',
|
|
170
175
|
:'multiline_value' => :'Boolean',
|
|
@@ -260,6 +265,10 @@ module Akeyless
|
|
|
260
265
|
self.json = false
|
|
261
266
|
end
|
|
262
267
|
|
|
268
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
269
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
270
|
+
end
|
|
271
|
+
|
|
263
272
|
if attributes.key?(:'max_versions')
|
|
264
273
|
self.max_versions = attributes[:'max_versions']
|
|
265
274
|
end
|
|
@@ -406,6 +415,7 @@ module Akeyless
|
|
|
406
415
|
inject_url == o.inject_url &&
|
|
407
416
|
item_custom_fields == o.item_custom_fields &&
|
|
408
417
|
json == o.json &&
|
|
418
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
409
419
|
max_versions == o.max_versions &&
|
|
410
420
|
metadata == o.metadata &&
|
|
411
421
|
multiline_value == o.multiline_value &&
|
|
@@ -440,7 +450,7 @@ module Akeyless
|
|
|
440
450
|
# Calculates hash code according to all attributes.
|
|
441
451
|
# @return [Integer] Hash code
|
|
442
452
|
def hash
|
|
443
|
-
[accessibility, change_event, custom_field, delete_protection, description, format, inject_url, item_custom_fields, json, max_versions, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
453
|
+
[accessibility, change_event, custom_field, delete_protection, description, format, inject_url, item_custom_fields, json, lock_during_sra_session, max_versions, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
444
454
|
end
|
|
445
455
|
|
|
446
456
|
# Builds the object from hash
|
|
@@ -49,7 +49,7 @@ module Akeyless
|
|
|
49
49
|
# Universal Secrets Connector name
|
|
50
50
|
attr_accessor :name
|
|
51
51
|
|
|
52
|
-
# The organization name to create the secret in
|
|
52
|
+
# The organization name to create the secret in
|
|
53
53
|
attr_accessor :organization_name
|
|
54
54
|
|
|
55
55
|
attr_accessor :repository_access
|
|
@@ -72,9 +72,15 @@ module Akeyless
|
|
|
72
72
|
# Prefix for all secrets created in AWS Secrets Manager
|
|
73
73
|
attr_accessor :usc_prefix
|
|
74
74
|
|
|
75
|
+
# Comma-separated list of tags to apply to all secrets created on the remote USC
|
|
76
|
+
attr_accessor :usc_tags
|
|
77
|
+
|
|
75
78
|
# Whether to filter the USC secret list using the specified usc-prefix [true/false]
|
|
76
79
|
attr_accessor :use_prefix_as_filter
|
|
77
80
|
|
|
81
|
+
# Filter the USC secret list by the value(s) of --usc-tags. [true|false]
|
|
82
|
+
attr_accessor :use_tags_as_filter
|
|
83
|
+
|
|
78
84
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
79
85
|
def self.attribute_map
|
|
80
86
|
{
|
|
@@ -97,7 +103,9 @@ module Akeyless
|
|
|
97
103
|
:'token' => :'token',
|
|
98
104
|
:'uid_token' => :'uid-token',
|
|
99
105
|
:'usc_prefix' => :'usc-prefix',
|
|
100
|
-
:'
|
|
106
|
+
:'usc_tags' => :'usc-tags',
|
|
107
|
+
:'use_prefix_as_filter' => :'use-prefix-as-filter',
|
|
108
|
+
:'use_tags_as_filter' => :'use-tags-as-filter'
|
|
101
109
|
}
|
|
102
110
|
end
|
|
103
111
|
|
|
@@ -128,7 +136,9 @@ module Akeyless
|
|
|
128
136
|
:'token' => :'String',
|
|
129
137
|
:'uid_token' => :'String',
|
|
130
138
|
:'usc_prefix' => :'String',
|
|
131
|
-
:'
|
|
139
|
+
:'usc_tags' => :'String',
|
|
140
|
+
:'use_prefix_as_filter' => :'String',
|
|
141
|
+
:'use_tags_as_filter' => :'Boolean'
|
|
132
142
|
}
|
|
133
143
|
end
|
|
134
144
|
|
|
@@ -243,11 +253,19 @@ module Akeyless
|
|
|
243
253
|
self.usc_prefix = attributes[:'usc_prefix']
|
|
244
254
|
end
|
|
245
255
|
|
|
256
|
+
if attributes.key?(:'usc_tags')
|
|
257
|
+
self.usc_tags = attributes[:'usc_tags']
|
|
258
|
+
end
|
|
259
|
+
|
|
246
260
|
if attributes.key?(:'use_prefix_as_filter')
|
|
247
261
|
self.use_prefix_as_filter = attributes[:'use_prefix_as_filter']
|
|
248
262
|
else
|
|
249
263
|
self.use_prefix_as_filter = 'false'
|
|
250
264
|
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'use_tags_as_filter')
|
|
267
|
+
self.use_tags_as_filter = attributes[:'use_tags_as_filter']
|
|
268
|
+
end
|
|
251
269
|
end
|
|
252
270
|
|
|
253
271
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -299,7 +317,9 @@ module Akeyless
|
|
|
299
317
|
token == o.token &&
|
|
300
318
|
uid_token == o.uid_token &&
|
|
301
319
|
usc_prefix == o.usc_prefix &&
|
|
302
|
-
|
|
320
|
+
usc_tags == o.usc_tags &&
|
|
321
|
+
use_prefix_as_filter == o.use_prefix_as_filter &&
|
|
322
|
+
use_tags_as_filter == o.use_tags_as_filter
|
|
303
323
|
end
|
|
304
324
|
|
|
305
325
|
# @see the `==` method
|
|
@@ -311,7 +331,7 @@ module Akeyless
|
|
|
311
331
|
# Calculates hash code according to all attributes.
|
|
312
332
|
# @return [Integer] Hash code
|
|
313
333
|
def hash
|
|
314
|
-
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, use_prefix_as_filter].hash
|
|
334
|
+
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, usc_tags, use_prefix_as_filter, use_tags_as_filter].hash
|
|
315
335
|
end
|
|
316
336
|
|
|
317
337
|
# Builds the object from hash
|
|
@@ -24,7 +24,7 @@ module Akeyless
|
|
|
24
24
|
# The role name to be updated
|
|
25
25
|
attr_accessor :role_name
|
|
26
26
|
|
|
27
|
-
# item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule
|
|
27
|
+
# item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, ara-reports-rule, sra-rule, ara-rule, usage-reports-rule, event-rule, event-forwarder-rule, reverse-rbac-rule
|
|
28
28
|
attr_accessor :rule_type
|
|
29
29
|
|
|
30
30
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -25,7 +25,7 @@ module Akeyless
|
|
|
25
25
|
# Authentication token (see `/auth` and `/configure`)
|
|
26
26
|
attr_accessor :token
|
|
27
27
|
|
|
28
|
-
# Type of object (item, am, role, target)
|
|
28
|
+
# Type of object (item, am, role, target, sra, ara)
|
|
29
29
|
attr_accessor :type
|
|
30
30
|
|
|
31
31
|
# The universal identity token, Required only for universal_identity authentication
|