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
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Lock this secret for read/update while an SRA session is active
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# The DB name (relevant only for DB Dynamic-Secret)
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -25,7 +25,6 @@ module Akeyless
|
|
|
25
25
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
26
26
|
attr_accessor :authentication_credentials
|
|
27
27
|
|
|
28
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
29
28
|
attr_accessor :auto_rotate
|
|
30
29
|
|
|
31
30
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -52,7 +51,6 @@ module Akeyless
|
|
|
52
51
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
53
52
|
attr_accessor :keep_prev_version
|
|
54
53
|
|
|
55
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
56
54
|
attr_accessor :key
|
|
57
55
|
|
|
58
56
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
@@ -76,10 +74,8 @@ module Akeyless
|
|
|
76
74
|
# How many days before the rotation of the item would you like to be notified
|
|
77
75
|
attr_accessor :rotation_event_in
|
|
78
76
|
|
|
79
|
-
# The Hour of the rotation in UTC
|
|
80
77
|
attr_accessor :rotation_hour
|
|
81
78
|
|
|
82
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
83
79
|
attr_accessor :rotation_interval
|
|
84
80
|
|
|
85
81
|
# For rotator-type=token, optionally set/replace the stored Splunk authentication token value.
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Private key file contents encoded using base64
|
|
@@ -84,10 +82,8 @@ module Akeyless
|
|
|
84
82
|
# How many days before the rotation of the item would you like to be notified
|
|
85
83
|
attr_accessor :rotation_event_in
|
|
86
84
|
|
|
87
|
-
# The Hour of the rotation in UTC
|
|
88
85
|
attr_accessor :rotation_hour
|
|
89
86
|
|
|
90
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
91
87
|
attr_accessor :rotation_interval
|
|
92
88
|
|
|
93
89
|
# Custom rotation command
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Lock this secret for read/update while an SRA session is active
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# The rotator type. options: [target/password]
|
|
@@ -24,6 +24,12 @@ module Akeyless
|
|
|
24
24
|
# Secret name (dynamic secret or rotated secret)
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
+
# Original natural-language prompt from the user (optional, for auditing)
|
|
28
|
+
attr_accessor :original_prompt
|
|
29
|
+
|
|
30
|
+
# Human end-user behind the agent (optional, for auditing)
|
|
31
|
+
attr_accessor :original_user
|
|
32
|
+
|
|
27
33
|
# Query or action payload (SQL, natural language, or CLI-style)
|
|
28
34
|
attr_accessor :payload
|
|
29
35
|
|
|
@@ -39,6 +45,8 @@ module Akeyless
|
|
|
39
45
|
:'agent_id' => :'agent-id',
|
|
40
46
|
:'json' => :'json',
|
|
41
47
|
:'name' => :'name',
|
|
48
|
+
:'original_prompt' => :'original-prompt',
|
|
49
|
+
:'original_user' => :'original-user',
|
|
42
50
|
:'payload' => :'payload',
|
|
43
51
|
:'token' => :'token',
|
|
44
52
|
:'uid_token' => :'uid-token'
|
|
@@ -56,6 +64,8 @@ module Akeyless
|
|
|
56
64
|
:'agent_id' => :'String',
|
|
57
65
|
:'json' => :'Boolean',
|
|
58
66
|
:'name' => :'String',
|
|
67
|
+
:'original_prompt' => :'String',
|
|
68
|
+
:'original_user' => :'String',
|
|
59
69
|
:'payload' => :'String',
|
|
60
70
|
:'token' => :'String',
|
|
61
71
|
:'uid_token' => :'String'
|
|
@@ -101,6 +111,14 @@ module Akeyless
|
|
|
101
111
|
self.name = nil
|
|
102
112
|
end
|
|
103
113
|
|
|
114
|
+
if attributes.key?(:'original_prompt')
|
|
115
|
+
self.original_prompt = attributes[:'original_prompt']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'original_user')
|
|
119
|
+
self.original_user = attributes[:'original_user']
|
|
120
|
+
end
|
|
121
|
+
|
|
104
122
|
if attributes.key?(:'payload')
|
|
105
123
|
self.payload = attributes[:'payload']
|
|
106
124
|
else
|
|
@@ -154,6 +172,8 @@ module Akeyless
|
|
|
154
172
|
agent_id == o.agent_id &&
|
|
155
173
|
json == o.json &&
|
|
156
174
|
name == o.name &&
|
|
175
|
+
original_prompt == o.original_prompt &&
|
|
176
|
+
original_user == o.original_user &&
|
|
157
177
|
payload == o.payload &&
|
|
158
178
|
token == o.token &&
|
|
159
179
|
uid_token == o.uid_token
|
|
@@ -168,7 +188,7 @@ module Akeyless
|
|
|
168
188
|
# Calculates hash code according to all attributes.
|
|
169
189
|
# @return [Integer] Hash code
|
|
170
190
|
def hash
|
|
171
|
-
[agent_id, json, name, payload, token, uid_token].hash
|
|
191
|
+
[agent_id, json, name, original_prompt, original_user, payload, token, uid_token].hash
|
|
172
192
|
end
|
|
173
193
|
|
|
174
194
|
# Builds the object from hash
|
|
@@ -30,6 +30,9 @@ module Akeyless
|
|
|
30
30
|
# A unique identifier to distinguish different users
|
|
31
31
|
attr_accessor :unique_identifier
|
|
32
32
|
|
|
33
|
+
# When true, the login AuthnRequest is signed with this access method's dedicated SP identity (Entity ID https://<sp>/saml/sp/{access_id} and ACS https://<sp>/saml/acs/{access_id}) instead of the shared global identity. Default false keeps the legacy global identity for backward compatibility.
|
|
34
|
+
attr_accessor :use_dedicated_saml_urls
|
|
35
|
+
|
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
37
|
def self.attribute_map
|
|
35
38
|
{
|
|
@@ -37,7 +40,8 @@ module Akeyless
|
|
|
37
40
|
:'bound_attributes' => :'bound_attributes',
|
|
38
41
|
:'idp_metadata_url' => :'idp_metadata_url',
|
|
39
42
|
:'idp_metadata_xml' => :'idp_metadata_xml',
|
|
40
|
-
:'unique_identifier' => :'unique_identifier'
|
|
43
|
+
:'unique_identifier' => :'unique_identifier',
|
|
44
|
+
:'use_dedicated_saml_urls' => :'use_dedicated_saml_urls'
|
|
41
45
|
}
|
|
42
46
|
end
|
|
43
47
|
|
|
@@ -53,7 +57,8 @@ module Akeyless
|
|
|
53
57
|
:'bound_attributes' => :'Array<SAMLAttribute>',
|
|
54
58
|
:'idp_metadata_url' => :'String',
|
|
55
59
|
:'idp_metadata_xml' => :'String',
|
|
56
|
-
:'unique_identifier' => :'String'
|
|
60
|
+
:'unique_identifier' => :'String',
|
|
61
|
+
:'use_dedicated_saml_urls' => :'Boolean'
|
|
57
62
|
}
|
|
58
63
|
end
|
|
59
64
|
|
|
@@ -101,6 +106,10 @@ module Akeyless
|
|
|
101
106
|
if attributes.key?(:'unique_identifier')
|
|
102
107
|
self.unique_identifier = attributes[:'unique_identifier']
|
|
103
108
|
end
|
|
109
|
+
|
|
110
|
+
if attributes.key?(:'use_dedicated_saml_urls')
|
|
111
|
+
self.use_dedicated_saml_urls = attributes[:'use_dedicated_saml_urls']
|
|
112
|
+
end
|
|
104
113
|
end
|
|
105
114
|
|
|
106
115
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -127,7 +136,8 @@ module Akeyless
|
|
|
127
136
|
bound_attributes == o.bound_attributes &&
|
|
128
137
|
idp_metadata_url == o.idp_metadata_url &&
|
|
129
138
|
idp_metadata_xml == o.idp_metadata_xml &&
|
|
130
|
-
unique_identifier == o.unique_identifier
|
|
139
|
+
unique_identifier == o.unique_identifier &&
|
|
140
|
+
use_dedicated_saml_urls == o.use_dedicated_saml_urls
|
|
131
141
|
end
|
|
132
142
|
|
|
133
143
|
# @see the `==` method
|
|
@@ -139,7 +149,7 @@ module Akeyless
|
|
|
139
149
|
# Calculates hash code according to all attributes.
|
|
140
150
|
# @return [Integer] Hash code
|
|
141
151
|
def hash
|
|
142
|
-
[allowed_redirect_uris, bound_attributes, idp_metadata_url, idp_metadata_xml, unique_identifier].hash
|
|
152
|
+
[allowed_redirect_uris, bound_attributes, idp_metadata_url, idp_metadata_xml, unique_identifier, use_dedicated_saml_urls].hash
|
|
143
153
|
end
|
|
144
154
|
|
|
145
155
|
# Builds the object from hash
|
|
@@ -49,6 +49,10 @@ module Akeyless
|
|
|
49
49
|
|
|
50
50
|
attr_accessor :version
|
|
51
51
|
|
|
52
|
+
attr_accessor :version_id
|
|
53
|
+
|
|
54
|
+
attr_accessor :version_ids
|
|
55
|
+
|
|
52
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
57
|
def self.attribute_map
|
|
54
58
|
{
|
|
@@ -68,7 +72,9 @@ module Akeyless
|
|
|
68
72
|
:'tags' => :'tags',
|
|
69
73
|
:'thumbprint' => :'thumbprint',
|
|
70
74
|
:'type' => :'type',
|
|
71
|
-
:'version' => :'version'
|
|
75
|
+
:'version' => :'version',
|
|
76
|
+
:'version_id' => :'version_id',
|
|
77
|
+
:'version_ids' => :'version_ids'
|
|
72
78
|
}
|
|
73
79
|
end
|
|
74
80
|
|
|
@@ -96,7 +102,9 @@ module Akeyless
|
|
|
96
102
|
:'tags' => :'Hash<String, String>',
|
|
97
103
|
:'thumbprint' => :'String',
|
|
98
104
|
:'type' => :'String',
|
|
99
|
-
:'version' => :'Integer'
|
|
105
|
+
:'version' => :'Integer',
|
|
106
|
+
:'version_id' => :'String',
|
|
107
|
+
:'version_ids' => :'Array<String>'
|
|
100
108
|
}
|
|
101
109
|
end
|
|
102
110
|
|
|
@@ -191,6 +199,16 @@ module Akeyless
|
|
|
191
199
|
if attributes.key?(:'version')
|
|
192
200
|
self.version = attributes[:'version']
|
|
193
201
|
end
|
|
202
|
+
|
|
203
|
+
if attributes.key?(:'version_id')
|
|
204
|
+
self.version_id = attributes[:'version_id']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'version_ids')
|
|
208
|
+
if (value = attributes[:'version_ids']).is_a?(Array)
|
|
209
|
+
self.version_ids = value
|
|
210
|
+
end
|
|
211
|
+
end
|
|
194
212
|
end
|
|
195
213
|
|
|
196
214
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -229,7 +247,9 @@ module Akeyless
|
|
|
229
247
|
tags == o.tags &&
|
|
230
248
|
thumbprint == o.thumbprint &&
|
|
231
249
|
type == o.type &&
|
|
232
|
-
version == o.version
|
|
250
|
+
version == o.version &&
|
|
251
|
+
version_id == o.version_id &&
|
|
252
|
+
version_ids == o.version_ids
|
|
233
253
|
end
|
|
234
254
|
|
|
235
255
|
# @see the `==` method
|
|
@@ -241,7 +261,7 @@ module Akeyless
|
|
|
241
261
|
# Calculates hash code according to all attributes.
|
|
242
262
|
# @return [Integer] Hash code
|
|
243
263
|
def hash
|
|
244
|
-
[activation_date, created, description, expiration, github, key_id, last_retrieved, location, name, namespace, region, secret_id, status, tags, thumbprint, type, version].hash
|
|
264
|
+
[activation_date, created, description, expiration, github, key_id, last_retrieved, location, name, namespace, region, secret_id, status, tags, thumbprint, type, version, version_id, version_ids].hash
|
|
245
265
|
end
|
|
246
266
|
|
|
247
267
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class StaticSecretDetailsInfo
|
|
18
|
+
attr_accessor :file_info
|
|
19
|
+
|
|
18
20
|
# StaticSecretFormat defines the format of static secret (e.g. Text)
|
|
19
21
|
attr_accessor :format
|
|
20
22
|
|
|
@@ -34,6 +36,7 @@ module Akeyless
|
|
|
34
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
37
|
def self.attribute_map
|
|
36
38
|
{
|
|
39
|
+
:'file_info' => :'file_info',
|
|
37
40
|
:'format' => :'format',
|
|
38
41
|
:'max_versions' => :'max_versions',
|
|
39
42
|
:'notify_on_change_event' => :'notify_on_change_event',
|
|
@@ -52,6 +55,7 @@ module Akeyless
|
|
|
52
55
|
# Attribute type mapping.
|
|
53
56
|
def self.openapi_types
|
|
54
57
|
{
|
|
58
|
+
:'file_info' => :'FileInfo',
|
|
55
59
|
:'format' => :'String',
|
|
56
60
|
:'max_versions' => :'Integer',
|
|
57
61
|
:'notify_on_change_event' => :'Boolean',
|
|
@@ -83,6 +87,10 @@ module Akeyless
|
|
|
83
87
|
h[k.to_sym] = v
|
|
84
88
|
}
|
|
85
89
|
|
|
90
|
+
if attributes.key?(:'file_info')
|
|
91
|
+
self.file_info = attributes[:'file_info']
|
|
92
|
+
end
|
|
93
|
+
|
|
86
94
|
if attributes.key?(:'format')
|
|
87
95
|
self.format = attributes[:'format']
|
|
88
96
|
end
|
|
@@ -134,6 +142,7 @@ module Akeyless
|
|
|
134
142
|
def ==(o)
|
|
135
143
|
return true if self.equal?(o)
|
|
136
144
|
self.class == o.class &&
|
|
145
|
+
file_info == o.file_info &&
|
|
137
146
|
format == o.format &&
|
|
138
147
|
max_versions == o.max_versions &&
|
|
139
148
|
notify_on_change_event == o.notify_on_change_event &&
|
|
@@ -152,7 +161,7 @@ module Akeyless
|
|
|
152
161
|
# Calculates hash code according to all attributes.
|
|
153
162
|
# @return [Integer] Hash code
|
|
154
163
|
def hash
|
|
155
|
-
[format, max_versions, notify_on_change_event, password_security_info, username, website, websites].hash
|
|
164
|
+
[file_info, format, max_versions, notify_on_change_event, password_security_info, username, website, websites].hash
|
|
156
165
|
end
|
|
157
166
|
|
|
158
167
|
# Builds the object from hash
|
|
@@ -45,7 +45,7 @@ module Akeyless
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'delete_remote' => :'
|
|
48
|
+
:'delete_remote' => :'delete-remote',
|
|
49
49
|
:'filter_secret_value' => :'filter-secret-value',
|
|
50
50
|
:'json' => :'json',
|
|
51
51
|
:'name' => :'name',
|