akeyless 5.0.39 → 5.0.41
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/LICENSE +190 -0
- data/README.md +34 -1
- data/akeyless.gemspec +1 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AliCloudTargetDetails.md +28 -0
- data/docs/AnthropicTargetDetails.md +15 -1
- data/docs/AssocTargetItem.md +12 -0
- data/docs/AtlassianTargetDetails.md +46 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateAliCloud.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +10 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateOutput.md +3 -1
- data/docs/AuthMethodCreateSAML.md +10 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +3 -1
- data/docs/AuthMethodList.md +2 -0
- data/docs/AuthMethodUpdateAliCloud.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +10 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateOutput.md +3 -1
- data/docs/AuthMethodUpdateSAML.md +10 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +3 -1
- data/docs/CacheConfigPart.md +2 -0
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +3 -1
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +28 -0
- data/docs/DigiCertTargetDetails.md +2 -0
- data/docs/DynamicSecretCreateAliCloud.md +94 -0
- data/docs/DynamicSecretCreateEks.md +3 -1
- data/docs/DynamicSecretCreateGke.md +3 -1
- data/docs/DynamicSecretCreateK8s.md +3 -1
- data/docs/DynamicSecretUpdateAliCloud.md +96 -0
- data/docs/DynamicSecretUpdateEks.md +3 -1
- data/docs/DynamicSecretUpdateGke.md +3 -1
- data/docs/DynamicSecretUpdateK8s.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateTeams.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateTeams.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerEks.md +3 -1
- data/docs/GatewayCreateProducerGke.md +3 -1
- data/docs/GatewayCreateProducerNativeK8S.md +3 -1
- data/docs/GatewayUpdateCache.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +3 -1
- data/docs/GatewayUpdateProducerGke.md +3 -1
- data/docs/GatewayUpdateProducerNativeK8S.md +3 -1
- data/docs/GetGroupOutput.md +13 -1
- data/docs/GetScimStatus.md +24 -0
- data/docs/GrantedRole.md +20 -0
- data/docs/Group.md +13 -1
- data/docs/ListAuthMethods.md +2 -0
- data/docs/ListTargets.md +1 -1
- data/docs/ProvisionCertificate.md +2 -0
- data/docs/ProvisionCertificateOutput.md +7 -1
- data/docs/ProvisionSSHRotatedSecretOutput.md +24 -0
- data/docs/RotatedSecretCreateAliCloud.md +90 -0
- data/docs/RotatedSecretCreateAzure.md +1 -1
- data/docs/RotatedSecretDetailsInfo.md +2 -0
- data/docs/RotatedSecretProvisionAssocOutput.md +20 -0
- data/docs/RotatedSecretProvisionCreate.md +36 -0
- data/docs/RotatedSecretProvisionDelete.md +26 -0
- data/docs/RotatedSecretProvisionPush.md +26 -0
- data/docs/RotatedSecretProvisionUpdate.md +38 -0
- data/docs/RotatedSecretUpdateAliCloud.md +92 -0
- data/docs/RotatedSecretUpdateAzure.md +1 -1
- data/docs/ScimSettings.md +30 -0
- data/docs/ScimStatus.md +42 -0
- data/docs/TargetCreateAliCloud.md +52 -0
- data/docs/TargetCreateAnthropic.md +15 -1
- data/docs/TargetCreateAtlassian.md +68 -0
- data/docs/TargetCreateDigiCert.md +2 -0
- data/docs/TargetList.md +1 -1
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAliCloud.md +56 -0
- data/docs/TargetUpdateAnthropic.md +15 -1
- data/docs/TargetUpdateAtlassian.md +72 -0
- data/docs/TargetUpdateDigiCert.md +2 -0
- data/docs/UpdateAccountSettings.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +3 -1
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +3 -1
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +826 -6
- data/lib/akeyless/api/v2_api.rb +892 -60
- data/lib/akeyless/models/account_general_settings.rb +23 -1
- data/lib/akeyless/models/ali_cloud_target_details.rb +259 -0
- data/lib/akeyless/models/anthropic_target_details.rb +74 -4
- data/lib/akeyless/models/assoc_target_item.rb +63 -1
- data/lib/akeyless/models/atlassian_target_details.rb +346 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +1 -1
- data/lib/akeyless/models/auth.rb +11 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/auth_method_create_ali_cloud.rb +11 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_create_email.rb +11 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +11 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +51 -1
- data/lib/akeyless/models/auth_method_create_output.rb +14 -4
- data/lib/akeyless/models/auth_method_create_saml.rb +51 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -2
- data/lib/akeyless/models/auth_method_list.rb +11 -1
- data/lib/akeyless/models/auth_method_update_ali_cloud.rb +11 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_email.rb +11 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +11 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +51 -1
- data/lib/akeyless/models/auth_method_update_output.rb +14 -4
- data/lib/akeyless/models/auth_method_update_saml.rb +51 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -2
- data/lib/akeyless/models/cache_config_part.rb +10 -1
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -2
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/create_secret.rb +3 -0
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +127 -1
- data/lib/akeyless/models/dynamic_secret_create_ali_cloud.rb +625 -0
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_ali_cloud.rb +635 -0
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +12 -2
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +12 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_delete_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_start_producer.rb +4 -0
- data/lib/akeyless/models/gateway_stop_producer.rb +4 -0
- data/lib/akeyless/models/gateway_update_cache.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +12 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_update_tmp_users.rb +4 -0
- data/lib/akeyless/models/get_group_output.rb +63 -4
- data/lib/akeyless/models/get_scim_status.rb +254 -0
- data/lib/akeyless/models/granted_role.rb +224 -0
- data/lib/akeyless/models/group.rb +63 -4
- data/lib/akeyless/models/list_auth_methods.rb +11 -1
- data/lib/akeyless/models/list_targets.rb +1 -1
- data/lib/akeyless/models/provision_certificate.rb +12 -1
- data/lib/akeyless/models/provision_certificate_output.rb +35 -4
- data/lib/akeyless/models/provision_ssh_rotated_secret_output.rb +243 -0
- data/lib/akeyless/models/rotated_secret_create_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_create_azure.rb +1 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +11 -1
- data/lib/akeyless/models/rotated_secret_provision_assoc_output.rb +223 -0
- data/lib/akeyless/models/rotated_secret_provision_create.rb +322 -0
- data/lib/akeyless/models/rotated_secret_provision_delete.rb +271 -0
- data/lib/akeyless/models/rotated_secret_provision_push.rb +271 -0
- data/lib/akeyless/models/rotated_secret_provision_update.rb +332 -0
- data/lib/akeyless/models/rotated_secret_update_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/scim_settings.rb +271 -0
- data/lib/akeyless/models/scim_status.rb +323 -0
- data/lib/akeyless/models/target_create_ali_cloud.rb +394 -0
- data/lib/akeyless/models/target_create_anthropic.rb +74 -4
- data/lib/akeyless/models/target_create_atlassian.rb +476 -0
- data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
- data/lib/akeyless/models/target_list.rb +1 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_ali_cloud.rb +414 -0
- data/lib/akeyless/models/target_update_anthropic.rb +74 -4
- data/lib/akeyless/models/target_update_atlassian.rb +496 -0
- data/lib/akeyless/models/target_update_digi_cert.rb +11 -1
- data/lib/akeyless/models/update_account_settings.rb +11 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -2
- data/lib/akeyless/models/update_item.rb +23 -2
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/update_rotated_secret.rb +20 -2
- data/lib/akeyless/models/usc_create.rb +12 -2
- data/lib/akeyless/models/usc_delete.rb +21 -1
- data/lib/akeyless/models/usc_get.rb +21 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_update.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +20 -0
- data/spec/models/ali_cloud_target_details_spec.rb +66 -0
- data/spec/models/atlassian_target_details_spec.rb +120 -0
- data/spec/models/dynamic_secret_create_ali_cloud_spec.rb +264 -0
- data/spec/models/dynamic_secret_update_ali_cloud_spec.rb +270 -0
- data/spec/models/get_scim_status_spec.rb +54 -0
- data/spec/models/granted_role_spec.rb +42 -0
- data/spec/models/provision_ssh_rotated_secret_output_spec.rb +54 -0
- data/spec/models/rotated_secret_create_ali_cloud_spec.rb +252 -0
- data/spec/models/rotated_secret_provision_assoc_output_spec.rb +42 -0
- data/spec/models/rotated_secret_provision_create_spec.rb +90 -0
- data/spec/models/rotated_secret_provision_delete_spec.rb +60 -0
- data/spec/models/rotated_secret_provision_push_spec.rb +60 -0
- data/spec/models/rotated_secret_provision_update_spec.rb +96 -0
- data/spec/models/rotated_secret_update_ali_cloud_spec.rb +258 -0
- data/spec/models/scim_settings_spec.rb +72 -0
- data/spec/models/scim_status_spec.rb +108 -0
- data/spec/models/target_create_ali_cloud_spec.rb +138 -0
- data/spec/models/target_create_atlassian_spec.rb +186 -0
- data/spec/models/target_update_ali_cloud_spec.rb +150 -0
- data/spec/models/target_update_atlassian_spec.rb +198 -0
- metadata +96 -15
|
@@ -57,6 +57,9 @@ module Akeyless
|
|
|
57
57
|
|
|
58
58
|
attr_accessor :enable_search_history
|
|
59
59
|
|
|
60
|
+
# EventForwarderAllowedEmailDomains lists extra recipient domains for email event forwarders. The signup email domain is always allowed as well. Account-settings updates leave this field unchanged.
|
|
61
|
+
attr_accessor :event_forwarder_allowed_email_domains
|
|
62
|
+
|
|
60
63
|
attr_accessor :hide_personal_folder
|
|
61
64
|
|
|
62
65
|
attr_accessor :hide_secret_reveal_copy
|
|
@@ -83,6 +86,9 @@ module Akeyless
|
|
|
83
86
|
|
|
84
87
|
attr_accessor :protect_items_by_default
|
|
85
88
|
|
|
89
|
+
# RequireAuthMethodOwner makes an owner mandatory when creating auth methods and on general-info updates of auth methods (see AuthMethodGeneralInfoUpdateModes).
|
|
90
|
+
attr_accessor :require_auth_method_owner
|
|
91
|
+
|
|
86
92
|
attr_accessor :rotation_secret_max_interval
|
|
87
93
|
|
|
88
94
|
attr_accessor :sharing_policy
|
|
@@ -109,6 +115,7 @@ module Akeyless
|
|
|
109
115
|
:'email_customization' => :'email_customization',
|
|
110
116
|
:'enable_request_for_access' => :'enable_request_for_access',
|
|
111
117
|
:'enable_search_history' => :'enable_search_history',
|
|
118
|
+
:'event_forwarder_allowed_email_domains' => :'event_forwarder_allowed_email_domains',
|
|
112
119
|
:'hide_personal_folder' => :'hide_personal_folder',
|
|
113
120
|
:'hide_secret_reveal_copy' => :'hide_secret_reveal_copy',
|
|
114
121
|
:'hide_static_password' => :'hide_static_password',
|
|
@@ -121,6 +128,7 @@ module Akeyless
|
|
|
121
128
|
:'password_score' => :'password_score',
|
|
122
129
|
:'personal_folder_global_mapping' => :'personal_folder_global_mapping',
|
|
123
130
|
:'protect_items_by_default' => :'protect_items_by_default',
|
|
131
|
+
:'require_auth_method_owner' => :'require_auth_method_owner',
|
|
124
132
|
:'rotation_secret_max_interval' => :'rotation_secret_max_interval',
|
|
125
133
|
:'sharing_policy' => :'sharing_policy'
|
|
126
134
|
}
|
|
@@ -153,6 +161,7 @@ module Akeyless
|
|
|
153
161
|
:'email_customization' => :'EmailCustomization',
|
|
154
162
|
:'enable_request_for_access' => :'Boolean',
|
|
155
163
|
:'enable_search_history' => :'Boolean',
|
|
164
|
+
:'event_forwarder_allowed_email_domains' => :'Array<String>',
|
|
156
165
|
:'hide_personal_folder' => :'Boolean',
|
|
157
166
|
:'hide_secret_reveal_copy' => :'Boolean',
|
|
158
167
|
:'hide_static_password' => :'Boolean',
|
|
@@ -165,6 +174,7 @@ module Akeyless
|
|
|
165
174
|
:'password_score' => :'PasswordScoreSetting',
|
|
166
175
|
:'personal_folder_global_mapping' => :'PersonalFolderGlobalMappingSettings',
|
|
167
176
|
:'protect_items_by_default' => :'Boolean',
|
|
177
|
+
:'require_auth_method_owner' => :'Boolean',
|
|
168
178
|
:'rotation_secret_max_interval' => :'RotationSecretMaxInterval',
|
|
169
179
|
:'sharing_policy' => :'SharingPolicyInfo'
|
|
170
180
|
}
|
|
@@ -267,6 +277,12 @@ module Akeyless
|
|
|
267
277
|
self.enable_search_history = attributes[:'enable_search_history']
|
|
268
278
|
end
|
|
269
279
|
|
|
280
|
+
if attributes.key?(:'event_forwarder_allowed_email_domains')
|
|
281
|
+
if (value = attributes[:'event_forwarder_allowed_email_domains']).is_a?(Array)
|
|
282
|
+
self.event_forwarder_allowed_email_domains = value
|
|
283
|
+
end
|
|
284
|
+
end
|
|
285
|
+
|
|
270
286
|
if attributes.key?(:'hide_personal_folder')
|
|
271
287
|
self.hide_personal_folder = attributes[:'hide_personal_folder']
|
|
272
288
|
end
|
|
@@ -315,6 +331,10 @@ module Akeyless
|
|
|
315
331
|
self.protect_items_by_default = attributes[:'protect_items_by_default']
|
|
316
332
|
end
|
|
317
333
|
|
|
334
|
+
if attributes.key?(:'require_auth_method_owner')
|
|
335
|
+
self.require_auth_method_owner = attributes[:'require_auth_method_owner']
|
|
336
|
+
end
|
|
337
|
+
|
|
318
338
|
if attributes.key?(:'rotation_secret_max_interval')
|
|
319
339
|
self.rotation_secret_max_interval = attributes[:'rotation_secret_max_interval']
|
|
320
340
|
end
|
|
@@ -363,6 +383,7 @@ module Akeyless
|
|
|
363
383
|
email_customization == o.email_customization &&
|
|
364
384
|
enable_request_for_access == o.enable_request_for_access &&
|
|
365
385
|
enable_search_history == o.enable_search_history &&
|
|
386
|
+
event_forwarder_allowed_email_domains == o.event_forwarder_allowed_email_domains &&
|
|
366
387
|
hide_personal_folder == o.hide_personal_folder &&
|
|
367
388
|
hide_secret_reveal_copy == o.hide_secret_reveal_copy &&
|
|
368
389
|
hide_static_password == o.hide_static_password &&
|
|
@@ -375,6 +396,7 @@ module Akeyless
|
|
|
375
396
|
password_score == o.password_score &&
|
|
376
397
|
personal_folder_global_mapping == o.personal_folder_global_mapping &&
|
|
377
398
|
protect_items_by_default == o.protect_items_by_default &&
|
|
399
|
+
require_auth_method_owner == o.require_auth_method_owner &&
|
|
378
400
|
rotation_secret_max_interval == o.rotation_secret_max_interval &&
|
|
379
401
|
sharing_policy == o.sharing_policy
|
|
380
402
|
end
|
|
@@ -388,7 +410,7 @@ module Akeyless
|
|
|
388
410
|
# Calculates hash code according to all attributes.
|
|
389
411
|
# @return [Integer] Hash code
|
|
390
412
|
def hash
|
|
391
|
-
[account_default_key_item_id, account_default_key_name, account_file_bytes_used, ai_insights, ai_quorum, 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
|
|
413
|
+
[account_default_key_item_id, account_default_key_name, account_file_bytes_used, ai_insights, ai_quorum, 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, event_forwarder_allowed_email_domains, 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, require_auth_method_owner, rotation_secret_max_interval, sharing_policy].hash
|
|
392
414
|
end
|
|
393
415
|
|
|
394
416
|
# Builds the object from hash
|
|
@@ -0,0 +1,259 @@
|
|
|
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
|
+
class AliCloudTargetDetails
|
|
18
|
+
attr_accessor :access_key
|
|
19
|
+
|
|
20
|
+
attr_accessor :access_key_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :gw_cloud_identity_external_id_opt
|
|
23
|
+
|
|
24
|
+
attr_accessor :region
|
|
25
|
+
|
|
26
|
+
attr_accessor :session_token
|
|
27
|
+
|
|
28
|
+
attr_accessor :use_gw_cloud_identity
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
|
+
def self.attribute_map
|
|
32
|
+
{
|
|
33
|
+
:'access_key' => :'access_key',
|
|
34
|
+
:'access_key_id' => :'access_key_id',
|
|
35
|
+
:'gw_cloud_identity_external_id_opt' => :'gw_cloud_identity_external_id_opt',
|
|
36
|
+
:'region' => :'region',
|
|
37
|
+
:'session_token' => :'session_token',
|
|
38
|
+
:'use_gw_cloud_identity' => :'use_gw_cloud_identity'
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Returns all the JSON keys this model knows about
|
|
43
|
+
def self.acceptable_attributes
|
|
44
|
+
attribute_map.values
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
def self.openapi_types
|
|
49
|
+
{
|
|
50
|
+
:'access_key' => :'String',
|
|
51
|
+
:'access_key_id' => :'String',
|
|
52
|
+
:'gw_cloud_identity_external_id_opt' => :'AWSGatewayCloudIdentityExternalIdOpt',
|
|
53
|
+
:'region' => :'String',
|
|
54
|
+
:'session_token' => :'String',
|
|
55
|
+
:'use_gw_cloud_identity' => :'Boolean'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# List of attributes with nullable: true
|
|
60
|
+
def self.openapi_nullable
|
|
61
|
+
Set.new([
|
|
62
|
+
])
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Initializes the object
|
|
66
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
def initialize(attributes = {})
|
|
68
|
+
if (!attributes.is_a?(Hash))
|
|
69
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AliCloudTargetDetails` initialize method"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
73
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AliCloudTargetDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
76
|
+
end
|
|
77
|
+
h[k.to_sym] = v
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'access_key')
|
|
81
|
+
self.access_key = attributes[:'access_key']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'access_key_id')
|
|
85
|
+
self.access_key_id = attributes[:'access_key_id']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'gw_cloud_identity_external_id_opt')
|
|
89
|
+
self.gw_cloud_identity_external_id_opt = attributes[:'gw_cloud_identity_external_id_opt']
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.key?(:'region')
|
|
93
|
+
self.region = attributes[:'region']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'session_token')
|
|
97
|
+
self.session_token = attributes[:'session_token']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
101
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
106
|
+
# @return Array for valid properties with the reasons
|
|
107
|
+
def list_invalid_properties
|
|
108
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
109
|
+
invalid_properties = Array.new
|
|
110
|
+
invalid_properties
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Check to see if the all the properties in the model are valid
|
|
114
|
+
# @return true if the model is valid
|
|
115
|
+
def valid?
|
|
116
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
117
|
+
true
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Checks equality by comparing each attribute.
|
|
121
|
+
# @param [Object] Object to be compared
|
|
122
|
+
def ==(o)
|
|
123
|
+
return true if self.equal?(o)
|
|
124
|
+
self.class == o.class &&
|
|
125
|
+
access_key == o.access_key &&
|
|
126
|
+
access_key_id == o.access_key_id &&
|
|
127
|
+
gw_cloud_identity_external_id_opt == o.gw_cloud_identity_external_id_opt &&
|
|
128
|
+
region == o.region &&
|
|
129
|
+
session_token == o.session_token &&
|
|
130
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# @see the `==` method
|
|
134
|
+
# @param [Object] Object to be compared
|
|
135
|
+
def eql?(o)
|
|
136
|
+
self == o
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Calculates hash code according to all attributes.
|
|
140
|
+
# @return [Integer] Hash code
|
|
141
|
+
def hash
|
|
142
|
+
[access_key, access_key_id, gw_cloud_identity_external_id_opt, region, session_token, use_gw_cloud_identity].hash
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Builds the object from hash
|
|
146
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
147
|
+
# @return [Object] Returns the model itself
|
|
148
|
+
def self.build_from_hash(attributes)
|
|
149
|
+
return nil unless attributes.is_a?(Hash)
|
|
150
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
151
|
+
transformed_hash = {}
|
|
152
|
+
openapi_types.each_pair do |key, type|
|
|
153
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
154
|
+
transformed_hash["#{key}"] = nil
|
|
155
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
156
|
+
# check to ensure the input is an array given that the attribute
|
|
157
|
+
# is documented as an array but the input is not
|
|
158
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
159
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
160
|
+
end
|
|
161
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
162
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
new(transformed_hash)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Deserializes the data based on type
|
|
169
|
+
# @param string type Data type
|
|
170
|
+
# @param string value Value to be deserialized
|
|
171
|
+
# @return [Object] Deserialized data
|
|
172
|
+
def self._deserialize(type, value)
|
|
173
|
+
case type.to_sym
|
|
174
|
+
when :Time
|
|
175
|
+
Time.parse(value)
|
|
176
|
+
when :Date
|
|
177
|
+
Date.parse(value)
|
|
178
|
+
when :String
|
|
179
|
+
value.to_s
|
|
180
|
+
when :Integer
|
|
181
|
+
value.to_i
|
|
182
|
+
when :Float
|
|
183
|
+
value.to_f
|
|
184
|
+
when :Boolean
|
|
185
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
186
|
+
true
|
|
187
|
+
else
|
|
188
|
+
false
|
|
189
|
+
end
|
|
190
|
+
when :Object
|
|
191
|
+
# generic object (usually a Hash), return directly
|
|
192
|
+
value
|
|
193
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
194
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
195
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
196
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
197
|
+
k_type = Regexp.last_match[:k_type]
|
|
198
|
+
v_type = Regexp.last_match[:v_type]
|
|
199
|
+
{}.tap do |hash|
|
|
200
|
+
value.each do |k, v|
|
|
201
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
else # model
|
|
205
|
+
# models (e.g. Pet) or oneOf
|
|
206
|
+
klass = Akeyless.const_get(type)
|
|
207
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Returns the string representation of the object
|
|
212
|
+
# @return [String] String presentation of the object
|
|
213
|
+
def to_s
|
|
214
|
+
to_hash.to_s
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
218
|
+
# @return [Hash] Returns the object in the form of hash
|
|
219
|
+
def to_body
|
|
220
|
+
to_hash
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# Returns the object in the form of hash
|
|
224
|
+
# @return [Hash] Returns the object in the form of hash
|
|
225
|
+
def to_hash
|
|
226
|
+
hash = {}
|
|
227
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
228
|
+
value = self.send(attr)
|
|
229
|
+
if value.nil?
|
|
230
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
231
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
hash[param] = _to_hash(value)
|
|
235
|
+
end
|
|
236
|
+
hash
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Outputs non-array value in the form of hash
|
|
240
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
241
|
+
# @param [Object] value Any valid value
|
|
242
|
+
# @return [Hash] Returns the value in the form of hash
|
|
243
|
+
def _to_hash(value)
|
|
244
|
+
if value.is_a?(Array)
|
|
245
|
+
value.compact.map { |v| _to_hash(v) }
|
|
246
|
+
elsif value.is_a?(Hash)
|
|
247
|
+
{}.tap do |hash|
|
|
248
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
249
|
+
end
|
|
250
|
+
elsif value.respond_to? :to_hash
|
|
251
|
+
value.to_hash
|
|
252
|
+
else
|
|
253
|
+
value
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
end
|
|
@@ -20,11 +20,39 @@ module Akeyless
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :api_key
|
|
22
22
|
|
|
23
|
+
# UseGatewayCloudIdentity authenticates with Anthropic Workload Identity Federation instead of ApiKey: the Gateway exchanges its own identity token for a short-lived Anthropic access token. ApiKey must be empty. See go/src/targets/llm/anthropic_wif_client.go.
|
|
24
|
+
attr_accessor :use_gw_cloud_identity
|
|
25
|
+
|
|
26
|
+
# WIFAzureAudience is the identifier URI (api://<app-id>) of the Entra app registration that represents the Claude API audience. Required with the azure source, empty with every other source.
|
|
27
|
+
attr_accessor :wif_azure_audience
|
|
28
|
+
|
|
29
|
+
# WIFFederationRuleID is the federation rule ID (fdrl_...).
|
|
30
|
+
attr_accessor :wif_federation_rule_id
|
|
31
|
+
|
|
32
|
+
# WIFIdentityTokenSource selects where the Gateway takes its identity token: file (default, projected Kubernetes or SPIFFE token), gcp (Google Cloud metadata server), aws (STS web identity token) or azure (Microsoft Entra ID).
|
|
33
|
+
attr_accessor :wif_identity_token_source
|
|
34
|
+
|
|
35
|
+
# WIFOrganizationID is the UUID of the Anthropic organization.
|
|
36
|
+
attr_accessor :wif_organization_id
|
|
37
|
+
|
|
38
|
+
# WIFServiceAccountID is the Claude service account ID (svac_...).
|
|
39
|
+
attr_accessor :wif_service_account_id
|
|
40
|
+
|
|
41
|
+
# WIFWorkspaceID is the optional workspace ID (wrkspc_...). Required by Anthropic only when the rule is enabled for more than one workspace.
|
|
42
|
+
attr_accessor :wif_workspace_id
|
|
43
|
+
|
|
23
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
45
|
def self.attribute_map
|
|
25
46
|
{
|
|
26
47
|
:'anthropic_url' => :'anthropic_url',
|
|
27
|
-
:'api_key' => :'api_key'
|
|
48
|
+
:'api_key' => :'api_key',
|
|
49
|
+
:'use_gw_cloud_identity' => :'use_gw_cloud_identity',
|
|
50
|
+
:'wif_azure_audience' => :'wif_azure_audience',
|
|
51
|
+
:'wif_federation_rule_id' => :'wif_federation_rule_id',
|
|
52
|
+
:'wif_identity_token_source' => :'wif_identity_token_source',
|
|
53
|
+
:'wif_organization_id' => :'wif_organization_id',
|
|
54
|
+
:'wif_service_account_id' => :'wif_service_account_id',
|
|
55
|
+
:'wif_workspace_id' => :'wif_workspace_id'
|
|
28
56
|
}
|
|
29
57
|
end
|
|
30
58
|
|
|
@@ -37,7 +65,14 @@ module Akeyless
|
|
|
37
65
|
def self.openapi_types
|
|
38
66
|
{
|
|
39
67
|
:'anthropic_url' => :'String',
|
|
40
|
-
:'api_key' => :'String'
|
|
68
|
+
:'api_key' => :'String',
|
|
69
|
+
:'use_gw_cloud_identity' => :'Boolean',
|
|
70
|
+
:'wif_azure_audience' => :'String',
|
|
71
|
+
:'wif_federation_rule_id' => :'String',
|
|
72
|
+
:'wif_identity_token_source' => :'String',
|
|
73
|
+
:'wif_organization_id' => :'String',
|
|
74
|
+
:'wif_service_account_id' => :'String',
|
|
75
|
+
:'wif_workspace_id' => :'String'
|
|
41
76
|
}
|
|
42
77
|
end
|
|
43
78
|
|
|
@@ -69,6 +104,34 @@ module Akeyless
|
|
|
69
104
|
if attributes.key?(:'api_key')
|
|
70
105
|
self.api_key = attributes[:'api_key']
|
|
71
106
|
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
109
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'wif_azure_audience')
|
|
113
|
+
self.wif_azure_audience = attributes[:'wif_azure_audience']
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'wif_federation_rule_id')
|
|
117
|
+
self.wif_federation_rule_id = attributes[:'wif_federation_rule_id']
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'wif_identity_token_source')
|
|
121
|
+
self.wif_identity_token_source = attributes[:'wif_identity_token_source']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'wif_organization_id')
|
|
125
|
+
self.wif_organization_id = attributes[:'wif_organization_id']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'wif_service_account_id')
|
|
129
|
+
self.wif_service_account_id = attributes[:'wif_service_account_id']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'wif_workspace_id')
|
|
133
|
+
self.wif_workspace_id = attributes[:'wif_workspace_id']
|
|
134
|
+
end
|
|
72
135
|
end
|
|
73
136
|
|
|
74
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -92,7 +155,14 @@ module Akeyless
|
|
|
92
155
|
return true if self.equal?(o)
|
|
93
156
|
self.class == o.class &&
|
|
94
157
|
anthropic_url == o.anthropic_url &&
|
|
95
|
-
api_key == o.api_key
|
|
158
|
+
api_key == o.api_key &&
|
|
159
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity &&
|
|
160
|
+
wif_azure_audience == o.wif_azure_audience &&
|
|
161
|
+
wif_federation_rule_id == o.wif_federation_rule_id &&
|
|
162
|
+
wif_identity_token_source == o.wif_identity_token_source &&
|
|
163
|
+
wif_organization_id == o.wif_organization_id &&
|
|
164
|
+
wif_service_account_id == o.wif_service_account_id &&
|
|
165
|
+
wif_workspace_id == o.wif_workspace_id
|
|
96
166
|
end
|
|
97
167
|
|
|
98
168
|
# @see the `==` method
|
|
@@ -104,7 +174,7 @@ module Akeyless
|
|
|
104
174
|
# Calculates hash code according to all attributes.
|
|
105
175
|
# @return [Integer] Hash code
|
|
106
176
|
def hash
|
|
107
|
-
[anthropic_url, api_key].hash
|
|
177
|
+
[anthropic_url, api_key, use_gw_cloud_identity, wif_azure_audience, wif_federation_rule_id, wif_identity_token_source, wif_organization_id, wif_service_account_id, wif_workspace_id].hash
|
|
108
178
|
end
|
|
109
179
|
|
|
110
180
|
# Builds the object from hash
|
|
@@ -19,9 +19,15 @@ module Akeyless
|
|
|
19
19
|
# Bind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format <type>:<partition>:<name> (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. For a profile in a folder, add the folder to the partition, for example client-ssl:Common/Shared:my-profile. Repeat the parameter to bind several profiles.
|
|
20
20
|
attr_accessor :bind_ssl_profiles
|
|
21
21
|
|
|
22
|
+
# The ARN of an existing imported ACM certificate to re-import into, which replaces its certificate and key; if empty, a new ACM certificate is created on every provisioning, including after renewal (relevant only for AWS certificate provisioning)
|
|
23
|
+
attr_accessor :certificate_arn
|
|
24
|
+
|
|
22
25
|
# The format the certificate will be provisioned with, available options: pem,pfx (relevant only for certificate provisioning)
|
|
23
26
|
attr_accessor :certificate_format
|
|
24
27
|
|
|
28
|
+
# The name of the certificate object in the cloud provider (relevant only for AWS, Azure, and GCP certificate provisioning)
|
|
29
|
+
attr_accessor :certificate_name
|
|
30
|
+
|
|
25
31
|
# A path on the target to store the certificate pem file (relevant only for certificate provisioning)
|
|
26
32
|
attr_accessor :certificate_path
|
|
27
33
|
|
|
@@ -34,12 +40,21 @@ module Akeyless
|
|
|
34
40
|
# The external key name to associate with the classic key (Relevant only for Classic Key AWS/Azure/GCP targets)
|
|
35
41
|
attr_accessor :external_key_name
|
|
36
42
|
|
|
43
|
+
# Save the F5 running configuration after each successful provisioning, so the certificate survives a reboot. This also saves any other unsaved change on the device (relevant only for F5 BIG-IP certificate provisioning)
|
|
44
|
+
attr_accessor :f5_save_config
|
|
45
|
+
|
|
46
|
+
# Sync the F5 configuration to this device group after each successful provisioning, so the HA peer serves the same certificate. This overwrites unsynced changes on the other members of the group. Implies f5-save-config (relevant only for F5 BIG-IP certificate provisioning)
|
|
47
|
+
attr_accessor :f5_sync_device_group
|
|
48
|
+
|
|
37
49
|
# Set output format to JSON
|
|
38
50
|
attr_accessor :json
|
|
39
51
|
|
|
40
52
|
# A list of allowed operations for the key (required for azure targets)
|
|
41
53
|
attr_accessor :key_operations
|
|
42
54
|
|
|
55
|
+
# The Azure Key Vault name to provision the certificate to (relevant only for Azure certificate provisioning)
|
|
56
|
+
attr_accessor :key_vault
|
|
57
|
+
|
|
43
58
|
# Keyring name of the GCP KMS (required for gcp targets)
|
|
44
59
|
attr_accessor :keyring_name
|
|
45
60
|
|
|
@@ -49,6 +64,9 @@ module Akeyless
|
|
|
49
64
|
# Location id of the GCP KMS (required for gcp targets)
|
|
50
65
|
attr_accessor :location_id
|
|
51
66
|
|
|
67
|
+
# The GCP Certificate Manager location to provision the certificate to: global or a region such as us-central1 (relevant only for GCP certificate provisioning)
|
|
68
|
+
attr_accessor :location_scope
|
|
69
|
+
|
|
52
70
|
# Set to 'true' to create a multi-region managed key. (Relevant only for Classic Key AWS targets)
|
|
53
71
|
attr_accessor :multi_region
|
|
54
72
|
|
|
@@ -98,16 +116,22 @@ module Akeyless
|
|
|
98
116
|
def self.attribute_map
|
|
99
117
|
{
|
|
100
118
|
:'bind_ssl_profiles' => :'bind-ssl-profiles',
|
|
119
|
+
:'certificate_arn' => :'certificate-arn',
|
|
101
120
|
:'certificate_format' => :'certificate-format',
|
|
121
|
+
:'certificate_name' => :'certificate-name',
|
|
102
122
|
:'certificate_path' => :'certificate-path',
|
|
103
123
|
:'chain_path' => :'chain-path',
|
|
104
124
|
:'disable_previous_key_version' => :'disable-previous-key-version',
|
|
105
125
|
:'external_key_name' => :'external-key-name',
|
|
126
|
+
:'f5_save_config' => :'f5-save-config',
|
|
127
|
+
:'f5_sync_device_group' => :'f5-sync-device-group',
|
|
106
128
|
:'json' => :'json',
|
|
107
129
|
:'key_operations' => :'key-operations',
|
|
130
|
+
:'key_vault' => :'key-vault',
|
|
108
131
|
:'keyring_name' => :'keyring-name',
|
|
109
132
|
:'kms_algorithm' => :'kms-algorithm',
|
|
110
133
|
:'location_id' => :'location-id',
|
|
134
|
+
:'location_scope' => :'location-scope',
|
|
111
135
|
:'multi_region' => :'multi-region',
|
|
112
136
|
:'name' => :'name',
|
|
113
137
|
:'pfx_password' => :'pfx-password',
|
|
@@ -135,16 +159,22 @@ module Akeyless
|
|
|
135
159
|
def self.openapi_types
|
|
136
160
|
{
|
|
137
161
|
:'bind_ssl_profiles' => :'Array<String>',
|
|
162
|
+
:'certificate_arn' => :'String',
|
|
138
163
|
:'certificate_format' => :'String',
|
|
164
|
+
:'certificate_name' => :'String',
|
|
139
165
|
:'certificate_path' => :'String',
|
|
140
166
|
:'chain_path' => :'String',
|
|
141
167
|
:'disable_previous_key_version' => :'Boolean',
|
|
142
168
|
:'external_key_name' => :'String',
|
|
169
|
+
:'f5_save_config' => :'Boolean',
|
|
170
|
+
:'f5_sync_device_group' => :'String',
|
|
143
171
|
:'json' => :'Boolean',
|
|
144
172
|
:'key_operations' => :'Array<String>',
|
|
173
|
+
:'key_vault' => :'String',
|
|
145
174
|
:'keyring_name' => :'String',
|
|
146
175
|
:'kms_algorithm' => :'String',
|
|
147
176
|
:'location_id' => :'String',
|
|
177
|
+
:'location_scope' => :'String',
|
|
148
178
|
:'multi_region' => :'String',
|
|
149
179
|
:'name' => :'String',
|
|
150
180
|
:'pfx_password' => :'String',
|
|
@@ -190,12 +220,20 @@ module Akeyless
|
|
|
190
220
|
end
|
|
191
221
|
end
|
|
192
222
|
|
|
223
|
+
if attributes.key?(:'certificate_arn')
|
|
224
|
+
self.certificate_arn = attributes[:'certificate_arn']
|
|
225
|
+
end
|
|
226
|
+
|
|
193
227
|
if attributes.key?(:'certificate_format')
|
|
194
228
|
self.certificate_format = attributes[:'certificate_format']
|
|
195
229
|
else
|
|
196
230
|
self.certificate_format = 'pem'
|
|
197
231
|
end
|
|
198
232
|
|
|
233
|
+
if attributes.key?(:'certificate_name')
|
|
234
|
+
self.certificate_name = attributes[:'certificate_name']
|
|
235
|
+
end
|
|
236
|
+
|
|
199
237
|
if attributes.key?(:'certificate_path')
|
|
200
238
|
self.certificate_path = attributes[:'certificate_path']
|
|
201
239
|
end
|
|
@@ -214,6 +252,16 @@ module Akeyless
|
|
|
214
252
|
self.external_key_name = attributes[:'external_key_name']
|
|
215
253
|
end
|
|
216
254
|
|
|
255
|
+
if attributes.key?(:'f5_save_config')
|
|
256
|
+
self.f5_save_config = attributes[:'f5_save_config']
|
|
257
|
+
else
|
|
258
|
+
self.f5_save_config = false
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'f5_sync_device_group')
|
|
262
|
+
self.f5_sync_device_group = attributes[:'f5_sync_device_group']
|
|
263
|
+
end
|
|
264
|
+
|
|
217
265
|
if attributes.key?(:'json')
|
|
218
266
|
self.json = attributes[:'json']
|
|
219
267
|
else
|
|
@@ -226,6 +274,10 @@ module Akeyless
|
|
|
226
274
|
end
|
|
227
275
|
end
|
|
228
276
|
|
|
277
|
+
if attributes.key?(:'key_vault')
|
|
278
|
+
self.key_vault = attributes[:'key_vault']
|
|
279
|
+
end
|
|
280
|
+
|
|
229
281
|
if attributes.key?(:'keyring_name')
|
|
230
282
|
self.keyring_name = attributes[:'keyring_name']
|
|
231
283
|
end
|
|
@@ -238,6 +290,10 @@ module Akeyless
|
|
|
238
290
|
self.location_id = attributes[:'location_id']
|
|
239
291
|
end
|
|
240
292
|
|
|
293
|
+
if attributes.key?(:'location_scope')
|
|
294
|
+
self.location_scope = attributes[:'location_scope']
|
|
295
|
+
end
|
|
296
|
+
|
|
241
297
|
if attributes.key?(:'multi_region')
|
|
242
298
|
self.multi_region = attributes[:'multi_region']
|
|
243
299
|
else
|
|
@@ -342,16 +398,22 @@ module Akeyless
|
|
|
342
398
|
return true if self.equal?(o)
|
|
343
399
|
self.class == o.class &&
|
|
344
400
|
bind_ssl_profiles == o.bind_ssl_profiles &&
|
|
401
|
+
certificate_arn == o.certificate_arn &&
|
|
345
402
|
certificate_format == o.certificate_format &&
|
|
403
|
+
certificate_name == o.certificate_name &&
|
|
346
404
|
certificate_path == o.certificate_path &&
|
|
347
405
|
chain_path == o.chain_path &&
|
|
348
406
|
disable_previous_key_version == o.disable_previous_key_version &&
|
|
349
407
|
external_key_name == o.external_key_name &&
|
|
408
|
+
f5_save_config == o.f5_save_config &&
|
|
409
|
+
f5_sync_device_group == o.f5_sync_device_group &&
|
|
350
410
|
json == o.json &&
|
|
351
411
|
key_operations == o.key_operations &&
|
|
412
|
+
key_vault == o.key_vault &&
|
|
352
413
|
keyring_name == o.keyring_name &&
|
|
353
414
|
kms_algorithm == o.kms_algorithm &&
|
|
354
415
|
location_id == o.location_id &&
|
|
416
|
+
location_scope == o.location_scope &&
|
|
355
417
|
multi_region == o.multi_region &&
|
|
356
418
|
name == o.name &&
|
|
357
419
|
pfx_password == o.pfx_password &&
|
|
@@ -378,7 +440,7 @@ module Akeyless
|
|
|
378
440
|
# Calculates hash code according to all attributes.
|
|
379
441
|
# @return [Integer] Hash code
|
|
380
442
|
def hash
|
|
381
|
-
[bind_ssl_profiles, certificate_format, certificate_path, chain_path, disable_previous_key_version, external_key_name, json, key_operations, keyring_name, kms_algorithm, location_id, multi_region, name, pfx_password, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
443
|
+
[bind_ssl_profiles, certificate_arn, certificate_format, certificate_name, certificate_path, chain_path, disable_previous_key_version, external_key_name, f5_save_config, f5_sync_device_group, json, key_operations, key_vault, keyring_name, kms_algorithm, location_id, location_scope, multi_region, name, pfx_password, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
382
444
|
end
|
|
383
445
|
|
|
384
446
|
# Builds the object from hash
|