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
|
@@ -0,0 +1,476 @@
|
|
|
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 TargetCreateAtlassian
|
|
18
|
+
# Atlassian auth type: oauth, service_account_token or user_api_token on cloud, pat on data center
|
|
19
|
+
attr_accessor :atlassian_auth_type
|
|
20
|
+
|
|
21
|
+
# Optional Automation REST API key (Jira settings > System > Automation > API keys); the automation API refuses an account token, so without it the automation rules are reported as not read
|
|
22
|
+
attr_accessor :atlassian_automation_key
|
|
23
|
+
|
|
24
|
+
# CA certificate (base64-encoded PEM) of a Data Center site signed by a private CA
|
|
25
|
+
attr_accessor :atlassian_ca_certificate
|
|
26
|
+
|
|
27
|
+
# Atlassian OAuth 2.0 service account client ID
|
|
28
|
+
attr_accessor :atlassian_client_id
|
|
29
|
+
|
|
30
|
+
# Atlassian OAuth 2.0 service account client secret
|
|
31
|
+
attr_accessor :atlassian_client_secret
|
|
32
|
+
|
|
33
|
+
# Atlassian Cloud ID of the site (resolved from the site URL when empty)
|
|
34
|
+
attr_accessor :atlassian_cloud_id
|
|
35
|
+
|
|
36
|
+
# Confluence Data Center personal access token
|
|
37
|
+
attr_accessor :atlassian_confluence_token
|
|
38
|
+
|
|
39
|
+
# Confluence Data Center base URL
|
|
40
|
+
attr_accessor :atlassian_confluence_url
|
|
41
|
+
|
|
42
|
+
# Atlassian deployment type: cloud or data_center (inferred from the URL when empty)
|
|
43
|
+
attr_accessor :atlassian_deployment_type
|
|
44
|
+
|
|
45
|
+
# Atlassian account email paired with a user API token
|
|
46
|
+
attr_accessor :atlassian_email
|
|
47
|
+
|
|
48
|
+
# Jira Data Center personal access token
|
|
49
|
+
attr_accessor :atlassian_jira_token
|
|
50
|
+
|
|
51
|
+
# Jira Data Center base URL
|
|
52
|
+
attr_accessor :atlassian_jira_url
|
|
53
|
+
|
|
54
|
+
# Atlassian products to connect to on cloud: jira, confluence or both (default both)
|
|
55
|
+
attr_accessor :atlassian_products
|
|
56
|
+
|
|
57
|
+
# Atlassian Cloud service account API token or user API token
|
|
58
|
+
attr_accessor :atlassian_token
|
|
59
|
+
|
|
60
|
+
# Atlassian Cloud site base URL (https://<site>.atlassian.net)
|
|
61
|
+
attr_accessor :atlassian_url
|
|
62
|
+
|
|
63
|
+
# Protection from accidental deletion of this object [true/false]
|
|
64
|
+
attr_accessor :delete_protection
|
|
65
|
+
|
|
66
|
+
# Description of the object
|
|
67
|
+
attr_accessor :description
|
|
68
|
+
|
|
69
|
+
# Set output format to JSON
|
|
70
|
+
attr_accessor :json
|
|
71
|
+
|
|
72
|
+
# The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
|
|
73
|
+
attr_accessor :key
|
|
74
|
+
|
|
75
|
+
# Lock this secret after each successful value read
|
|
76
|
+
attr_accessor :lock_on_read
|
|
77
|
+
|
|
78
|
+
# Lock TTL in minutes
|
|
79
|
+
attr_accessor :lock_ttl
|
|
80
|
+
|
|
81
|
+
# Set the maximum number of versions, limited by the account settings defaults.
|
|
82
|
+
attr_accessor :max_versions
|
|
83
|
+
|
|
84
|
+
# Target name
|
|
85
|
+
attr_accessor :name
|
|
86
|
+
|
|
87
|
+
# Rotate this secret after it is unlocked
|
|
88
|
+
attr_accessor :rotate_on_unlock
|
|
89
|
+
|
|
90
|
+
# Authentication token (see `/auth` and `/configure`)
|
|
91
|
+
attr_accessor :token
|
|
92
|
+
|
|
93
|
+
# The universal identity token, Required only for universal_identity authentication
|
|
94
|
+
attr_accessor :uid_token
|
|
95
|
+
|
|
96
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
97
|
+
def self.attribute_map
|
|
98
|
+
{
|
|
99
|
+
:'atlassian_auth_type' => :'atlassian-auth-type',
|
|
100
|
+
:'atlassian_automation_key' => :'atlassian-automation-key',
|
|
101
|
+
:'atlassian_ca_certificate' => :'atlassian-ca-certificate',
|
|
102
|
+
:'atlassian_client_id' => :'atlassian-client-id',
|
|
103
|
+
:'atlassian_client_secret' => :'atlassian-client-secret',
|
|
104
|
+
:'atlassian_cloud_id' => :'atlassian-cloud-id',
|
|
105
|
+
:'atlassian_confluence_token' => :'atlassian-confluence-token',
|
|
106
|
+
:'atlassian_confluence_url' => :'atlassian-confluence-url',
|
|
107
|
+
:'atlassian_deployment_type' => :'atlassian-deployment-type',
|
|
108
|
+
:'atlassian_email' => :'atlassian-email',
|
|
109
|
+
:'atlassian_jira_token' => :'atlassian-jira-token',
|
|
110
|
+
:'atlassian_jira_url' => :'atlassian-jira-url',
|
|
111
|
+
:'atlassian_products' => :'atlassian-products',
|
|
112
|
+
:'atlassian_token' => :'atlassian-token',
|
|
113
|
+
:'atlassian_url' => :'atlassian-url',
|
|
114
|
+
:'delete_protection' => :'delete_protection',
|
|
115
|
+
:'description' => :'description',
|
|
116
|
+
:'json' => :'json',
|
|
117
|
+
:'key' => :'key',
|
|
118
|
+
:'lock_on_read' => :'lock-on-read',
|
|
119
|
+
:'lock_ttl' => :'lock-ttl',
|
|
120
|
+
:'max_versions' => :'max-versions',
|
|
121
|
+
:'name' => :'name',
|
|
122
|
+
:'rotate_on_unlock' => :'rotate-on-unlock',
|
|
123
|
+
:'token' => :'token',
|
|
124
|
+
:'uid_token' => :'uid-token'
|
|
125
|
+
}
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Returns all the JSON keys this model knows about
|
|
129
|
+
def self.acceptable_attributes
|
|
130
|
+
attribute_map.values
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Attribute type mapping.
|
|
134
|
+
def self.openapi_types
|
|
135
|
+
{
|
|
136
|
+
:'atlassian_auth_type' => :'String',
|
|
137
|
+
:'atlassian_automation_key' => :'String',
|
|
138
|
+
:'atlassian_ca_certificate' => :'String',
|
|
139
|
+
:'atlassian_client_id' => :'String',
|
|
140
|
+
:'atlassian_client_secret' => :'String',
|
|
141
|
+
:'atlassian_cloud_id' => :'String',
|
|
142
|
+
:'atlassian_confluence_token' => :'String',
|
|
143
|
+
:'atlassian_confluence_url' => :'String',
|
|
144
|
+
:'atlassian_deployment_type' => :'String',
|
|
145
|
+
:'atlassian_email' => :'String',
|
|
146
|
+
:'atlassian_jira_token' => :'String',
|
|
147
|
+
:'atlassian_jira_url' => :'String',
|
|
148
|
+
:'atlassian_products' => :'Array<String>',
|
|
149
|
+
:'atlassian_token' => :'String',
|
|
150
|
+
:'atlassian_url' => :'String',
|
|
151
|
+
:'delete_protection' => :'String',
|
|
152
|
+
:'description' => :'String',
|
|
153
|
+
:'json' => :'Boolean',
|
|
154
|
+
:'key' => :'String',
|
|
155
|
+
:'lock_on_read' => :'String',
|
|
156
|
+
:'lock_ttl' => :'String',
|
|
157
|
+
:'max_versions' => :'String',
|
|
158
|
+
:'name' => :'String',
|
|
159
|
+
:'rotate_on_unlock' => :'String',
|
|
160
|
+
:'token' => :'String',
|
|
161
|
+
:'uid_token' => :'String'
|
|
162
|
+
}
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# List of attributes with nullable: true
|
|
166
|
+
def self.openapi_nullable
|
|
167
|
+
Set.new([
|
|
168
|
+
])
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Initializes the object
|
|
172
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
173
|
+
def initialize(attributes = {})
|
|
174
|
+
if (!attributes.is_a?(Hash))
|
|
175
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetCreateAtlassian` initialize method"
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
179
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
180
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
181
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetCreateAtlassian`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
182
|
+
end
|
|
183
|
+
h[k.to_sym] = v
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'atlassian_auth_type')
|
|
187
|
+
self.atlassian_auth_type = attributes[:'atlassian_auth_type']
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
if attributes.key?(:'atlassian_automation_key')
|
|
191
|
+
self.atlassian_automation_key = attributes[:'atlassian_automation_key']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'atlassian_ca_certificate')
|
|
195
|
+
self.atlassian_ca_certificate = attributes[:'atlassian_ca_certificate']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'atlassian_client_id')
|
|
199
|
+
self.atlassian_client_id = attributes[:'atlassian_client_id']
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if attributes.key?(:'atlassian_client_secret')
|
|
203
|
+
self.atlassian_client_secret = attributes[:'atlassian_client_secret']
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if attributes.key?(:'atlassian_cloud_id')
|
|
207
|
+
self.atlassian_cloud_id = attributes[:'atlassian_cloud_id']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes.key?(:'atlassian_confluence_token')
|
|
211
|
+
self.atlassian_confluence_token = attributes[:'atlassian_confluence_token']
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes.key?(:'atlassian_confluence_url')
|
|
215
|
+
self.atlassian_confluence_url = attributes[:'atlassian_confluence_url']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.key?(:'atlassian_deployment_type')
|
|
219
|
+
self.atlassian_deployment_type = attributes[:'atlassian_deployment_type']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if attributes.key?(:'atlassian_email')
|
|
223
|
+
self.atlassian_email = attributes[:'atlassian_email']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
if attributes.key?(:'atlassian_jira_token')
|
|
227
|
+
self.atlassian_jira_token = attributes[:'atlassian_jira_token']
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
if attributes.key?(:'atlassian_jira_url')
|
|
231
|
+
self.atlassian_jira_url = attributes[:'atlassian_jira_url']
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
if attributes.key?(:'atlassian_products')
|
|
235
|
+
if (value = attributes[:'atlassian_products']).is_a?(Array)
|
|
236
|
+
self.atlassian_products = value
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
if attributes.key?(:'atlassian_token')
|
|
241
|
+
self.atlassian_token = attributes[:'atlassian_token']
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
if attributes.key?(:'atlassian_url')
|
|
245
|
+
self.atlassian_url = attributes[:'atlassian_url']
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
if attributes.key?(:'delete_protection')
|
|
249
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
if attributes.key?(:'description')
|
|
253
|
+
self.description = attributes[:'description']
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
if attributes.key?(:'json')
|
|
257
|
+
self.json = attributes[:'json']
|
|
258
|
+
else
|
|
259
|
+
self.json = false
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes.key?(:'key')
|
|
263
|
+
self.key = attributes[:'key']
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'lock_on_read')
|
|
267
|
+
self.lock_on_read = attributes[:'lock_on_read']
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
if attributes.key?(:'lock_ttl')
|
|
271
|
+
self.lock_ttl = attributes[:'lock_ttl']
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
if attributes.key?(:'max_versions')
|
|
275
|
+
self.max_versions = attributes[:'max_versions']
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
if attributes.key?(:'name')
|
|
279
|
+
self.name = attributes[:'name']
|
|
280
|
+
else
|
|
281
|
+
self.name = nil
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if attributes.key?(:'rotate_on_unlock')
|
|
285
|
+
self.rotate_on_unlock = attributes[:'rotate_on_unlock']
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if attributes.key?(:'token')
|
|
289
|
+
self.token = attributes[:'token']
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if attributes.key?(:'uid_token')
|
|
293
|
+
self.uid_token = attributes[:'uid_token']
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
298
|
+
# @return Array for valid properties with the reasons
|
|
299
|
+
def list_invalid_properties
|
|
300
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
301
|
+
invalid_properties = Array.new
|
|
302
|
+
if @name.nil?
|
|
303
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
invalid_properties
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Check to see if the all the properties in the model are valid
|
|
310
|
+
# @return true if the model is valid
|
|
311
|
+
def valid?
|
|
312
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
313
|
+
return false if @name.nil?
|
|
314
|
+
true
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# Checks equality by comparing each attribute.
|
|
318
|
+
# @param [Object] Object to be compared
|
|
319
|
+
def ==(o)
|
|
320
|
+
return true if self.equal?(o)
|
|
321
|
+
self.class == o.class &&
|
|
322
|
+
atlassian_auth_type == o.atlassian_auth_type &&
|
|
323
|
+
atlassian_automation_key == o.atlassian_automation_key &&
|
|
324
|
+
atlassian_ca_certificate == o.atlassian_ca_certificate &&
|
|
325
|
+
atlassian_client_id == o.atlassian_client_id &&
|
|
326
|
+
atlassian_client_secret == o.atlassian_client_secret &&
|
|
327
|
+
atlassian_cloud_id == o.atlassian_cloud_id &&
|
|
328
|
+
atlassian_confluence_token == o.atlassian_confluence_token &&
|
|
329
|
+
atlassian_confluence_url == o.atlassian_confluence_url &&
|
|
330
|
+
atlassian_deployment_type == o.atlassian_deployment_type &&
|
|
331
|
+
atlassian_email == o.atlassian_email &&
|
|
332
|
+
atlassian_jira_token == o.atlassian_jira_token &&
|
|
333
|
+
atlassian_jira_url == o.atlassian_jira_url &&
|
|
334
|
+
atlassian_products == o.atlassian_products &&
|
|
335
|
+
atlassian_token == o.atlassian_token &&
|
|
336
|
+
atlassian_url == o.atlassian_url &&
|
|
337
|
+
delete_protection == o.delete_protection &&
|
|
338
|
+
description == o.description &&
|
|
339
|
+
json == o.json &&
|
|
340
|
+
key == o.key &&
|
|
341
|
+
lock_on_read == o.lock_on_read &&
|
|
342
|
+
lock_ttl == o.lock_ttl &&
|
|
343
|
+
max_versions == o.max_versions &&
|
|
344
|
+
name == o.name &&
|
|
345
|
+
rotate_on_unlock == o.rotate_on_unlock &&
|
|
346
|
+
token == o.token &&
|
|
347
|
+
uid_token == o.uid_token
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
# @see the `==` method
|
|
351
|
+
# @param [Object] Object to be compared
|
|
352
|
+
def eql?(o)
|
|
353
|
+
self == o
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Calculates hash code according to all attributes.
|
|
357
|
+
# @return [Integer] Hash code
|
|
358
|
+
def hash
|
|
359
|
+
[atlassian_auth_type, atlassian_automation_key, atlassian_ca_certificate, atlassian_client_id, atlassian_client_secret, atlassian_cloud_id, atlassian_confluence_token, atlassian_confluence_url, atlassian_deployment_type, atlassian_email, atlassian_jira_token, atlassian_jira_url, atlassian_products, atlassian_token, atlassian_url, delete_protection, description, json, key, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, token, uid_token].hash
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Builds the object from hash
|
|
363
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
364
|
+
# @return [Object] Returns the model itself
|
|
365
|
+
def self.build_from_hash(attributes)
|
|
366
|
+
return nil unless attributes.is_a?(Hash)
|
|
367
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
368
|
+
transformed_hash = {}
|
|
369
|
+
openapi_types.each_pair do |key, type|
|
|
370
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
371
|
+
transformed_hash["#{key}"] = nil
|
|
372
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
373
|
+
# check to ensure the input is an array given that the attribute
|
|
374
|
+
# is documented as an array but the input is not
|
|
375
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
376
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
377
|
+
end
|
|
378
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
379
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
new(transformed_hash)
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Deserializes the data based on type
|
|
386
|
+
# @param string type Data type
|
|
387
|
+
# @param string value Value to be deserialized
|
|
388
|
+
# @return [Object] Deserialized data
|
|
389
|
+
def self._deserialize(type, value)
|
|
390
|
+
case type.to_sym
|
|
391
|
+
when :Time
|
|
392
|
+
Time.parse(value)
|
|
393
|
+
when :Date
|
|
394
|
+
Date.parse(value)
|
|
395
|
+
when :String
|
|
396
|
+
value.to_s
|
|
397
|
+
when :Integer
|
|
398
|
+
value.to_i
|
|
399
|
+
when :Float
|
|
400
|
+
value.to_f
|
|
401
|
+
when :Boolean
|
|
402
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
403
|
+
true
|
|
404
|
+
else
|
|
405
|
+
false
|
|
406
|
+
end
|
|
407
|
+
when :Object
|
|
408
|
+
# generic object (usually a Hash), return directly
|
|
409
|
+
value
|
|
410
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
411
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
412
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
413
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
414
|
+
k_type = Regexp.last_match[:k_type]
|
|
415
|
+
v_type = Regexp.last_match[:v_type]
|
|
416
|
+
{}.tap do |hash|
|
|
417
|
+
value.each do |k, v|
|
|
418
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
419
|
+
end
|
|
420
|
+
end
|
|
421
|
+
else # model
|
|
422
|
+
# models (e.g. Pet) or oneOf
|
|
423
|
+
klass = Akeyless.const_get(type)
|
|
424
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
425
|
+
end
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Returns the string representation of the object
|
|
429
|
+
# @return [String] String presentation of the object
|
|
430
|
+
def to_s
|
|
431
|
+
to_hash.to_s
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
435
|
+
# @return [Hash] Returns the object in the form of hash
|
|
436
|
+
def to_body
|
|
437
|
+
to_hash
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# Returns the object in the form of hash
|
|
441
|
+
# @return [Hash] Returns the object in the form of hash
|
|
442
|
+
def to_hash
|
|
443
|
+
hash = {}
|
|
444
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
445
|
+
value = self.send(attr)
|
|
446
|
+
if value.nil?
|
|
447
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
448
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
hash[param] = _to_hash(value)
|
|
452
|
+
end
|
|
453
|
+
hash
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Outputs non-array value in the form of hash
|
|
457
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
458
|
+
# @param [Object] value Any valid value
|
|
459
|
+
# @return [Hash] Returns the value in the form of hash
|
|
460
|
+
def _to_hash(value)
|
|
461
|
+
if value.is_a?(Array)
|
|
462
|
+
value.compact.map { |v| _to_hash(v) }
|
|
463
|
+
elsif value.is_a?(Hash)
|
|
464
|
+
{}.tap do |hash|
|
|
465
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
466
|
+
end
|
|
467
|
+
elsif value.respond_to? :to_hash
|
|
468
|
+
value.to_hash
|
|
469
|
+
else
|
|
470
|
+
value
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
end
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# ACME challenge type. Options: [dns]
|
|
20
20
|
attr_accessor :acme_challenge
|
|
21
21
|
|
|
22
|
+
# DigiCert CertCentral API key. Optional - when set, certificate renewal reissues the existing DigiCert order instead of placing a new (billable) order. DNS challenge and production endpoints only. On target update pass it again to keep it, omitting it clears it
|
|
23
|
+
attr_accessor :cert_central_api_key
|
|
24
|
+
|
|
22
25
|
# Protection from accidental deletion of this object [true/false]
|
|
23
26
|
attr_accessor :delete_protection
|
|
24
27
|
|
|
@@ -98,6 +101,7 @@ module Akeyless
|
|
|
98
101
|
def self.attribute_map
|
|
99
102
|
{
|
|
100
103
|
:'acme_challenge' => :'acme-challenge',
|
|
104
|
+
:'cert_central_api_key' => :'cert-central-api-key',
|
|
101
105
|
:'delete_protection' => :'delete_protection',
|
|
102
106
|
:'description' => :'description',
|
|
103
107
|
:'digicert_url' => :'digicert-url',
|
|
@@ -135,6 +139,7 @@ module Akeyless
|
|
|
135
139
|
def self.openapi_types
|
|
136
140
|
{
|
|
137
141
|
:'acme_challenge' => :'String',
|
|
142
|
+
:'cert_central_api_key' => :'String',
|
|
138
143
|
:'delete_protection' => :'String',
|
|
139
144
|
:'description' => :'String',
|
|
140
145
|
:'digicert_url' => :'String',
|
|
@@ -190,6 +195,10 @@ module Akeyless
|
|
|
190
195
|
self.acme_challenge = 'dns'
|
|
191
196
|
end
|
|
192
197
|
|
|
198
|
+
if attributes.key?(:'cert_central_api_key')
|
|
199
|
+
self.cert_central_api_key = attributes[:'cert_central_api_key']
|
|
200
|
+
end
|
|
201
|
+
|
|
193
202
|
if attributes.key?(:'delete_protection')
|
|
194
203
|
self.delete_protection = attributes[:'delete_protection']
|
|
195
204
|
end
|
|
@@ -334,6 +343,7 @@ module Akeyless
|
|
|
334
343
|
return true if self.equal?(o)
|
|
335
344
|
self.class == o.class &&
|
|
336
345
|
acme_challenge == o.acme_challenge &&
|
|
346
|
+
cert_central_api_key == o.cert_central_api_key &&
|
|
337
347
|
delete_protection == o.delete_protection &&
|
|
338
348
|
description == o.description &&
|
|
339
349
|
digicert_url == o.digicert_url &&
|
|
@@ -370,7 +380,7 @@ module Akeyless
|
|
|
370
380
|
# Calculates hash code according to all attributes.
|
|
371
381
|
# @return [Integer] Hash code
|
|
372
382
|
def hash
|
|
373
|
-
[acme_challenge, delete_protection, description, digicert_url, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
383
|
+
[acme_challenge, cert_central_api_key, delete_protection, description, digicert_url, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
374
384
|
end
|
|
375
385
|
|
|
376
386
|
# Builds the object from hash
|
|
@@ -28,7 +28,7 @@ module Akeyless
|
|
|
28
28
|
# Authentication token (see `/auth` and `/configure`)
|
|
29
29
|
attr_accessor :token
|
|
30
30
|
|
|
31
|
-
# The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub cloudflare ldap github chef web salesforce postgres]
|
|
31
|
+
# The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws alicloud ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub cloudflare ldap github chef web salesforce postgres]
|
|
32
32
|
attr_accessor :type
|
|
33
33
|
|
|
34
34
|
# The universal identity token, Required only for universal_identity authentication
|
|
@@ -17,10 +17,14 @@ module Akeyless
|
|
|
17
17
|
class TargetTypeDetailsInput
|
|
18
18
|
attr_accessor :aerospike_target_details
|
|
19
19
|
|
|
20
|
+
attr_accessor :alicloud_target_details
|
|
21
|
+
|
|
20
22
|
attr_accessor :anthropic_target_details
|
|
21
23
|
|
|
22
24
|
attr_accessor :artifactory_target_details
|
|
23
25
|
|
|
26
|
+
attr_accessor :atlassian_target_details
|
|
27
|
+
|
|
24
28
|
attr_accessor :aws_target_details
|
|
25
29
|
|
|
26
30
|
attr_accessor :azure_target_details
|
|
@@ -107,8 +111,10 @@ module Akeyless
|
|
|
107
111
|
def self.attribute_map
|
|
108
112
|
{
|
|
109
113
|
:'aerospike_target_details' => :'aerospike_target_details',
|
|
114
|
+
:'alicloud_target_details' => :'alicloud_target_details',
|
|
110
115
|
:'anthropic_target_details' => :'anthropic_target_details',
|
|
111
116
|
:'artifactory_target_details' => :'artifactory_target_details',
|
|
117
|
+
:'atlassian_target_details' => :'atlassian_target_details',
|
|
112
118
|
:'aws_target_details' => :'aws_target_details',
|
|
113
119
|
:'azure_target_details' => :'azure_target_details',
|
|
114
120
|
:'bedrock_target_details' => :'bedrock_target_details',
|
|
@@ -162,8 +168,10 @@ module Akeyless
|
|
|
162
168
|
def self.openapi_types
|
|
163
169
|
{
|
|
164
170
|
:'aerospike_target_details' => :'AerospikeTargetDetails',
|
|
171
|
+
:'alicloud_target_details' => :'AliCloudTargetDetails',
|
|
165
172
|
:'anthropic_target_details' => :'AnthropicTargetDetails',
|
|
166
173
|
:'artifactory_target_details' => :'ArtifactoryTargetDetails',
|
|
174
|
+
:'atlassian_target_details' => :'AtlassianTargetDetails',
|
|
167
175
|
:'aws_target_details' => :'AWSTargetDetails',
|
|
168
176
|
:'azure_target_details' => :'AzureTargetDetails',
|
|
169
177
|
:'bedrock_target_details' => :'BedrockTargetDetails',
|
|
@@ -233,6 +241,10 @@ module Akeyless
|
|
|
233
241
|
self.aerospike_target_details = attributes[:'aerospike_target_details']
|
|
234
242
|
end
|
|
235
243
|
|
|
244
|
+
if attributes.key?(:'alicloud_target_details')
|
|
245
|
+
self.alicloud_target_details = attributes[:'alicloud_target_details']
|
|
246
|
+
end
|
|
247
|
+
|
|
236
248
|
if attributes.key?(:'anthropic_target_details')
|
|
237
249
|
self.anthropic_target_details = attributes[:'anthropic_target_details']
|
|
238
250
|
end
|
|
@@ -241,6 +253,10 @@ module Akeyless
|
|
|
241
253
|
self.artifactory_target_details = attributes[:'artifactory_target_details']
|
|
242
254
|
end
|
|
243
255
|
|
|
256
|
+
if attributes.key?(:'atlassian_target_details')
|
|
257
|
+
self.atlassian_target_details = attributes[:'atlassian_target_details']
|
|
258
|
+
end
|
|
259
|
+
|
|
244
260
|
if attributes.key?(:'aws_target_details')
|
|
245
261
|
self.aws_target_details = attributes[:'aws_target_details']
|
|
246
262
|
end
|
|
@@ -427,8 +443,10 @@ module Akeyless
|
|
|
427
443
|
return true if self.equal?(o)
|
|
428
444
|
self.class == o.class &&
|
|
429
445
|
aerospike_target_details == o.aerospike_target_details &&
|
|
446
|
+
alicloud_target_details == o.alicloud_target_details &&
|
|
430
447
|
anthropic_target_details == o.anthropic_target_details &&
|
|
431
448
|
artifactory_target_details == o.artifactory_target_details &&
|
|
449
|
+
atlassian_target_details == o.atlassian_target_details &&
|
|
432
450
|
aws_target_details == o.aws_target_details &&
|
|
433
451
|
azure_target_details == o.azure_target_details &&
|
|
434
452
|
bedrock_target_details == o.bedrock_target_details &&
|
|
@@ -481,7 +499,7 @@ module Akeyless
|
|
|
481
499
|
# Calculates hash code according to all attributes.
|
|
482
500
|
# @return [Integer] Hash code
|
|
483
501
|
def hash
|
|
484
|
-
[aerospike_target_details, anthropic_target_details, artifactory_target_details, aws_target_details, azure_target_details, bedrock_target_details, chef_target_details, cloudflare_target_details, custom_dns_target_details, custom_target_details, db_target_details, digicert_target_details, dockerhub_target_details, eks_target_details, f5_big_ip_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, google_trust_target_details, grok_target_details, hashi_vault_target_details, keycloak_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, okta_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
502
|
+
[aerospike_target_details, alicloud_target_details, anthropic_target_details, artifactory_target_details, atlassian_target_details, aws_target_details, azure_target_details, bedrock_target_details, chef_target_details, cloudflare_target_details, custom_dns_target_details, custom_target_details, db_target_details, digicert_target_details, dockerhub_target_details, eks_target_details, f5_big_ip_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, google_trust_target_details, grok_target_details, hashi_vault_target_details, keycloak_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, okta_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
485
503
|
end
|
|
486
504
|
|
|
487
505
|
# Builds the object from hash
|