akeyless 5.0.27 → 5.0.30
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 +63 -1
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/AnthropicTargetDetails.md +20 -0
- data/docs/AuthMethod.md +3 -1
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateSAML.md +3 -1
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +3 -1
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BedrockTargetDetails.md +20 -0
- data/docs/CreateAuthMethodSAML.md +3 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateDBTarget.md +2 -0
- data/docs/CreateMcpSecretBearerToken.md +46 -0
- data/docs/CreateMcpSecretOAuthAuthCode.md +56 -0
- data/docs/CreateMcpSecretOAuthClientCreds.md +52 -0
- data/docs/CreatePKICertIssuer.md +1 -1
- data/docs/CustomDnsTargetDetails.md +20 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DbTargetDetails.md +2 -0
- data/docs/EmailCustomization.md +28 -0
- data/docs/EmailCustomizationAccountInformation.md +24 -0
- data/docs/EmailCustomizationAccountInformationValues.md +24 -0
- data/docs/EsmGetSecretOutput.md +11 -1
- data/docs/FileDownloadInstructions.md +20 -0
- data/docs/FileInfo.md +50 -0
- data/docs/FolderDeleteSync.md +32 -0
- data/docs/FolderDeleteSyncOutput.md +24 -0
- data/docs/FolderSync.md +34 -0
- data/docs/FolderSyncAll.md +26 -0
- data/docs/FolderSyncAllOutput.md +18 -0
- data/docs/FolderSyncOutput.md +24 -0
- data/docs/FolderUSCSyncConfig.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/GrokTargetDetails.md +22 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/KeycloakTargetDetails.md +24 -0
- data/docs/OIDCAccessRules.md +2 -0
- data/docs/OktaTargetDetails.md +20 -0
- data/docs/PersonalFolderGlobalMappingSettings.md +20 -0
- data/docs/RotatedSecretCreateAws.md +4 -4
- data/docs/RotatedSecretCreateAzure.md +6 -4
- data/docs/RotatedSecretCreateCassandra.md +4 -4
- data/docs/RotatedSecretCreateCustom.md +4 -4
- data/docs/RotatedSecretCreateDockerhub.md +4 -4
- data/docs/RotatedSecretCreateGcp.md +4 -4
- data/docs/RotatedSecretCreateHanadb.md +4 -4
- data/docs/RotatedSecretCreateHashiVault.md +60 -0
- data/docs/RotatedSecretCreateLdap.md +4 -4
- data/docs/RotatedSecretCreateMongodb.md +4 -4
- data/docs/RotatedSecretCreateMssql.md +4 -4
- data/docs/RotatedSecretCreateMysql.md +4 -4
- data/docs/RotatedSecretCreateOpenAI.md +4 -4
- data/docs/RotatedSecretCreateOracledb.md +4 -4
- data/docs/RotatedSecretCreatePostgresql.md +4 -4
- data/docs/RotatedSecretCreateRedis.md +4 -4
- data/docs/RotatedSecretCreateRedshift.md +4 -4
- data/docs/RotatedSecretCreateSnowflake.md +4 -4
- data/docs/RotatedSecretCreateSplunk.md +4 -4
- data/docs/RotatedSecretCreateSsh.md +4 -4
- data/docs/RotatedSecretCreateWindows.md +4 -4
- data/docs/RotatedSecretUpdateAws.md +4 -4
- data/docs/RotatedSecretUpdateAzure.md +6 -4
- data/docs/RotatedSecretUpdateCassandra.md +4 -4
- data/docs/RotatedSecretUpdateCustom.md +4 -4
- data/docs/RotatedSecretUpdateDockerhub.md +4 -4
- data/docs/RotatedSecretUpdateGcp.md +4 -4
- data/docs/RotatedSecretUpdateHanadb.md +4 -4
- data/docs/RotatedSecretUpdateHashiVault.md +64 -0
- data/docs/RotatedSecretUpdateLdap.md +4 -4
- data/docs/RotatedSecretUpdateMongodb.md +4 -4
- data/docs/RotatedSecretUpdateMssql.md +4 -4
- data/docs/RotatedSecretUpdateMysql.md +4 -4
- data/docs/RotatedSecretUpdateOpenAI.md +4 -4
- data/docs/RotatedSecretUpdateOracledb.md +4 -4
- data/docs/RotatedSecretUpdatePostgresql.md +4 -4
- data/docs/RotatedSecretUpdateRedis.md +4 -4
- data/docs/RotatedSecretUpdateRedshift.md +4 -4
- data/docs/RotatedSecretUpdateSnowflake.md +4 -4
- data/docs/RotatedSecretUpdateSplunk.md +4 -4
- data/docs/RotatedSecretUpdateSsh.md +4 -4
- data/docs/RotatedSecretUpdateWindows.md +4 -4
- data/docs/RuntimeAuthorityCommand.md +4 -0
- data/docs/SAMLAccessRules.md +3 -1
- data/docs/SecretInfo.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetCreateAnthropic.md +36 -0
- data/docs/TargetCreateBedrock.md +36 -0
- data/docs/TargetCreateCustomDns.md +36 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateGrok.md +38 -0
- data/docs/TargetCreateKeycloak.md +40 -0
- data/docs/TargetCreateOkta.md +36 -0
- data/docs/TargetTypeDetailsInput.md +12 -0
- data/docs/TargetUpdateAnthropic.md +42 -0
- data/docs/TargetUpdateBedrock.md +42 -0
- data/docs/TargetUpdateCustomDns.md +40 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateGrok.md +44 -0
- data/docs/TargetUpdateKeycloak.md +44 -0
- data/docs/TargetUpdateOkta.md +40 -0
- data/docs/UidExpirationEvent.md +18 -0
- data/docs/UpdateAuthMethodSAML.md +3 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateDBTarget.md +2 -0
- data/docs/UpdateMcpSecretBearerToken.md +40 -0
- data/docs/UpdateMcpSecretOAuthAuthCode.md +50 -0
- data/docs/UpdateMcpSecretOAuthClientCreds.md +46 -0
- data/docs/UpdatePKICertIssuer.md +1 -1
- data/docs/UscGetSecretOutput.md +11 -1
- data/docs/V2Api.md +1449 -0
- data/lib/akeyless/api/v2_api.rb +1617 -145
- data/lib/akeyless/models/account_general_settings.rb +29 -1
- data/lib/akeyless/models/anthropic_target_details.rb +224 -0
- data/lib/akeyless/models/auth_method.rb +15 -4
- data/lib/akeyless/models/auth_method_access_info.rb +13 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +14 -4
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
- data/lib/akeyless/models/bedrock_target_details.rb +224 -0
- data/lib/akeyless/models/create_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/create_db_target.rb +11 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +371 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +423 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +403 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/custom_dns_target_details.rb +225 -0
- data/lib/akeyless/models/db_target_details.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +11 -1
- data/lib/akeyless/models/email_customization.rb +259 -0
- data/lib/akeyless/models/email_customization_account_information.rb +242 -0
- data/lib/akeyless/models/email_customization_account_information_values.rb +241 -0
- data/lib/akeyless/models/esm_get_secret_output.rb +53 -4
- data/lib/akeyless/models/file_download_instructions.rb +223 -0
- data/lib/akeyless/models/file_info.rb +358 -0
- data/lib/akeyless/models/folder_delete_sync.rb +305 -0
- data/lib/akeyless/models/folder_delete_sync_output.rb +245 -0
- data/lib/akeyless/models/folder_sync.rb +306 -0
- data/lib/akeyless/models/folder_sync_all.rb +266 -0
- data/lib/akeyless/models/folder_sync_all_output.rb +214 -0
- data/lib/akeyless/models/folder_sync_output.rb +247 -0
- data/lib/akeyless/models/folder_usc_sync_config.rb +10 -1
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +1 -1
- data/lib/akeyless/models/grok_target_details.rb +234 -0
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/keycloak_target_details.rb +242 -0
- data/lib/akeyless/models/oidc_access_rules.rb +11 -1
- data/lib/akeyless/models/okta_target_details.rb +224 -0
- data/lib/akeyless/models/personal_folder_global_mapping_settings.rb +223 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +446 -0
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +0 -4
- data/lib/akeyless/models/rotated_secret_sync.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +463 -0
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +0 -4
- data/lib/akeyless/models/runtime_authority_command.rb +21 -1
- data/lib/akeyless/models/saml_access_rules.rb +14 -4
- data/lib/akeyless/models/secret_info.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/static_secret_sync.rb +1 -1
- data/lib/akeyless/models/target_create_anthropic.rb +317 -0
- data/lib/akeyless/models/target_create_bedrock.rb +317 -0
- data/lib/akeyless/models/target_create_custom_dns.rb +330 -0
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_grok.rb +327 -0
- data/lib/akeyless/models/target_create_keycloak.rb +334 -0
- data/lib/akeyless/models/target_create_okta.rb +314 -0
- data/lib/akeyless/models/target_type_details_input.rb +55 -1
- data/lib/akeyless/models/target_update_anthropic.rb +351 -0
- data/lib/akeyless/models/target_update_bedrock.rb +351 -0
- data/lib/akeyless/models/target_update_custom_dns.rb +350 -0
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_grok.rb +361 -0
- data/lib/akeyless/models/target_update_keycloak.rb +354 -0
- data/lib/akeyless/models/target_update_okta.rb +334 -0
- data/lib/akeyless/models/uid_expiration_event.rb +214 -0
- data/lib/akeyless/models/update_auth_method_saml.rb +14 -4
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/update_db_target.rb +11 -1
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +338 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +390 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +370 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +53 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +39 -0
- data/spec/models/anthropic_target_details_spec.rb +42 -0
- data/spec/models/bedrock_target_details_spec.rb +42 -0
- data/spec/models/create_mcp_secret_bearer_token_spec.rb +120 -0
- data/spec/models/create_mcp_secret_o_auth_auth_code_spec.rb +150 -0
- data/spec/models/create_mcp_secret_o_auth_client_creds_spec.rb +138 -0
- data/spec/models/custom_dns_target_details_spec.rb +42 -0
- data/spec/models/email_customization_account_information_spec.rb +54 -0
- data/spec/models/email_customization_account_information_values_spec.rb +54 -0
- data/spec/models/email_customization_spec.rb +66 -0
- data/spec/models/file_download_instructions_spec.rb +42 -0
- data/spec/models/file_info_spec.rb +132 -0
- data/spec/models/folder_delete_sync_output_spec.rb +54 -0
- data/spec/models/folder_delete_sync_spec.rb +78 -0
- data/spec/models/folder_sync_all_output_spec.rb +36 -0
- data/spec/models/folder_sync_all_spec.rb +60 -0
- data/spec/models/folder_sync_output_spec.rb +54 -0
- data/spec/models/folder_sync_spec.rb +84 -0
- data/spec/models/grok_target_details_spec.rb +48 -0
- data/spec/models/keycloak_target_details_spec.rb +54 -0
- data/spec/models/okta_target_details_spec.rb +42 -0
- data/spec/models/personal_folder_global_mapping_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_create_hashi_vault_spec.rb +162 -0
- data/spec/models/rotated_secret_update_hashi_vault_spec.rb +174 -0
- data/spec/models/target_create_anthropic_spec.rb +90 -0
- data/spec/models/target_create_bedrock_spec.rb +90 -0
- data/spec/models/target_create_custom_dns_spec.rb +90 -0
- data/spec/models/target_create_grok_spec.rb +96 -0
- data/spec/models/target_create_keycloak_spec.rb +102 -0
- data/spec/models/target_create_okta_spec.rb +90 -0
- data/spec/models/target_update_anthropic_spec.rb +108 -0
- data/spec/models/target_update_bedrock_spec.rb +108 -0
- data/spec/models/target_update_custom_dns_spec.rb +102 -0
- data/spec/models/target_update_grok_spec.rb +114 -0
- data/spec/models/target_update_keycloak_spec.rb +114 -0
- data/spec/models/target_update_okta_spec.rb +102 -0
- data/spec/models/uid_expiration_event_spec.rb +36 -0
- data/spec/models/update_mcp_secret_bearer_token_spec.rb +102 -0
- data/spec/models/update_mcp_secret_o_auth_auth_code_spec.rb +132 -0
- data/spec/models/update_mcp_secret_o_auth_client_creds_spec.rb +120 -0
- metadata +1331 -1175
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will.
|
|
23
23
|
attr_accessor :account_default_key_name
|
|
24
24
|
|
|
25
|
+
# AccountFileBytesUsed tracks active + pending file-item plain bytes for quota enforcement.
|
|
26
|
+
attr_accessor :account_file_bytes_used
|
|
27
|
+
|
|
25
28
|
attr_accessor :ai_insights
|
|
26
29
|
|
|
27
30
|
attr_accessor :allow_auto_fill
|
|
@@ -46,6 +49,8 @@ module Akeyless
|
|
|
46
49
|
|
|
47
50
|
attr_accessor :dynamic_secret_max_ttl
|
|
48
51
|
|
|
52
|
+
attr_accessor :email_customization
|
|
53
|
+
|
|
49
54
|
attr_accessor :enable_request_for_access
|
|
50
55
|
|
|
51
56
|
attr_accessor :enable_search_history
|
|
@@ -72,6 +77,8 @@ module Akeyless
|
|
|
72
77
|
|
|
73
78
|
attr_accessor :password_score
|
|
74
79
|
|
|
80
|
+
attr_accessor :personal_folder_global_mapping
|
|
81
|
+
|
|
75
82
|
attr_accessor :protect_items_by_default
|
|
76
83
|
|
|
77
84
|
attr_accessor :rotation_secret_max_interval
|
|
@@ -83,6 +90,7 @@ module Akeyless
|
|
|
83
90
|
{
|
|
84
91
|
:'account_default_key_item_id' => :'account_default_key_item_id',
|
|
85
92
|
:'account_default_key_name' => :'account_default_key_name',
|
|
93
|
+
:'account_file_bytes_used' => :'account_file_bytes_used',
|
|
86
94
|
:'ai_insights' => :'ai_insights',
|
|
87
95
|
:'allow_auto_fill' => :'allow_auto_fill',
|
|
88
96
|
:'allow_passkeys' => :'allow_passkeys',
|
|
@@ -95,6 +103,7 @@ module Akeyless
|
|
|
95
103
|
:'default_auth_method' => :'default_auth_method',
|
|
96
104
|
:'default_home_page' => :'default_home_page',
|
|
97
105
|
:'dynamic_secret_max_ttl' => :'dynamic_secret_max_ttl',
|
|
106
|
+
:'email_customization' => :'email_customization',
|
|
98
107
|
:'enable_request_for_access' => :'enable_request_for_access',
|
|
99
108
|
:'enable_search_history' => :'enable_search_history',
|
|
100
109
|
:'hide_personal_folder' => :'hide_personal_folder',
|
|
@@ -107,6 +116,7 @@ module Akeyless
|
|
|
107
116
|
:'password_expiration_info' => :'password_expiration_info',
|
|
108
117
|
:'password_policy' => :'password_policy',
|
|
109
118
|
:'password_score' => :'password_score',
|
|
119
|
+
:'personal_folder_global_mapping' => :'personal_folder_global_mapping',
|
|
110
120
|
:'protect_items_by_default' => :'protect_items_by_default',
|
|
111
121
|
:'rotation_secret_max_interval' => :'rotation_secret_max_interval',
|
|
112
122
|
:'sharing_policy' => :'sharing_policy'
|
|
@@ -123,6 +133,7 @@ module Akeyless
|
|
|
123
133
|
{
|
|
124
134
|
:'account_default_key_item_id' => :'Integer',
|
|
125
135
|
:'account_default_key_name' => :'String',
|
|
136
|
+
:'account_file_bytes_used' => :'Integer',
|
|
126
137
|
:'ai_insights' => :'AiInsightsSetting',
|
|
127
138
|
:'allow_auto_fill' => :'Boolean',
|
|
128
139
|
:'allow_passkeys' => :'Boolean',
|
|
@@ -135,6 +146,7 @@ module Akeyless
|
|
|
135
146
|
:'default_auth_method' => :'DefaultAuthMethodSettings',
|
|
136
147
|
:'default_home_page' => :'DefaultHomePage',
|
|
137
148
|
:'dynamic_secret_max_ttl' => :'DynamicSecretMaxTtl',
|
|
149
|
+
:'email_customization' => :'EmailCustomization',
|
|
138
150
|
:'enable_request_for_access' => :'Boolean',
|
|
139
151
|
:'enable_search_history' => :'Boolean',
|
|
140
152
|
:'hide_personal_folder' => :'Boolean',
|
|
@@ -147,6 +159,7 @@ module Akeyless
|
|
|
147
159
|
:'password_expiration_info' => :'PasswordExpirationInfo',
|
|
148
160
|
:'password_policy' => :'PasswordPolicyInfo',
|
|
149
161
|
:'password_score' => :'PasswordScoreSetting',
|
|
162
|
+
:'personal_folder_global_mapping' => :'PersonalFolderGlobalMappingSettings',
|
|
150
163
|
:'protect_items_by_default' => :'Boolean',
|
|
151
164
|
:'rotation_secret_max_interval' => :'RotationSecretMaxInterval',
|
|
152
165
|
:'sharing_policy' => :'SharingPolicyInfo'
|
|
@@ -182,6 +195,10 @@ module Akeyless
|
|
|
182
195
|
self.account_default_key_name = attributes[:'account_default_key_name']
|
|
183
196
|
end
|
|
184
197
|
|
|
198
|
+
if attributes.key?(:'account_file_bytes_used')
|
|
199
|
+
self.account_file_bytes_used = attributes[:'account_file_bytes_used']
|
|
200
|
+
end
|
|
201
|
+
|
|
185
202
|
if attributes.key?(:'ai_insights')
|
|
186
203
|
self.ai_insights = attributes[:'ai_insights']
|
|
187
204
|
end
|
|
@@ -230,6 +247,10 @@ module Akeyless
|
|
|
230
247
|
self.dynamic_secret_max_ttl = attributes[:'dynamic_secret_max_ttl']
|
|
231
248
|
end
|
|
232
249
|
|
|
250
|
+
if attributes.key?(:'email_customization')
|
|
251
|
+
self.email_customization = attributes[:'email_customization']
|
|
252
|
+
end
|
|
253
|
+
|
|
233
254
|
if attributes.key?(:'enable_request_for_access')
|
|
234
255
|
self.enable_request_for_access = attributes[:'enable_request_for_access']
|
|
235
256
|
end
|
|
@@ -278,6 +299,10 @@ module Akeyless
|
|
|
278
299
|
self.password_score = attributes[:'password_score']
|
|
279
300
|
end
|
|
280
301
|
|
|
302
|
+
if attributes.key?(:'personal_folder_global_mapping')
|
|
303
|
+
self.personal_folder_global_mapping = attributes[:'personal_folder_global_mapping']
|
|
304
|
+
end
|
|
305
|
+
|
|
281
306
|
if attributes.key?(:'protect_items_by_default')
|
|
282
307
|
self.protect_items_by_default = attributes[:'protect_items_by_default']
|
|
283
308
|
end
|
|
@@ -313,6 +338,7 @@ module Akeyless
|
|
|
313
338
|
self.class == o.class &&
|
|
314
339
|
account_default_key_item_id == o.account_default_key_item_id &&
|
|
315
340
|
account_default_key_name == o.account_default_key_name &&
|
|
341
|
+
account_file_bytes_used == o.account_file_bytes_used &&
|
|
316
342
|
ai_insights == o.ai_insights &&
|
|
317
343
|
allow_auto_fill == o.allow_auto_fill &&
|
|
318
344
|
allow_passkeys == o.allow_passkeys &&
|
|
@@ -325,6 +351,7 @@ module Akeyless
|
|
|
325
351
|
default_auth_method == o.default_auth_method &&
|
|
326
352
|
default_home_page == o.default_home_page &&
|
|
327
353
|
dynamic_secret_max_ttl == o.dynamic_secret_max_ttl &&
|
|
354
|
+
email_customization == o.email_customization &&
|
|
328
355
|
enable_request_for_access == o.enable_request_for_access &&
|
|
329
356
|
enable_search_history == o.enable_search_history &&
|
|
330
357
|
hide_personal_folder == o.hide_personal_folder &&
|
|
@@ -337,6 +364,7 @@ module Akeyless
|
|
|
337
364
|
password_expiration_info == o.password_expiration_info &&
|
|
338
365
|
password_policy == o.password_policy &&
|
|
339
366
|
password_score == o.password_score &&
|
|
367
|
+
personal_folder_global_mapping == o.personal_folder_global_mapping &&
|
|
340
368
|
protect_items_by_default == o.protect_items_by_default &&
|
|
341
369
|
rotation_secret_max_interval == o.rotation_secret_max_interval &&
|
|
342
370
|
sharing_policy == o.sharing_policy
|
|
@@ -351,7 +379,7 @@ module Akeyless
|
|
|
351
379
|
# Calculates hash code according to all attributes.
|
|
352
380
|
# @return [Integer] Hash code
|
|
353
381
|
def hash
|
|
354
|
-
[account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allow_passkeys, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, enable_search_history, hide_personal_folder, hide_secret_reveal_copy, hide_static_password, invalid_characters, item_locking, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
382
|
+
[account_default_key_item_id, account_default_key_name, account_file_bytes_used, ai_insights, allow_auto_fill, allow_passkeys, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, email_customization, enable_request_for_access, enable_search_history, hide_personal_folder, hide_secret_reveal_copy, hide_static_password, invalid_characters, item_locking, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, personal_folder_global_mapping, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
355
383
|
end
|
|
356
384
|
|
|
357
385
|
# Builds the object from hash
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
# AnthropicTargetDetails defines details related to connecting to an Anthropic provider
|
|
18
|
+
class AnthropicTargetDetails
|
|
19
|
+
attr_accessor :anthropic_url
|
|
20
|
+
|
|
21
|
+
attr_accessor :api_key
|
|
22
|
+
|
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
|
+
def self.attribute_map
|
|
25
|
+
{
|
|
26
|
+
:'anthropic_url' => :'anthropic_url',
|
|
27
|
+
:'api_key' => :'api_key'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Returns all the JSON keys this model knows about
|
|
32
|
+
def self.acceptable_attributes
|
|
33
|
+
attribute_map.values
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Attribute type mapping.
|
|
37
|
+
def self.openapi_types
|
|
38
|
+
{
|
|
39
|
+
:'anthropic_url' => :'String',
|
|
40
|
+
:'api_key' => :'String'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# List of attributes with nullable: true
|
|
45
|
+
def self.openapi_nullable
|
|
46
|
+
Set.new([
|
|
47
|
+
])
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
def initialize(attributes = {})
|
|
53
|
+
if (!attributes.is_a?(Hash))
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AnthropicTargetDetails` initialize method"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AnthropicTargetDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
61
|
+
end
|
|
62
|
+
h[k.to_sym] = v
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if attributes.key?(:'anthropic_url')
|
|
66
|
+
self.anthropic_url = attributes[:'anthropic_url']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.key?(:'api_key')
|
|
70
|
+
self.api_key = attributes[:'api_key']
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
75
|
+
# @return Array for valid properties with the reasons
|
|
76
|
+
def list_invalid_properties
|
|
77
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
78
|
+
invalid_properties = Array.new
|
|
79
|
+
invalid_properties
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Check to see if the all the properties in the model are valid
|
|
83
|
+
# @return true if the model is valid
|
|
84
|
+
def valid?
|
|
85
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
86
|
+
true
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Checks equality by comparing each attribute.
|
|
90
|
+
# @param [Object] Object to be compared
|
|
91
|
+
def ==(o)
|
|
92
|
+
return true if self.equal?(o)
|
|
93
|
+
self.class == o.class &&
|
|
94
|
+
anthropic_url == o.anthropic_url &&
|
|
95
|
+
api_key == o.api_key
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# @see the `==` method
|
|
99
|
+
# @param [Object] Object to be compared
|
|
100
|
+
def eql?(o)
|
|
101
|
+
self == o
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Calculates hash code according to all attributes.
|
|
105
|
+
# @return [Integer] Hash code
|
|
106
|
+
def hash
|
|
107
|
+
[anthropic_url, api_key].hash
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Builds the object from hash
|
|
111
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
112
|
+
# @return [Object] Returns the model itself
|
|
113
|
+
def self.build_from_hash(attributes)
|
|
114
|
+
return nil unless attributes.is_a?(Hash)
|
|
115
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
116
|
+
transformed_hash = {}
|
|
117
|
+
openapi_types.each_pair do |key, type|
|
|
118
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
119
|
+
transformed_hash["#{key}"] = nil
|
|
120
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
121
|
+
# check to ensure the input is an array given that the attribute
|
|
122
|
+
# is documented as an array but the input is not
|
|
123
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
124
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
125
|
+
end
|
|
126
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
127
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
new(transformed_hash)
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Deserializes the data based on type
|
|
134
|
+
# @param string type Data type
|
|
135
|
+
# @param string value Value to be deserialized
|
|
136
|
+
# @return [Object] Deserialized data
|
|
137
|
+
def self._deserialize(type, value)
|
|
138
|
+
case type.to_sym
|
|
139
|
+
when :Time
|
|
140
|
+
Time.parse(value)
|
|
141
|
+
when :Date
|
|
142
|
+
Date.parse(value)
|
|
143
|
+
when :String
|
|
144
|
+
value.to_s
|
|
145
|
+
when :Integer
|
|
146
|
+
value.to_i
|
|
147
|
+
when :Float
|
|
148
|
+
value.to_f
|
|
149
|
+
when :Boolean
|
|
150
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
151
|
+
true
|
|
152
|
+
else
|
|
153
|
+
false
|
|
154
|
+
end
|
|
155
|
+
when :Object
|
|
156
|
+
# generic object (usually a Hash), return directly
|
|
157
|
+
value
|
|
158
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
159
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
160
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
161
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
162
|
+
k_type = Regexp.last_match[:k_type]
|
|
163
|
+
v_type = Regexp.last_match[:v_type]
|
|
164
|
+
{}.tap do |hash|
|
|
165
|
+
value.each do |k, v|
|
|
166
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
else # model
|
|
170
|
+
# models (e.g. Pet) or oneOf
|
|
171
|
+
klass = Akeyless.const_get(type)
|
|
172
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Returns the string representation of the object
|
|
177
|
+
# @return [String] String presentation of the object
|
|
178
|
+
def to_s
|
|
179
|
+
to_hash.to_s
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
183
|
+
# @return [Hash] Returns the object in the form of hash
|
|
184
|
+
def to_body
|
|
185
|
+
to_hash
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Returns the object in the form of hash
|
|
189
|
+
# @return [Hash] Returns the object in the form of hash
|
|
190
|
+
def to_hash
|
|
191
|
+
hash = {}
|
|
192
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
193
|
+
value = self.send(attr)
|
|
194
|
+
if value.nil?
|
|
195
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
196
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
hash[param] = _to_hash(value)
|
|
200
|
+
end
|
|
201
|
+
hash
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# Outputs non-array value in the form of hash
|
|
205
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
206
|
+
# @param [Object] value Any valid value
|
|
207
|
+
# @return [Hash] Returns the value in the form of hash
|
|
208
|
+
def _to_hash(value)
|
|
209
|
+
if value.is_a?(Array)
|
|
210
|
+
value.compact.map { |v| _to_hash(v) }
|
|
211
|
+
elsif value.is_a?(Hash)
|
|
212
|
+
{}.tap do |hash|
|
|
213
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
214
|
+
end
|
|
215
|
+
elsif value.respond_to? :to_hash
|
|
216
|
+
value.to_hash
|
|
217
|
+
else
|
|
218
|
+
value
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
end
|
|
@@ -49,6 +49,8 @@ module Akeyless
|
|
|
49
49
|
|
|
50
50
|
attr_accessor :modification_date
|
|
51
51
|
|
|
52
|
+
attr_accessor :uid_expiration_events
|
|
53
|
+
|
|
52
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
55
|
def self.attribute_map
|
|
54
56
|
{
|
|
@@ -68,7 +70,8 @@ module Akeyless
|
|
|
68
70
|
:'description' => :'description',
|
|
69
71
|
:'expiration_events' => :'expiration_events',
|
|
70
72
|
:'is_approved' => :'is_approved',
|
|
71
|
-
:'modification_date' => :'modification_date'
|
|
73
|
+
:'modification_date' => :'modification_date',
|
|
74
|
+
:'uid_expiration_events' => :'uid_expiration_events'
|
|
72
75
|
}
|
|
73
76
|
end
|
|
74
77
|
|
|
@@ -96,7 +99,8 @@ module Akeyless
|
|
|
96
99
|
:'description' => :'String',
|
|
97
100
|
:'expiration_events' => :'Array<AuthExpirationEvent>',
|
|
98
101
|
:'is_approved' => :'Boolean',
|
|
99
|
-
:'modification_date' => :'Time'
|
|
102
|
+
:'modification_date' => :'Time',
|
|
103
|
+
:'uid_expiration_events' => :'Array<UidExpirationEvent>'
|
|
100
104
|
}
|
|
101
105
|
end
|
|
102
106
|
|
|
@@ -196,6 +200,12 @@ module Akeyless
|
|
|
196
200
|
if attributes.key?(:'modification_date')
|
|
197
201
|
self.modification_date = attributes[:'modification_date']
|
|
198
202
|
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'uid_expiration_events')
|
|
205
|
+
if (value = attributes[:'uid_expiration_events']).is_a?(Array)
|
|
206
|
+
self.uid_expiration_events = value
|
|
207
|
+
end
|
|
208
|
+
end
|
|
199
209
|
end
|
|
200
210
|
|
|
201
211
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -234,7 +244,8 @@ module Akeyless
|
|
|
234
244
|
description == o.description &&
|
|
235
245
|
expiration_events == o.expiration_events &&
|
|
236
246
|
is_approved == o.is_approved &&
|
|
237
|
-
modification_date == o.modification_date
|
|
247
|
+
modification_date == o.modification_date &&
|
|
248
|
+
uid_expiration_events == o.uid_expiration_events
|
|
238
249
|
end
|
|
239
250
|
|
|
240
251
|
# @see the `==` method
|
|
@@ -246,7 +257,7 @@ module Akeyless
|
|
|
246
257
|
# Calculates hash code according to all attributes.
|
|
247
258
|
# @return [Integer] Hash code
|
|
248
259
|
def hash
|
|
249
|
-
[access_date, access_date_display, access_info, account_id, associated_gw_ids, auth_method_access_id, auth_method_additional_data, auth_method_id, auth_method_name, auth_method_roles_assoc, client_permissions, creation_date, delete_protection, description, expiration_events, is_approved, modification_date].hash
|
|
260
|
+
[access_date, access_date_display, access_info, account_id, associated_gw_ids, auth_method_access_id, auth_method_additional_data, auth_method_id, auth_method_name, auth_method_roles_assoc, client_permissions, creation_date, delete_protection, description, expiration_events, is_approved, modification_date, uid_expiration_events].hash
|
|
250
261
|
end
|
|
251
262
|
|
|
252
263
|
# Builds the object from hash
|
|
@@ -68,6 +68,9 @@ module Akeyless
|
|
|
68
68
|
|
|
69
69
|
attr_accessor :sub_claims_delimiters
|
|
70
70
|
|
|
71
|
+
# Relevant only for Universal Identity auth methods: token about-to-expire notification thresholds.
|
|
72
|
+
attr_accessor :uid_expiration_events
|
|
73
|
+
|
|
71
74
|
attr_accessor :universal_identity_access_rules
|
|
72
75
|
|
|
73
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -98,6 +101,7 @@ module Akeyless
|
|
|
98
101
|
:'rules_type' => :'rules_type',
|
|
99
102
|
:'saml_access_rules' => :'saml_access_rules',
|
|
100
103
|
:'sub_claims_delimiters' => :'sub_claims_delimiters',
|
|
104
|
+
:'uid_expiration_events' => :'uid_expiration_events',
|
|
101
105
|
:'universal_identity_access_rules' => :'universal_identity_access_rules'
|
|
102
106
|
}
|
|
103
107
|
end
|
|
@@ -135,6 +139,7 @@ module Akeyless
|
|
|
135
139
|
:'rules_type' => :'String',
|
|
136
140
|
:'saml_access_rules' => :'SAMLAccessRules',
|
|
137
141
|
:'sub_claims_delimiters' => :'Array<String>',
|
|
142
|
+
:'uid_expiration_events' => :'Array<UidExpirationEvent>',
|
|
138
143
|
:'universal_identity_access_rules' => :'UniversalIdentityAccessRules'
|
|
139
144
|
}
|
|
140
145
|
end
|
|
@@ -268,6 +273,12 @@ module Akeyless
|
|
|
268
273
|
end
|
|
269
274
|
end
|
|
270
275
|
|
|
276
|
+
if attributes.key?(:'uid_expiration_events')
|
|
277
|
+
if (value = attributes[:'uid_expiration_events']).is_a?(Array)
|
|
278
|
+
self.uid_expiration_events = value
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
271
282
|
if attributes.key?(:'universal_identity_access_rules')
|
|
272
283
|
self.universal_identity_access_rules = attributes[:'universal_identity_access_rules']
|
|
273
284
|
end
|
|
@@ -318,6 +329,7 @@ module Akeyless
|
|
|
318
329
|
rules_type == o.rules_type &&
|
|
319
330
|
saml_access_rules == o.saml_access_rules &&
|
|
320
331
|
sub_claims_delimiters == o.sub_claims_delimiters &&
|
|
332
|
+
uid_expiration_events == o.uid_expiration_events &&
|
|
321
333
|
universal_identity_access_rules == o.universal_identity_access_rules
|
|
322
334
|
end
|
|
323
335
|
|
|
@@ -330,7 +342,7 @@ module Akeyless
|
|
|
330
342
|
# Calculates hash code according to all attributes.
|
|
331
343
|
# @return [Integer] Hash code
|
|
332
344
|
def hash
|
|
333
|
-
[access_expires, access_id_alias, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, universal_identity_access_rules].hash
|
|
345
|
+
[access_expires, access_id_alias, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
334
346
|
end
|
|
335
347
|
|
|
336
348
|
# Builds the object from hash
|
|
@@ -76,6 +76,9 @@ module Akeyless
|
|
|
76
76
|
# A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a \"sub claim\" that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
|
|
77
77
|
attr_accessor :unique_identifier
|
|
78
78
|
|
|
79
|
+
# Use dedicated per-access-id SP URLs for login
|
|
80
|
+
attr_accessor :use_dedicated_saml_urls
|
|
81
|
+
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
@@ -98,7 +101,8 @@ module Akeyless
|
|
|
98
101
|
:'subclaims_delimiters' => :'subclaims-delimiters',
|
|
99
102
|
:'token' => :'token',
|
|
100
103
|
:'uid_token' => :'uid-token',
|
|
101
|
-
:'unique_identifier' => :'unique-identifier'
|
|
104
|
+
:'unique_identifier' => :'unique-identifier',
|
|
105
|
+
:'use_dedicated_saml_urls' => :'use-dedicated-saml-urls'
|
|
102
106
|
}
|
|
103
107
|
end
|
|
104
108
|
|
|
@@ -129,7 +133,8 @@ module Akeyless
|
|
|
129
133
|
:'subclaims_delimiters' => :'Array<String>',
|
|
130
134
|
:'token' => :'String',
|
|
131
135
|
:'uid_token' => :'String',
|
|
132
|
-
:'unique_identifier' => :'String'
|
|
136
|
+
:'unique_identifier' => :'String',
|
|
137
|
+
:'use_dedicated_saml_urls' => :'Boolean'
|
|
133
138
|
}
|
|
134
139
|
end
|
|
135
140
|
|
|
@@ -259,6 +264,10 @@ module Akeyless
|
|
|
259
264
|
else
|
|
260
265
|
self.unique_identifier = nil
|
|
261
266
|
end
|
|
267
|
+
|
|
268
|
+
if attributes.key?(:'use_dedicated_saml_urls')
|
|
269
|
+
self.use_dedicated_saml_urls = attributes[:'use_dedicated_saml_urls']
|
|
270
|
+
end
|
|
262
271
|
end
|
|
263
272
|
|
|
264
273
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -310,7 +319,8 @@ module Akeyless
|
|
|
310
319
|
subclaims_delimiters == o.subclaims_delimiters &&
|
|
311
320
|
token == o.token &&
|
|
312
321
|
uid_token == o.uid_token &&
|
|
313
|
-
unique_identifier == o.unique_identifier
|
|
322
|
+
unique_identifier == o.unique_identifier &&
|
|
323
|
+
use_dedicated_saml_urls == o.use_dedicated_saml_urls
|
|
314
324
|
end
|
|
315
325
|
|
|
316
326
|
# @see the `==` method
|
|
@@ -322,7 +332,7 @@ module Akeyless
|
|
|
322
332
|
# Calculates hash code according to all attributes.
|
|
323
333
|
# @return [Integer] Hash code
|
|
324
334
|
def hash
|
|
325
|
-
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
335
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
326
336
|
end
|
|
327
337
|
|
|
328
338
|
# Builds the object from hash
|
|
@@ -73,6 +73,9 @@ module Akeyless
|
|
|
73
73
|
# Token ttl
|
|
74
74
|
attr_accessor :ttl
|
|
75
75
|
|
|
76
|
+
# Notify when this percent of the token TTL has elapsed (1-99).
|
|
77
|
+
attr_accessor :uid_expiration_event_at
|
|
78
|
+
|
|
76
79
|
# The universal identity token, Required only for universal_identity authentication
|
|
77
80
|
attr_accessor :uid_token
|
|
78
81
|
|
|
@@ -98,6 +101,7 @@ module Akeyless
|
|
|
98
101
|
:'token' => :'token',
|
|
99
102
|
:'tree_length' => :'tree-length',
|
|
100
103
|
:'ttl' => :'ttl',
|
|
104
|
+
:'uid_expiration_event_at' => :'uid-expiration-event-at',
|
|
101
105
|
:'uid_token' => :'uid-token'
|
|
102
106
|
}
|
|
103
107
|
end
|
|
@@ -129,6 +133,7 @@ module Akeyless
|
|
|
129
133
|
:'token' => :'String',
|
|
130
134
|
:'tree_length' => :'Integer',
|
|
131
135
|
:'ttl' => :'Integer',
|
|
136
|
+
:'uid_expiration_event_at' => :'Array<String>',
|
|
132
137
|
:'uid_token' => :'String'
|
|
133
138
|
}
|
|
134
139
|
end
|
|
@@ -256,6 +261,12 @@ module Akeyless
|
|
|
256
261
|
self.ttl = 60
|
|
257
262
|
end
|
|
258
263
|
|
|
264
|
+
if attributes.key?(:'uid_expiration_event_at')
|
|
265
|
+
if (value = attributes[:'uid_expiration_event_at']).is_a?(Array)
|
|
266
|
+
self.uid_expiration_event_at = value
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
259
270
|
if attributes.key?(:'uid_token')
|
|
260
271
|
self.uid_token = attributes[:'uid_token']
|
|
261
272
|
end
|
|
@@ -305,6 +316,7 @@ module Akeyless
|
|
|
305
316
|
token == o.token &&
|
|
306
317
|
tree_length == o.tree_length &&
|
|
307
318
|
ttl == o.ttl &&
|
|
319
|
+
uid_expiration_event_at == o.uid_expiration_event_at &&
|
|
308
320
|
uid_token == o.uid_token
|
|
309
321
|
end
|
|
310
322
|
|
|
@@ -317,7 +329,7 @@ module Akeyless
|
|
|
317
329
|
# Calculates hash code according to all attributes.
|
|
318
330
|
# @return [Integer] Hash code
|
|
319
331
|
def 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
|
|
332
|
+
[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_expiration_event_at, uid_token].hash
|
|
321
333
|
end
|
|
322
334
|
|
|
323
335
|
# Builds the object from hash
|
|
@@ -79,6 +79,9 @@ module Akeyless
|
|
|
79
79
|
# A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a \"sub claim\" that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization.
|
|
80
80
|
attr_accessor :unique_identifier
|
|
81
81
|
|
|
82
|
+
# Use dedicated per-access-id SP URLs for login
|
|
83
|
+
attr_accessor :use_dedicated_saml_urls
|
|
84
|
+
|
|
82
85
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
83
86
|
def self.attribute_map
|
|
84
87
|
{
|
|
@@ -102,7 +105,8 @@ module Akeyless
|
|
|
102
105
|
:'subclaims_delimiters' => :'subclaims-delimiters',
|
|
103
106
|
:'token' => :'token',
|
|
104
107
|
:'uid_token' => :'uid-token',
|
|
105
|
-
:'unique_identifier' => :'unique-identifier'
|
|
108
|
+
:'unique_identifier' => :'unique-identifier',
|
|
109
|
+
:'use_dedicated_saml_urls' => :'use-dedicated-saml-urls'
|
|
106
110
|
}
|
|
107
111
|
end
|
|
108
112
|
|
|
@@ -134,7 +138,8 @@ module Akeyless
|
|
|
134
138
|
:'subclaims_delimiters' => :'Array<String>',
|
|
135
139
|
:'token' => :'String',
|
|
136
140
|
:'uid_token' => :'String',
|
|
137
|
-
:'unique_identifier' => :'String'
|
|
141
|
+
:'unique_identifier' => :'String',
|
|
142
|
+
:'use_dedicated_saml_urls' => :'Boolean'
|
|
138
143
|
}
|
|
139
144
|
end
|
|
140
145
|
|
|
@@ -268,6 +273,10 @@ module Akeyless
|
|
|
268
273
|
else
|
|
269
274
|
self.unique_identifier = nil
|
|
270
275
|
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'use_dedicated_saml_urls')
|
|
278
|
+
self.use_dedicated_saml_urls = attributes[:'use_dedicated_saml_urls']
|
|
279
|
+
end
|
|
271
280
|
end
|
|
272
281
|
|
|
273
282
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -320,7 +329,8 @@ module Akeyless
|
|
|
320
329
|
subclaims_delimiters == o.subclaims_delimiters &&
|
|
321
330
|
token == o.token &&
|
|
322
331
|
uid_token == o.uid_token &&
|
|
323
|
-
unique_identifier == o.unique_identifier
|
|
332
|
+
unique_identifier == o.unique_identifier &&
|
|
333
|
+
use_dedicated_saml_urls == o.use_dedicated_saml_urls
|
|
324
334
|
end
|
|
325
335
|
|
|
326
336
|
# @see the `==` method
|
|
@@ -332,7 +342,7 @@ module Akeyless
|
|
|
332
342
|
# Calculates hash code according to all attributes.
|
|
333
343
|
# @return [Integer] Hash code
|
|
334
344
|
def hash
|
|
335
|
-
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
345
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
336
346
|
end
|
|
337
347
|
|
|
338
348
|
# Builds the object from hash
|