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,346 @@
|
|
|
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
|
+
# An Atlassian site (Jira, Confluence or both) credential, on Atlassian Cloud or Data Center. Cloud uses the site URL (https://<site>.atlassian.net) with an OAuth 2.0 service account, a service account API token, or a user API token paired with the account email. Data Center uses a personal access token per product, with its own Jira and Confluence URLs. Read by the SDR Atlassian scanner.
|
|
18
|
+
class AtlassianTargetDetails
|
|
19
|
+
attr_accessor :atlassian_auth_type
|
|
20
|
+
|
|
21
|
+
# AtlassianAutomationKey is an optional Automation REST API key (Jira settings > System > Automation > API keys). Atlassian's automation API refuses an account API token, so without this key the scanner reports the automation rules as not read.
|
|
22
|
+
attr_accessor :atlassian_automation_key
|
|
23
|
+
|
|
24
|
+
# AtlassianCACertificate is a base64-encoded PEM CA certificate for a Data Center site signed by a private CA.
|
|
25
|
+
attr_accessor :atlassian_ca_certificate
|
|
26
|
+
|
|
27
|
+
attr_accessor :atlassian_client_id
|
|
28
|
+
|
|
29
|
+
attr_accessor :atlassian_client_secret
|
|
30
|
+
|
|
31
|
+
attr_accessor :atlassian_cloud_id
|
|
32
|
+
|
|
33
|
+
attr_accessor :atlassian_confluence_token
|
|
34
|
+
|
|
35
|
+
attr_accessor :atlassian_confluence_url
|
|
36
|
+
|
|
37
|
+
# When empty, the deployment type, auth type and products are inferred from the fields above, so targets saved before these fields existed keep working.
|
|
38
|
+
attr_accessor :atlassian_deployment_type
|
|
39
|
+
|
|
40
|
+
attr_accessor :atlassian_email
|
|
41
|
+
|
|
42
|
+
attr_accessor :atlassian_jira_token
|
|
43
|
+
|
|
44
|
+
attr_accessor :atlassian_jira_url
|
|
45
|
+
|
|
46
|
+
attr_accessor :atlassian_products
|
|
47
|
+
|
|
48
|
+
attr_accessor :atlassian_token
|
|
49
|
+
|
|
50
|
+
attr_accessor :atlassian_url
|
|
51
|
+
|
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
|
+
def self.attribute_map
|
|
54
|
+
{
|
|
55
|
+
:'atlassian_auth_type' => :'atlassian_auth_type',
|
|
56
|
+
:'atlassian_automation_key' => :'atlassian_automation_key',
|
|
57
|
+
:'atlassian_ca_certificate' => :'atlassian_ca_certificate',
|
|
58
|
+
:'atlassian_client_id' => :'atlassian_client_id',
|
|
59
|
+
:'atlassian_client_secret' => :'atlassian_client_secret',
|
|
60
|
+
:'atlassian_cloud_id' => :'atlassian_cloud_id',
|
|
61
|
+
:'atlassian_confluence_token' => :'atlassian_confluence_token',
|
|
62
|
+
:'atlassian_confluence_url' => :'atlassian_confluence_url',
|
|
63
|
+
:'atlassian_deployment_type' => :'atlassian_deployment_type',
|
|
64
|
+
:'atlassian_email' => :'atlassian_email',
|
|
65
|
+
:'atlassian_jira_token' => :'atlassian_jira_token',
|
|
66
|
+
:'atlassian_jira_url' => :'atlassian_jira_url',
|
|
67
|
+
:'atlassian_products' => :'atlassian_products',
|
|
68
|
+
:'atlassian_token' => :'atlassian_token',
|
|
69
|
+
:'atlassian_url' => :'atlassian_url'
|
|
70
|
+
}
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Returns all the JSON keys this model knows about
|
|
74
|
+
def self.acceptable_attributes
|
|
75
|
+
attribute_map.values
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Attribute type mapping.
|
|
79
|
+
def self.openapi_types
|
|
80
|
+
{
|
|
81
|
+
:'atlassian_auth_type' => :'String',
|
|
82
|
+
:'atlassian_automation_key' => :'String',
|
|
83
|
+
:'atlassian_ca_certificate' => :'String',
|
|
84
|
+
:'atlassian_client_id' => :'String',
|
|
85
|
+
:'atlassian_client_secret' => :'String',
|
|
86
|
+
:'atlassian_cloud_id' => :'String',
|
|
87
|
+
:'atlassian_confluence_token' => :'String',
|
|
88
|
+
:'atlassian_confluence_url' => :'String',
|
|
89
|
+
:'atlassian_deployment_type' => :'String',
|
|
90
|
+
:'atlassian_email' => :'String',
|
|
91
|
+
:'atlassian_jira_token' => :'String',
|
|
92
|
+
:'atlassian_jira_url' => :'String',
|
|
93
|
+
:'atlassian_products' => :'Array<String>',
|
|
94
|
+
:'atlassian_token' => :'String',
|
|
95
|
+
:'atlassian_url' => :'String'
|
|
96
|
+
}
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# List of attributes with nullable: true
|
|
100
|
+
def self.openapi_nullable
|
|
101
|
+
Set.new([
|
|
102
|
+
])
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Initializes the object
|
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
107
|
+
def initialize(attributes = {})
|
|
108
|
+
if (!attributes.is_a?(Hash))
|
|
109
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AtlassianTargetDetails` initialize method"
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
113
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
114
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
115
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AtlassianTargetDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
116
|
+
end
|
|
117
|
+
h[k.to_sym] = v
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'atlassian_auth_type')
|
|
121
|
+
self.atlassian_auth_type = attributes[:'atlassian_auth_type']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'atlassian_automation_key')
|
|
125
|
+
self.atlassian_automation_key = attributes[:'atlassian_automation_key']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'atlassian_ca_certificate')
|
|
129
|
+
self.atlassian_ca_certificate = attributes[:'atlassian_ca_certificate']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'atlassian_client_id')
|
|
133
|
+
self.atlassian_client_id = attributes[:'atlassian_client_id']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'atlassian_client_secret')
|
|
137
|
+
self.atlassian_client_secret = attributes[:'atlassian_client_secret']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.key?(:'atlassian_cloud_id')
|
|
141
|
+
self.atlassian_cloud_id = attributes[:'atlassian_cloud_id']
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'atlassian_confluence_token')
|
|
145
|
+
self.atlassian_confluence_token = attributes[:'atlassian_confluence_token']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'atlassian_confluence_url')
|
|
149
|
+
self.atlassian_confluence_url = attributes[:'atlassian_confluence_url']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'atlassian_deployment_type')
|
|
153
|
+
self.atlassian_deployment_type = attributes[:'atlassian_deployment_type']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'atlassian_email')
|
|
157
|
+
self.atlassian_email = attributes[:'atlassian_email']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.key?(:'atlassian_jira_token')
|
|
161
|
+
self.atlassian_jira_token = attributes[:'atlassian_jira_token']
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if attributes.key?(:'atlassian_jira_url')
|
|
165
|
+
self.atlassian_jira_url = attributes[:'atlassian_jira_url']
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
if attributes.key?(:'atlassian_products')
|
|
169
|
+
if (value = attributes[:'atlassian_products']).is_a?(Array)
|
|
170
|
+
self.atlassian_products = value
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'atlassian_token')
|
|
175
|
+
self.atlassian_token = attributes[:'atlassian_token']
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if attributes.key?(:'atlassian_url')
|
|
179
|
+
self.atlassian_url = attributes[:'atlassian_url']
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
184
|
+
# @return Array for valid properties with the reasons
|
|
185
|
+
def list_invalid_properties
|
|
186
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
187
|
+
invalid_properties = Array.new
|
|
188
|
+
invalid_properties
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Check to see if the all the properties in the model are valid
|
|
192
|
+
# @return true if the model is valid
|
|
193
|
+
def valid?
|
|
194
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
195
|
+
true
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Checks equality by comparing each attribute.
|
|
199
|
+
# @param [Object] Object to be compared
|
|
200
|
+
def ==(o)
|
|
201
|
+
return true if self.equal?(o)
|
|
202
|
+
self.class == o.class &&
|
|
203
|
+
atlassian_auth_type == o.atlassian_auth_type &&
|
|
204
|
+
atlassian_automation_key == o.atlassian_automation_key &&
|
|
205
|
+
atlassian_ca_certificate == o.atlassian_ca_certificate &&
|
|
206
|
+
atlassian_client_id == o.atlassian_client_id &&
|
|
207
|
+
atlassian_client_secret == o.atlassian_client_secret &&
|
|
208
|
+
atlassian_cloud_id == o.atlassian_cloud_id &&
|
|
209
|
+
atlassian_confluence_token == o.atlassian_confluence_token &&
|
|
210
|
+
atlassian_confluence_url == o.atlassian_confluence_url &&
|
|
211
|
+
atlassian_deployment_type == o.atlassian_deployment_type &&
|
|
212
|
+
atlassian_email == o.atlassian_email &&
|
|
213
|
+
atlassian_jira_token == o.atlassian_jira_token &&
|
|
214
|
+
atlassian_jira_url == o.atlassian_jira_url &&
|
|
215
|
+
atlassian_products == o.atlassian_products &&
|
|
216
|
+
atlassian_token == o.atlassian_token &&
|
|
217
|
+
atlassian_url == o.atlassian_url
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# @see the `==` method
|
|
221
|
+
# @param [Object] Object to be compared
|
|
222
|
+
def eql?(o)
|
|
223
|
+
self == o
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Calculates hash code according to all attributes.
|
|
227
|
+
# @return [Integer] Hash code
|
|
228
|
+
def hash
|
|
229
|
+
[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].hash
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Builds the object from hash
|
|
233
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
234
|
+
# @return [Object] Returns the model itself
|
|
235
|
+
def self.build_from_hash(attributes)
|
|
236
|
+
return nil unless attributes.is_a?(Hash)
|
|
237
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
238
|
+
transformed_hash = {}
|
|
239
|
+
openapi_types.each_pair do |key, type|
|
|
240
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
241
|
+
transformed_hash["#{key}"] = nil
|
|
242
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
243
|
+
# check to ensure the input is an array given that the attribute
|
|
244
|
+
# is documented as an array but the input is not
|
|
245
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
246
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
247
|
+
end
|
|
248
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
249
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
new(transformed_hash)
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# Deserializes the data based on type
|
|
256
|
+
# @param string type Data type
|
|
257
|
+
# @param string value Value to be deserialized
|
|
258
|
+
# @return [Object] Deserialized data
|
|
259
|
+
def self._deserialize(type, value)
|
|
260
|
+
case type.to_sym
|
|
261
|
+
when :Time
|
|
262
|
+
Time.parse(value)
|
|
263
|
+
when :Date
|
|
264
|
+
Date.parse(value)
|
|
265
|
+
when :String
|
|
266
|
+
value.to_s
|
|
267
|
+
when :Integer
|
|
268
|
+
value.to_i
|
|
269
|
+
when :Float
|
|
270
|
+
value.to_f
|
|
271
|
+
when :Boolean
|
|
272
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
273
|
+
true
|
|
274
|
+
else
|
|
275
|
+
false
|
|
276
|
+
end
|
|
277
|
+
when :Object
|
|
278
|
+
# generic object (usually a Hash), return directly
|
|
279
|
+
value
|
|
280
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
281
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
282
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
283
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
284
|
+
k_type = Regexp.last_match[:k_type]
|
|
285
|
+
v_type = Regexp.last_match[:v_type]
|
|
286
|
+
{}.tap do |hash|
|
|
287
|
+
value.each do |k, v|
|
|
288
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
else # model
|
|
292
|
+
# models (e.g. Pet) or oneOf
|
|
293
|
+
klass = Akeyless.const_get(type)
|
|
294
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Returns the string representation of the object
|
|
299
|
+
# @return [String] String presentation of the object
|
|
300
|
+
def to_s
|
|
301
|
+
to_hash.to_s
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
305
|
+
# @return [Hash] Returns the object in the form of hash
|
|
306
|
+
def to_body
|
|
307
|
+
to_hash
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
# Returns the object in the form of hash
|
|
311
|
+
# @return [Hash] Returns the object in the form of hash
|
|
312
|
+
def to_hash
|
|
313
|
+
hash = {}
|
|
314
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
315
|
+
value = self.send(attr)
|
|
316
|
+
if value.nil?
|
|
317
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
318
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
hash[param] = _to_hash(value)
|
|
322
|
+
end
|
|
323
|
+
hash
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# Outputs non-array value in the form of hash
|
|
327
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
328
|
+
# @param [Object] value Any valid value
|
|
329
|
+
# @return [Hash] Returns the value in the form of hash
|
|
330
|
+
def _to_hash(value)
|
|
331
|
+
if value.is_a?(Array)
|
|
332
|
+
value.compact.map { |v| _to_hash(v) }
|
|
333
|
+
elsif value.is_a?(Hash)
|
|
334
|
+
{}.tap do |hash|
|
|
335
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
336
|
+
end
|
|
337
|
+
elsif value.respond_to? :to_hash
|
|
338
|
+
value.to_hash
|
|
339
|
+
else
|
|
340
|
+
value
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
end
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
|
-
#
|
|
17
|
+
# When parsed as part of a pkix.Name structure in a crypto/x509 type, the Value will be a string if the ASN.1 type is PrintableString, IA5String, NumericString, BMPString, T61String, or UTF8String; an int64 if the ASN.1 type is INTEGER; an asn1.BitString if the ASN.1 type is BIT STRING; a []byte if the ASN.1 type is OCTET STRING; an asn1.ObjectIdentifier if the ASN.1 type is OBJECT IDENTIFIER; a time.Time if the ASN.1 type is UTCTIME or GENERALIZEDTIME; a bool if the ASN.1 type is BOOLEAN; nil if the ASN.1 type is NULL; an asn1.RawValue otherwise.
|
|
18
18
|
class AttributeTypeAndValue
|
|
19
19
|
attr_accessor :type
|
|
20
20
|
|
data/lib/akeyless/models/auth.rb
CHANGED
|
@@ -33,6 +33,9 @@ module Akeyless
|
|
|
33
33
|
# Password (relevant only for access-type=password)
|
|
34
34
|
attr_accessor :admin_password
|
|
35
35
|
|
|
36
|
+
# Route the interactive OIDC/SAML browser login through the Gateway (gateway-url) instead of Akeyless Auth (relevant only for access-type=saml/oidc)
|
|
37
|
+
attr_accessor :auth_via_gateway
|
|
38
|
+
|
|
36
39
|
# Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
|
|
37
40
|
attr_accessor :azure_cloud
|
|
38
41
|
|
|
@@ -118,6 +121,7 @@ module Akeyless
|
|
|
118
121
|
:'account_id' => :'account-id',
|
|
119
122
|
:'admin_email' => :'admin-email',
|
|
120
123
|
:'admin_password' => :'admin-password',
|
|
124
|
+
:'auth_via_gateway' => :'auth-via-gateway',
|
|
121
125
|
:'azure_cloud' => :'azure-cloud',
|
|
122
126
|
:'cert_challenge' => :'cert-challenge',
|
|
123
127
|
:'cert_data' => :'cert-data',
|
|
@@ -161,6 +165,7 @@ module Akeyless
|
|
|
161
165
|
:'account_id' => :'String',
|
|
162
166
|
:'admin_email' => :'String',
|
|
163
167
|
:'admin_password' => :'String',
|
|
168
|
+
:'auth_via_gateway' => :'Boolean',
|
|
164
169
|
:'azure_cloud' => :'String',
|
|
165
170
|
:'cert_challenge' => :'String',
|
|
166
171
|
:'cert_data' => :'String',
|
|
@@ -237,6 +242,10 @@ module Akeyless
|
|
|
237
242
|
self.admin_password = attributes[:'admin_password']
|
|
238
243
|
end
|
|
239
244
|
|
|
245
|
+
if attributes.key?(:'auth_via_gateway')
|
|
246
|
+
self.auth_via_gateway = attributes[:'auth_via_gateway']
|
|
247
|
+
end
|
|
248
|
+
|
|
240
249
|
if attributes.key?(:'azure_cloud')
|
|
241
250
|
self.azure_cloud = attributes[:'azure_cloud']
|
|
242
251
|
else
|
|
@@ -378,6 +387,7 @@ module Akeyless
|
|
|
378
387
|
account_id == o.account_id &&
|
|
379
388
|
admin_email == o.admin_email &&
|
|
380
389
|
admin_password == o.admin_password &&
|
|
390
|
+
auth_via_gateway == o.auth_via_gateway &&
|
|
381
391
|
azure_cloud == o.azure_cloud &&
|
|
382
392
|
cert_challenge == o.cert_challenge &&
|
|
383
393
|
cert_data == o.cert_data &&
|
|
@@ -415,7 +425,7 @@ module Akeyless
|
|
|
415
425
|
# Calculates hash code according to all attributes.
|
|
416
426
|
# @return [Integer] Hash code
|
|
417
427
|
def hash
|
|
418
|
-
[access_id, access_key, access_type, account_id, admin_email, admin_password, azure_cloud, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
|
|
428
|
+
[access_id, access_key, access_type, account_id, admin_email, admin_password, auth_via_gateway, azure_cloud, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
|
|
419
429
|
end
|
|
420
430
|
|
|
421
431
|
# Builds the object from hash
|
|
@@ -52,6 +52,8 @@ module Akeyless
|
|
|
52
52
|
|
|
53
53
|
attr_accessor :modification_date
|
|
54
54
|
|
|
55
|
+
attr_accessor :owner
|
|
56
|
+
|
|
55
57
|
attr_accessor :uid_expiration_events
|
|
56
58
|
|
|
57
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -75,6 +77,7 @@ module Akeyless
|
|
|
75
77
|
:'expiration_events' => :'expiration_events',
|
|
76
78
|
:'is_approved' => :'is_approved',
|
|
77
79
|
:'modification_date' => :'modification_date',
|
|
80
|
+
:'owner' => :'owner',
|
|
78
81
|
:'uid_expiration_events' => :'uid_expiration_events'
|
|
79
82
|
}
|
|
80
83
|
end
|
|
@@ -105,6 +108,7 @@ module Akeyless
|
|
|
105
108
|
:'expiration_events' => :'Array<AuthExpirationEvent>',
|
|
106
109
|
:'is_approved' => :'Boolean',
|
|
107
110
|
:'modification_date' => :'Time',
|
|
111
|
+
:'owner' => :'String',
|
|
108
112
|
:'uid_expiration_events' => :'Array<UidExpirationEvent>'
|
|
109
113
|
}
|
|
110
114
|
end
|
|
@@ -210,6 +214,10 @@ module Akeyless
|
|
|
210
214
|
self.modification_date = attributes[:'modification_date']
|
|
211
215
|
end
|
|
212
216
|
|
|
217
|
+
if attributes.key?(:'owner')
|
|
218
|
+
self.owner = attributes[:'owner']
|
|
219
|
+
end
|
|
220
|
+
|
|
213
221
|
if attributes.key?(:'uid_expiration_events')
|
|
214
222
|
if (value = attributes[:'uid_expiration_events']).is_a?(Array)
|
|
215
223
|
self.uid_expiration_events = value
|
|
@@ -255,6 +263,7 @@ module Akeyless
|
|
|
255
263
|
expiration_events == o.expiration_events &&
|
|
256
264
|
is_approved == o.is_approved &&
|
|
257
265
|
modification_date == o.modification_date &&
|
|
266
|
+
owner == o.owner &&
|
|
258
267
|
uid_expiration_events == o.uid_expiration_events
|
|
259
268
|
end
|
|
260
269
|
|
|
@@ -267,7 +276,7 @@ module Akeyless
|
|
|
267
276
|
# Calculates hash code according to all attributes.
|
|
268
277
|
# @return [Integer] Hash code
|
|
269
278
|
def hash
|
|
270
|
-
[access_date, access_date_display, access_info, account_id, associated_gw_ids, auth_method_access_id, auth_method_additional_data, auth_method_id, auth_method_name, auth_method_roles_assoc, bookmark_login_url_template, client_permissions, creation_date, delete_protection, description, expiration_events, is_approved, modification_date, uid_expiration_events].hash
|
|
279
|
+
[access_date, access_date_display, access_info, account_id, associated_gw_ids, auth_method_access_id, auth_method_additional_data, auth_method_id, auth_method_name, auth_method_roles_assoc, bookmark_login_url_template, client_permissions, creation_date, delete_protection, description, expiration_events, is_approved, modification_date, owner, uid_expiration_events].hash
|
|
271
280
|
end
|
|
272
281
|
|
|
273
282
|
# Builds the object from hash
|
|
@@ -71,6 +71,8 @@ module Akeyless
|
|
|
71
71
|
|
|
72
72
|
attr_accessor :saml_access_rules
|
|
73
73
|
|
|
74
|
+
attr_accessor :scim
|
|
75
|
+
|
|
74
76
|
attr_accessor :sub_claims_delimiters
|
|
75
77
|
|
|
76
78
|
# Relevant only for Universal Identity auth methods: token about-to-expire notification thresholds.
|
|
@@ -107,6 +109,7 @@ module Akeyless
|
|
|
107
109
|
:'product_types' => :'product_types',
|
|
108
110
|
:'rules_type' => :'rules_type',
|
|
109
111
|
:'saml_access_rules' => :'saml_access_rules',
|
|
112
|
+
:'scim' => :'scim',
|
|
110
113
|
:'sub_claims_delimiters' => :'sub_claims_delimiters',
|
|
111
114
|
:'uid_expiration_events' => :'uid_expiration_events',
|
|
112
115
|
:'universal_identity_access_rules' => :'universal_identity_access_rules'
|
|
@@ -147,6 +150,7 @@ module Akeyless
|
|
|
147
150
|
:'product_types' => :'Array<String>',
|
|
148
151
|
:'rules_type' => :'String',
|
|
149
152
|
:'saml_access_rules' => :'SAMLAccessRules',
|
|
153
|
+
:'scim' => :'ScimSettings',
|
|
150
154
|
:'sub_claims_delimiters' => :'Array<String>',
|
|
151
155
|
:'uid_expiration_events' => :'Array<UidExpirationEvent>',
|
|
152
156
|
:'universal_identity_access_rules' => :'UniversalIdentityAccessRules'
|
|
@@ -284,6 +288,10 @@ module Akeyless
|
|
|
284
288
|
self.saml_access_rules = attributes[:'saml_access_rules']
|
|
285
289
|
end
|
|
286
290
|
|
|
291
|
+
if attributes.key?(:'scim')
|
|
292
|
+
self.scim = attributes[:'scim']
|
|
293
|
+
end
|
|
294
|
+
|
|
287
295
|
if attributes.key?(:'sub_claims_delimiters')
|
|
288
296
|
if (value = attributes[:'sub_claims_delimiters']).is_a?(Array)
|
|
289
297
|
self.sub_claims_delimiters = value
|
|
@@ -347,6 +355,7 @@ module Akeyless
|
|
|
347
355
|
product_types == o.product_types &&
|
|
348
356
|
rules_type == o.rules_type &&
|
|
349
357
|
saml_access_rules == o.saml_access_rules &&
|
|
358
|
+
scim == o.scim &&
|
|
350
359
|
sub_claims_delimiters == o.sub_claims_delimiters &&
|
|
351
360
|
uid_expiration_events == o.uid_expiration_events &&
|
|
352
361
|
universal_identity_access_rules == o.universal_identity_access_rules
|
|
@@ -361,7 +370,7 @@ module Akeyless
|
|
|
361
370
|
# Calculates hash code according to all attributes.
|
|
362
371
|
# @return [Integer] Hash code
|
|
363
372
|
def hash
|
|
364
|
-
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, enforce_client_type, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
373
|
+
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, enforce_client_type, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, scim, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
365
374
|
end
|
|
366
375
|
|
|
367
376
|
# Builds the object from hash
|
|
@@ -73,6 +73,9 @@ module Akeyless
|
|
|
73
73
|
# Auth Method name
|
|
74
74
|
attr_accessor :name
|
|
75
75
|
|
|
76
|
+
# Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner and pass an empty value to clear it
|
|
77
|
+
attr_accessor :owner
|
|
78
|
+
|
|
76
79
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]
|
|
77
80
|
attr_accessor :product_type
|
|
78
81
|
|
|
@@ -110,6 +113,7 @@ module Akeyless
|
|
|
110
113
|
:'json' => :'json',
|
|
111
114
|
:'jwt_ttl' => :'jwt-ttl',
|
|
112
115
|
:'name' => :'name',
|
|
116
|
+
:'owner' => :'owner',
|
|
113
117
|
:'product_type' => :'product-type',
|
|
114
118
|
:'sts_url' => :'sts-url',
|
|
115
119
|
:'token' => :'token',
|
|
@@ -145,6 +149,7 @@ module Akeyless
|
|
|
145
149
|
:'json' => :'Boolean',
|
|
146
150
|
:'jwt_ttl' => :'Integer',
|
|
147
151
|
:'name' => :'String',
|
|
152
|
+
:'owner' => :'String',
|
|
148
153
|
:'product_type' => :'Array<String>',
|
|
149
154
|
:'sts_url' => :'String',
|
|
150
155
|
:'token' => :'String',
|
|
@@ -282,6 +287,10 @@ module Akeyless
|
|
|
282
287
|
self.name = nil
|
|
283
288
|
end
|
|
284
289
|
|
|
290
|
+
if attributes.key?(:'owner')
|
|
291
|
+
self.owner = attributes[:'owner']
|
|
292
|
+
end
|
|
293
|
+
|
|
285
294
|
if attributes.key?(:'product_type')
|
|
286
295
|
if (value = attributes[:'product_type']).is_a?(Array)
|
|
287
296
|
self.product_type = value
|
|
@@ -351,6 +360,7 @@ module Akeyless
|
|
|
351
360
|
json == o.json &&
|
|
352
361
|
jwt_ttl == o.jwt_ttl &&
|
|
353
362
|
name == o.name &&
|
|
363
|
+
owner == o.owner &&
|
|
354
364
|
product_type == o.product_type &&
|
|
355
365
|
sts_url == o.sts_url &&
|
|
356
366
|
token == o.token &&
|
|
@@ -367,7 +377,7 @@ module Akeyless
|
|
|
367
377
|
# Calculates hash code according to all attributes.
|
|
368
378
|
# @return [Integer] Hash code
|
|
369
379
|
def hash
|
|
370
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_account_id, bound_arn, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
380
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_account_id, bound_arn, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, owner, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
371
381
|
end
|
|
372
382
|
|
|
373
383
|
# Builds the object from hash
|
|
@@ -52,6 +52,9 @@ module Akeyless
|
|
|
52
52
|
# Auth Method name
|
|
53
53
|
attr_accessor :name
|
|
54
54
|
|
|
55
|
+
# Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner and pass an empty value to clear it
|
|
56
|
+
attr_accessor :owner
|
|
57
|
+
|
|
55
58
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]
|
|
56
59
|
attr_accessor :product_type
|
|
57
60
|
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
|
76
79
|
:'json' => :'json',
|
|
77
80
|
:'jwt_ttl' => :'jwt-ttl',
|
|
78
81
|
:'name' => :'name',
|
|
82
|
+
:'owner' => :'owner',
|
|
79
83
|
:'product_type' => :'product-type',
|
|
80
84
|
:'token' => :'token',
|
|
81
85
|
:'uid_token' => :'uid-token'
|
|
@@ -102,6 +106,7 @@ module Akeyless
|
|
|
102
106
|
:'json' => :'Boolean',
|
|
103
107
|
:'jwt_ttl' => :'Integer',
|
|
104
108
|
:'name' => :'String',
|
|
109
|
+
:'owner' => :'String',
|
|
105
110
|
:'product_type' => :'Array<String>',
|
|
106
111
|
:'token' => :'String',
|
|
107
112
|
:'uid_token' => :'String'
|
|
@@ -195,6 +200,10 @@ module Akeyless
|
|
|
195
200
|
self.name = nil
|
|
196
201
|
end
|
|
197
202
|
|
|
203
|
+
if attributes.key?(:'owner')
|
|
204
|
+
self.owner = attributes[:'owner']
|
|
205
|
+
end
|
|
206
|
+
|
|
198
207
|
if attributes.key?(:'product_type')
|
|
199
208
|
if (value = attributes[:'product_type']).is_a?(Array)
|
|
200
209
|
self.product_type = value
|
|
@@ -247,6 +256,7 @@ module Akeyless
|
|
|
247
256
|
json == o.json &&
|
|
248
257
|
jwt_ttl == o.jwt_ttl &&
|
|
249
258
|
name == o.name &&
|
|
259
|
+
owner == o.owner &&
|
|
250
260
|
product_type == o.product_type &&
|
|
251
261
|
token == o.token &&
|
|
252
262
|
uid_token == o.uid_token
|
|
@@ -261,7 +271,7 @@ module Akeyless
|
|
|
261
271
|
# Calculates hash code according to all attributes.
|
|
262
272
|
# @return [Integer] Hash code
|
|
263
273
|
def hash
|
|
264
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
|
274
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, owner, product_type, token, uid_token].hash
|
|
265
275
|
end
|
|
266
276
|
|
|
267
277
|
# Builds the object from hash
|
|
@@ -73,6 +73,9 @@ module Akeyless
|
|
|
73
73
|
# Auth Method name
|
|
74
74
|
attr_accessor :name
|
|
75
75
|
|
|
76
|
+
# Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner and pass an empty value to clear it
|
|
77
|
+
attr_accessor :owner
|
|
78
|
+
|
|
76
79
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]
|
|
77
80
|
attr_accessor :product_type
|
|
78
81
|
|
|
@@ -110,6 +113,7 @@ module Akeyless
|
|
|
110
113
|
:'json' => :'json',
|
|
111
114
|
:'jwt_ttl' => :'jwt-ttl',
|
|
112
115
|
:'name' => :'name',
|
|
116
|
+
:'owner' => :'owner',
|
|
113
117
|
:'product_type' => :'product-type',
|
|
114
118
|
:'sts_url' => :'sts-url',
|
|
115
119
|
:'token' => :'token',
|
|
@@ -145,6 +149,7 @@ module Akeyless
|
|
|
145
149
|
:'json' => :'Boolean',
|
|
146
150
|
:'jwt_ttl' => :'Integer',
|
|
147
151
|
:'name' => :'String',
|
|
152
|
+
:'owner' => :'String',
|
|
148
153
|
:'product_type' => :'Array<String>',
|
|
149
154
|
:'sts_url' => :'String',
|
|
150
155
|
:'token' => :'String',
|
|
@@ -284,6 +289,10 @@ module Akeyless
|
|
|
284
289
|
self.name = nil
|
|
285
290
|
end
|
|
286
291
|
|
|
292
|
+
if attributes.key?(:'owner')
|
|
293
|
+
self.owner = attributes[:'owner']
|
|
294
|
+
end
|
|
295
|
+
|
|
287
296
|
if attributes.key?(:'product_type')
|
|
288
297
|
if (value = attributes[:'product_type']).is_a?(Array)
|
|
289
298
|
self.product_type = value
|
|
@@ -358,6 +367,7 @@ module Akeyless
|
|
|
358
367
|
json == o.json &&
|
|
359
368
|
jwt_ttl == o.jwt_ttl &&
|
|
360
369
|
name == o.name &&
|
|
370
|
+
owner == o.owner &&
|
|
361
371
|
product_type == o.product_type &&
|
|
362
372
|
sts_url == o.sts_url &&
|
|
363
373
|
token == o.token &&
|
|
@@ -374,7 +384,7 @@ module Akeyless
|
|
|
374
384
|
# Calculates hash code according to all attributes.
|
|
375
385
|
# @return [Integer] Hash code
|
|
376
386
|
def hash
|
|
377
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
387
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, owner, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
378
388
|
end
|
|
379
389
|
|
|
380
390
|
# Builds the object from hash
|