From 3e1f89688c130f33571b515c9f2ed18cc3cc65ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Tue, 1 Aug 2023 09:41:14 +0200 Subject: [PATCH] Migrate to @ConfigMapping Necessary to catch up with quarkus-amazon-services See https://github.com/quarkiverse/quarkus-amazon-services/pull/836 --- ...ibernate-search-orm-elasticsearch-aws.adoc | 941 ++---------------- ...nateSearchOrmElasticsearchAwsRecorder.java | 24 +- ...earchOrmElasticsearchAwsRuntimeConfig.java | 23 +- ...searchAwsRuntimeConfigPersistenceUnit.java | 58 +- 4 files changed, 110 insertions(+), 936 deletions(-) diff --git a/docs/modules/ROOT/pages/includes/quarkus-hibernate-search-orm-elasticsearch-aws.adoc b/docs/modules/ROOT/pages/includes/quarkus-hibernate-search-orm-elasticsearch-aws.adoc index 59a07a1..4319459 100644 --- a/docs/modules/ROOT/pages/includes/quarkus-hibernate-search-orm-elasticsearch-aws.adoc +++ b/docs/modules/ROOT/pages/includes/quarkus-hibernate-search-orm-elasticsearch-aws.adoc @@ -10,23 +10,23 @@ h|[[quarkus-hibernate-search-orm-elasticsearch-aws_configuration]]link:#quarkus- h|Type h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.signing.enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.signing.enabled[quarkus.hibernate-search-orm.elasticsearch.aws.signing.enabled]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.signing.enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.signing.enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.signing.enabled]` [.description] -- Whether requests should be signed using the AWS credentials. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_SIGNING_ENABLED+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_SIGNING_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_SIGNING_ENABLED+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_SIGNING_ENABLED+++` endif::add-copy-button-to-env-var[] --|boolean |`false` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.region]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.region[quarkus.hibernate-search-orm.elasticsearch.aws.region]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.region]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.region[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.region]` [.description] -- @@ -37,16 +37,16 @@ Must be provided if signing is enabled; the region won't be automatically detect See `software.amazon.awssdk.regions.Region` for available regions. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_REGION+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_REGION+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_REGION+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_REGION+++` endif::add-copy-button-to-env-var[] --|Region | -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.type]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.type[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.type]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.type]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.type[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.type]` [.description] -- @@ -76,880 +76,139 @@ Available values: fail unless the resource or API's policy has been configured to specifically allow anonymous access. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_TYPE+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_TYPE+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++` endif::add-copy-button-to-env-var[] -- a| `default`, `static`, `system-property`, `env-variable`, `profile`, `container`, `instance-profile`, `process`, `custom`, `anonymous` |`default` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.signing.enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.signing.enabled[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.signing.enabled]` - -[.description] --- -Whether requests should be signed using the AWS credentials. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_SIGNING_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_SIGNING_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.region]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.region[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.region]` - -[.description] --- -An Amazon Web Services region that hosts the Elasticsearch service. - -Must be provided if signing is enabled; the region won't be automatically detected. - -See `software.amazon.awssdk.regions.Region` for available regions. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_REGION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_REGION+++` -endif::add-copy-button-to-env-var[] ---|Region -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.type]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.type[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.type]` - -[.description] --- -Configure the credentials provider that should be used to authenticate with AWS. - -Available values: - -* `default` - the provider will attempt to identify the credentials automatically using the following checks: -** Java System Properties - `aws.accessKeyId` and `aws.secretAccessKey` -** Environment Variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` -** Credential profiles file at the default location (`~/.aws/credentials`) shared by all AWS SDKs and the AWS CLI -** Credentials delivered through the Amazon EC2 container service if `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable is set and security manager has permission to access the variable. -** Instance profile credentials delivered through the Amazon EC2 metadata service -* `static` - the provider that uses the access key and secret access key specified in the `static-provider` section of the config. -* `system-property` - it loads credentials from the `aws.accessKeyId`, `aws.secretAccessKey` and `aws.sessionToken` system properties. -* `env-variable` - it loads credentials from the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` environment variables. -* `profile` - credentials are based on AWS configuration profiles. This loads credentials from - a http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html[profile file], - allowing you to share multiple sets of AWS security credentials between different tools like the AWS SDK for Java and the AWS CLI. -* `container` - It loads credentials from a local metadata service. Containers currently supported by the AWS SDK are - **Amazon Elastic Container Service (ECS)** and **AWS Greengrass** -* `instance-profile` - It loads credentials from the Amazon EC2 Instance Metadata Service. -* `process` - Credentials are loaded from an external process. This is used to support the credential_process setting in the profile - credentials file. See https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes[Sourcing Credentials From External Processes] - for more information. -* `anonymous` - It always returns anonymous AWS credentials. Anonymous AWS credentials result in un-authenticated requests and will - fail unless the resource or API's policy has been configured to specifically allow anonymous access. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++` -endif::add-copy-button-to-env-var[] --- a| -`default`, `static`, `system-property`, `env-variable`, `profile`, `container`, `instance-profile`, `process`, `custom`, `anonymous` -|`default` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.signing.enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.signing.enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.signing.enabled]` - -[.description] --- -Whether requests should be signed using the AWS credentials. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_SIGNING_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_SIGNING_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.region]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.region[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.region]` - -[.description] --- -An Amazon Web Services region that hosts the Elasticsearch service. - -Must be provided if signing is enabled; the region won't be automatically detected. - -See `software.amazon.awssdk.regions.Region` for available regions. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_REGION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_REGION+++` -endif::add-copy-button-to-env-var[] ---|Region -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.type]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.type[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.type]` - -[.description] --- -Configure the credentials provider that should be used to authenticate with AWS. - -Available values: - -* `default` - the provider will attempt to identify the credentials automatically using the following checks: -** Java System Properties - `aws.accessKeyId` and `aws.secretAccessKey` -** Environment Variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` -** Credential profiles file at the default location (`~/.aws/credentials`) shared by all AWS SDKs and the AWS CLI -** Credentials delivered through the Amazon EC2 container service if `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable is set and security manager has permission to access the variable. -** Instance profile credentials delivered through the Amazon EC2 metadata service -* `static` - the provider that uses the access key and secret access key specified in the `static-provider` section of the config. -* `system-property` - it loads credentials from the `aws.accessKeyId`, `aws.secretAccessKey` and `aws.sessionToken` system properties. -* `env-variable` - it loads credentials from the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` environment variables. -* `profile` - credentials are based on AWS configuration profiles. This loads credentials from - a http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html[profile file], - allowing you to share multiple sets of AWS security credentials between different tools like the AWS SDK for Java and the AWS CLI. -* `container` - It loads credentials from a local metadata service. Containers currently supported by the AWS SDK are - **Amazon Elastic Container Service (ECS)** and **AWS Greengrass** -* `instance-profile` - It loads credentials from the Amazon EC2 Instance Metadata Service. -* `process` - Credentials are loaded from an external process. This is used to support the credential_process setting in the profile - credentials file. See https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes[Sourcing Credentials From External Processes] - for more information. -* `anonymous` - It always returns anonymous AWS credentials. Anonymous AWS credentials result in un-authenticated requests and will - fail unless the resource or API's policy has been configured to specifically allow anonymous access. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_TYPE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_TYPE+++` -endif::add-copy-button-to-env-var[] --- a| -`default`, `static`, `system-property`, `env-variable`, `profile`, `container`, `instance-profile`, `process`, `custom`, `anonymous` -|`default` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.signing.enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.signing.enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.signing.enabled]` - -[.description] --- -Whether requests should be signed using the AWS credentials. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_SIGNING_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_SIGNING_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.region]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.region[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.region]` - -[.description] --- -An Amazon Web Services region that hosts the Elasticsearch service. - -Must be provided if signing is enabled; the region won't be automatically detected. - -See `software.amazon.awssdk.regions.Region` for available regions. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_REGION+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_REGION+++` -endif::add-copy-button-to-env-var[] ---|Region -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.type]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.type[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.type]` - -[.description] --- -Configure the credentials provider that should be used to authenticate with AWS. - -Available values: - -* `default` - the provider will attempt to identify the credentials automatically using the following checks: -** Java System Properties - `aws.accessKeyId` and `aws.secretAccessKey` -** Environment Variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` -** Credential profiles file at the default location (`~/.aws/credentials`) shared by all AWS SDKs and the AWS CLI -** Credentials delivered through the Amazon EC2 container service if `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable is set and security manager has permission to access the variable. -** Instance profile credentials delivered through the Amazon EC2 metadata service -* `static` - the provider that uses the access key and secret access key specified in the `static-provider` section of the config. -* `system-property` - it loads credentials from the `aws.accessKeyId`, `aws.secretAccessKey` and `aws.sessionToken` system properties. -* `env-variable` - it loads credentials from the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` environment variables. -* `profile` - credentials are based on AWS configuration profiles. This loads credentials from - a http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html[profile file], - allowing you to share multiple sets of AWS security credentials between different tools like the AWS SDK for Java and the AWS CLI. -* `container` - It loads credentials from a local metadata service. Containers currently supported by the AWS SDK are - **Amazon Elastic Container Service (ECS)** and **AWS Greengrass** -* `instance-profile` - It loads credentials from the Amazon EC2 Instance Metadata Service. -* `process` - Credentials are loaded from an external process. This is used to support the credential_process setting in the profile - credentials file. See https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes[Sourcing Credentials From External Processes] - for more information. -* `anonymous` - It always returns anonymous AWS credentials. Anonymous AWS credentials result in un-authenticated requests and will - fail unless the resource or API's policy has been configured to specifically allow anonymous access. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_TYPE+++` -endif::add-copy-button-to-env-var[] --- a| -`default`, `static`, `system-property`, `env-variable`, `profile`, `container`, `instance-profile`, `process`, `custom`, `anonymous` -|`default` - - -h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider-default-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider-default-credentials-provider-configuration[Default credentials provider configuration] +h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider-default-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider-default-credentials-provider-configuration[Default credentials provider configuration] h|Type h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.async-credential-update-enabled[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.async-credential-update-enabled]` - -[.description] --- -Whether this provider should fetch credentials asynchronously in the background. - -If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled]` - -[.description] --- -Whether the provider should reuse the last successful credentials provider in the chain. - -Reusing the last successful credentials provider will typically return credentials faster than searching through the chain. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.default-provider.async-credential-update-enabled]` - -[.description] --- -Whether this provider should fetch credentials asynchronously in the background. - -If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.default-provider.reuse-last-provider-enabled]` - -[.description] --- -Whether the provider should reuse the last successful credentials provider in the chain. - -Reusing the last successful credentials provider will typically return credentials faster than searching through the chain. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.default-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.default-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.default-provider.async-credential-update-enabled]` - -[.description] --- -Whether this provider should fetch credentials asynchronously in the background. - -If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.default-provider.reuse-last-provider-enabled]` - -[.description] --- -Whether the provider should reuse the last successful credentials provider in the chain. - -Reusing the last successful credentials provider will typically return credentials faster than searching through the chain. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.default-provider.async-credential-update-enabled]` - -[.description] --- -Whether this provider should fetch credentials asynchronously in the background. - -If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.default-provider.reuse-last-provider-enabled]` - -[.description] --- -Whether the provider should reuse the last successful credentials provider in the chain. - -Reusing the last successful credentials provider will typically return credentials faster than searching through the chain. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`true` - - -h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider-static-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider-static-credentials-provider-configuration[Static credentials provider configuration] - -h|Type -h|Default - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.access-key-id]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.access-key-id[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.access-key-id]` - -[.description] --- -AWS Access key id - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.secret-access-key]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.secret-access-key[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.secret-access-key]` - -[.description] --- -AWS Secret access key - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.session-token]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.session-token[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.static-provider.session-token]` - -[.description] --- -AWS Session token - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.access-key-id]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.access-key-id[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.static-provider.access-key-id]` - -[.description] --- -AWS Access key id - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.secret-access-key]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.secret-access-key[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.static-provider.secret-access-key]` - -[.description] --- -AWS Secret access key - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.session-token]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.session-token[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.static-provider.session-token]` - -[.description] --- -AWS Session token - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.access-key-id]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.access-key-id[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.static-provider.access-key-id]` - -[.description] --- -AWS Access key id - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.secret-access-key]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.secret-access-key[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.static-provider.secret-access-key]` - -[.description] --- -AWS Secret access key - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.session-token]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.static-provider.session-token[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.static-provider.session-token]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.default-provider.async-credential-update-enabled]` [.description] -- -AWS Session token - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.access-key-id]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.access-key-id[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.static-provider.access-key-id]` +Whether this provider should fetch credentials asynchronously in the background. -[.description] --- -AWS Access key id +If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`false` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.secret-access-key]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.secret-access-key[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.static-provider.secret-access-key]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.default-provider.reuse-last-provider-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.default-provider.reuse-last-provider-enabled]` [.description] -- -AWS Secret access key - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.session-token]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.static-provider.session-token[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.static-provider.session-token]` +Whether the provider should reuse the last successful credentials provider in the chain. -[.description] --- -AWS Session token +Reusing the last successful credentials provider will typically return credentials faster than searching through the chain. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_DEFAULT_PROVIDER_REUSE_LAST_PROVIDER_ENABLED+++` endif::add-copy-button-to-env-var[] ---|string -| +--|boolean +|`true` -h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.profile-provider-aws-profile-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.profile-provider-aws-profile-credentials-provider-configuration[AWS Profile credentials provider configuration] +h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider-static-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider-static-credentials-provider-configuration[Static credentials provider configuration] h|Type h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.profile-provider.profile-name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.profile-provider.profile-name[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.profile-provider.profile-name]` - -[.description] --- -The name of the profile that should be used by this credentials provider. - -If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.profile-provider.profile-name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.profile-provider.profile-name[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.profile-provider.profile-name]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.access-key-id]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.access-key-id[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.static-provider.access-key-id]` [.description] -- -The name of the profile that should be used by this credentials provider. - -If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name. +AWS Access key id ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID+++` endif::add-copy-button-to-env-var[] --|string | -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.profile-provider.profile-name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.profile-provider.profile-name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.profile-provider.profile-name]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.secret-access-key]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.secret-access-key[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.static-provider.secret-access-key]` [.description] -- -The name of the profile that should be used by this credentials provider. - -If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name. +AWS Secret access key ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY+++` endif::add-copy-button-to-env-var[] --|string | -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.profile-provider.profile-name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.profile-provider.profile-name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.profile-provider.profile-name]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.session-token]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.static-provider.session-token[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.static-provider.session-token]` [.description] -- -The name of the profile that should be used by this credentials provider. - -If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name. +AWS Session token ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_STATIC_PROVIDER_SESSION_TOKEN+++` endif::add-copy-button-to-env-var[] --|string | -h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider-process-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider-process-credentials-provider-configuration[Process credentials provider configuration] +h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.profile-provider-aws-profile-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.profile-provider-aws-profile-credentials-provider-configuration[AWS Profile credentials provider configuration] h|Type h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.async-credential-update-enabled[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.async-credential-update-enabled]` - -[.description] --- -Whether the provider should fetch credentials asynchronously in the background. - -If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.credential-refresh-threshold]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.credential-refresh-threshold[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.credential-refresh-threshold]` - -[.description] --- -The amount of time between when the credentials expire and when the credentials should start to be refreshed. - -This allows the credentials to be refreshed ++*++before++*++ they are reported to expire. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -|`15S` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.process-output-limit]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.process-output-limit[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.process-output-limit]` - -[.description] --- -The maximum size of the output that can be returned by the external process before an exception is raised. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++` -endif::add-copy-button-to-env-var[] ---|MemorySize link:#memory-size-note-anchor[icon:question-circle[], title=More information about the MemorySize format] -|`1024` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.command]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.command[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.process-provider.command]` - -[.description] --- -The command that should be executed to retrieve credentials. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.process-provider.async-credential-update-enabled]` - -[.description] --- -Whether the provider should fetch credentials asynchronously in the background. - -If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.process-provider.credential-refresh-threshold]` - -[.description] --- -The amount of time between when the credentials expire and when the credentials should start to be refreshed. - -This allows the credentials to be refreshed ++*++before++*++ they are reported to expire. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -|`15S` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.process-output-limit]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.process-output-limit[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.process-provider.process-output-limit]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.profile-provider.profile-name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.profile-provider.profile-name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.profile-provider.profile-name]` [.description] -- -The maximum size of the output that can be returned by the external process before an exception is raised. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++` -endif::add-copy-button-to-env-var[] ---|MemorySize link:#memory-size-note-anchor[icon:question-circle[], title=More information about the MemorySize format] -|`1024` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.command]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.command[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.process-provider.command]` +The name of the profile that should be used by this credentials provider. -[.description] --- -The command that should be executed to retrieve credentials. +If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROFILE_PROVIDER_PROFILE_NAME+++` endif::add-copy-button-to-env-var[] --|string | -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.process-provider.async-credential-update-enabled]` - -[.description] --- -Whether the provider should fetch credentials asynchronously in the background. - -If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` -endif::add-copy-button-to-env-var[] ---|boolean -|`false` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.credential-refresh-threshold]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.credential-refresh-threshold[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.process-provider.credential-refresh-threshold]` - -[.description] --- -The amount of time between when the credentials expire and when the credentials should start to be refreshed. - -This allows the credentials to be refreshed ++*++before++*++ they are reported to expire. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++` -endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] -|`15S` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.process-output-limit]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.process-output-limit[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.process-provider.process-output-limit]` - -[.description] --- -The maximum size of the output that can be returned by the external process before an exception is raised. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++` -endif::add-copy-button-to-env-var[] ---|MemorySize link:#memory-size-note-anchor[icon:question-circle[], title=More information about the MemorySize format] -|`1024` - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.command]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.process-provider.command[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.process-provider.command]` - -[.description] --- -The command that should be executed to retrieve credentials. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++` -endif::add-copy-button-to-env-var[] ---|string -| +h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider-process-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider-process-credentials-provider-configuration[Process credentials provider configuration] +h|Type +h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.process-provider.async-credential-update-enabled]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.async-credential-update-enabled[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.process-provider.async-credential-update-enabled]` [.description] -- @@ -958,16 +217,16 @@ Whether the provider should fetch credentials asynchronously in the background. If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_ASYNC_CREDENTIAL_UPDATE_ENABLED+++` endif::add-copy-button-to-env-var[] --|boolean |`false` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.process-provider.credential-refresh-threshold]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.credential-refresh-threshold[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.process-provider.credential-refresh-threshold]` [.description] -- @@ -976,135 +235,65 @@ The amount of time between when the credentials expire and when the credentials This allows the credentials to be refreshed ++*++before++*++ they are reported to expire. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_CREDENTIAL_REFRESH_THRESHOLD+++` endif::add-copy-button-to-env-var[] ---|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration] - link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format] +--|Duration |`15S` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.process-output-limit]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.process-output-limit[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.process-provider.process-output-limit]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.process-output-limit]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.process-output-limit[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.process-provider.process-output-limit]` [.description] -- The maximum size of the output that can be returned by the external process before an exception is raised. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_PROCESS_OUTPUT_LIMIT+++` endif::add-copy-button-to-env-var[] ---|MemorySize link:#memory-size-note-anchor[icon:question-circle[], title=More information about the MemorySize format] +--|MemorySize |`1024` -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.command]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.process-provider.command[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.process-provider.command]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.command]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.process-provider.command[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.process-provider.command]` [.description] -- The command that should be executed to retrieve credentials. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_PROCESS_PROVIDER_COMMAND+++` endif::add-copy-button-to-env-var[] --|string | -h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.custom-provider-custom-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.custom-provider-custom-credentials-provider-configuration[Custom credentials provider configuration] +h|[[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.custom-provider-custom-credentials-provider-configuration]]link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.custom-provider-custom-credentials-provider-configuration[Custom credentials provider configuration] h|Type h|Default -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.custom-provider.name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.aws.credentials.custom-provider.name[quarkus.hibernate-search-orm.elasticsearch.aws.credentials.custom-provider.name]` - -[.description] --- -The name of custom AwsCredentialsProvider bean. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.custom-provider.name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.elasticsearch.backends.-backend-name-.aws.credentials.custom-provider.name[quarkus.hibernate-search-orm.elasticsearch.backends."backend-name".aws.credentials.custom-provider.name]` - -[.description] --- -The name of custom AwsCredentialsProvider bean. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.custom-provider.name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.aws.credentials.custom-provider.name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.aws.credentials.custom-provider.name]` - -[.description] --- -The name of custom AwsCredentialsProvider bean. - -ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++[] -endif::add-copy-button-to-env-var[] -ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++` -endif::add-copy-button-to-env-var[] ---|string -| - - -a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.custom-provider.name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.backends.-backend-name-.aws.credentials.custom-provider.name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch.backends."backend-name".aws.credentials.custom-provider.name]` +a| [[quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.custom-provider.name]]`link:#quarkus-hibernate-search-orm-elasticsearch-aws_quarkus.hibernate-search-orm.-persistence-unit-name-.elasticsearch.-backend-name-.aws.credentials.custom-provider.name[quarkus.hibernate-search-orm."persistence-unit-name".elasticsearch."backend-name".aws.credentials.custom-provider.name]` [.description] -- The name of custom AwsCredentialsProvider bean. ifdef::add-copy-button-to-env-var[] -Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++[] +Environment variable: env_var_with_copy_button:+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++[] endif::add-copy-button-to-env-var[] ifndef::add-copy-button-to-env-var[] -Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH_BACKENDS__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++` +Environment variable: `+++QUARKUS_HIBERNATE_SEARCH_ORM__PERSISTENCE_UNIT_NAME__ELASTICSEARCH__BACKEND_NAME__AWS_CREDENTIALS_CUSTOM_PROVIDER_NAME+++` endif::add-copy-button-to-env-var[] --|string | -|=== -ifndef::no-duration-note[] -[NOTE] -[id='duration-note-anchor-{summaryTableId}'] -.About the Duration format -==== -The format for durations uses the standard `java.time.Duration` format. -You can learn more about it in the link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-[Duration#parse() javadoc]. - -You can also provide duration values starting with a number. -In this case, if the value consists only of a number, the converter treats the value as seconds. -Otherwise, `PT` is implicitly prepended to the value to obtain a standard `java.time.Duration` format. -==== -endif::no-duration-note[] - -[NOTE] -[[memory-size-note-anchor]] -.About the MemorySize format -==== -A size configuration option recognises string in this format (shown as a regular expression): `[0-9]+[KkMmGgTtPpEeZzYy]?`. -If no suffix is given, assume bytes. -==== +|=== \ No newline at end of file diff --git a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRecorder.java b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRecorder.java index a8a33a6..84628c9 100644 --- a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRecorder.java +++ b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRecorder.java @@ -8,7 +8,6 @@ import org.hibernate.search.backend.elasticsearch.aws.cfg.ElasticsearchAwsBackendSettings; import org.hibernate.search.backend.elasticsearch.aws.spi.ElasticsearcAwsCredentialsProvider; -import io.quarkus.hibernate.orm.runtime.PersistenceUnitUtil; import io.quarkus.hibernate.orm.runtime.integration.HibernateOrmIntegrationRuntimeInitListener; import io.quarkus.hibernate.search.orm.elasticsearch.aws.runtime.HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.ElasticsearchBackendRuntimeConfig; import io.quarkus.runtime.annotations.Recorder; @@ -19,10 +18,8 @@ public class HibernateSearchOrmElasticsearchAwsRecorder { public HibernateOrmIntegrationRuntimeInitListener createRuntimeInitListener( HibernateSearchOrmElasticsearchAwsRuntimeConfig runtimeConfig, String persistenceUnitName) { - HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit puConfig = PersistenceUnitUtil - .isDefaultPersistenceUnit(persistenceUnitName) - ? runtimeConfig.defaultPersistenceUnit - : runtimeConfig.persistenceUnits.get(persistenceUnitName); + HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit puConfig = runtimeConfig.persistenceUnits() + .get(persistenceUnitName); if (puConfig == null) { return null; } @@ -41,19 +38,16 @@ private RuntimeInitListener( @Override public void contributeRuntimeProperties(BiConsumer propertyCollector) { - contributeBackendRuntimeProperties(propertyCollector, null, - runtimeConfig.defaultBackend); - - for (Entry backendEntry : runtimeConfig.namedBackends.backends - .entrySet()) { + for (Entry backendEntry : runtimeConfig.backends().entrySet()) { contributeBackendRuntimeProperties(propertyCollector, backendEntry.getKey(), backendEntry.getValue()); } } private void contributeBackendRuntimeProperties(BiConsumer propertyCollector, String backendName, ElasticsearchBackendRuntimeConfig elasticsearchBackendConfig) { - HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.ElasticsearchBackendAwsConfig aws = elasticsearchBackendConfig.aws; - if (aws == null || !aws.signingEnabled) { + HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.ElasticsearchBackendAwsConfig aws = elasticsearchBackendConfig + .aws(); + if (aws == null || !aws.signing().enabled()) { return; } @@ -64,16 +58,16 @@ private void contributeBackendRuntimeProperties(BiConsumer prope ? "quarkus.hibernate-search-orm.elasticsearch" : "quarkus.hibernate-search-orm.elasticsearch.backends." + backendName; - if (!aws.region.isPresent()) { + if (aws.region().isEmpty()) { String propertyKey = configKeyRoot + ".aws.region"; throw new RuntimeException( "When AWS request signing is enabled, the AWS region needs to be defined via property '" + propertyKey + "'."); } addBackendConfig(propertyCollector, backendName, ElasticsearchAwsBackendSettings.REGION, - aws.region.get().id()); + aws.region().get().id()); - AwsCredentialsProvider credentialProvider = aws.credentials.type.create(aws.credentials, configKeyRoot); + AwsCredentialsProvider credentialProvider = aws.credentials().type().create(aws.credentials(), configKeyRoot); addBackendConfig(propertyCollector, backendName, ElasticsearchAwsBackendSettings.CREDENTIALS_TYPE, (ElasticsearcAwsCredentialsProvider) configurationPropertySource -> credentialProvider); } diff --git a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfig.java b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfig.java index 704cdc2..181f3d7 100644 --- a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfig.java +++ b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfig.java @@ -2,25 +2,24 @@ import java.util.Map; +import io.quarkus.hibernate.orm.runtime.PersistenceUnitUtil; import io.quarkus.runtime.annotations.ConfigDocMapKey; -import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; +import io.smallrye.config.ConfigMapping; +import io.smallrye.config.WithParentName; +import io.smallrye.config.WithUnnamedKey; -@ConfigRoot(name = "hibernate-search-orm", phase = ConfigPhase.RUN_TIME) -public class HibernateSearchOrmElasticsearchAwsRuntimeConfig { +@ConfigMapping(prefix = "quarkus.hibernate-search-orm") +@ConfigRoot(phase = ConfigPhase.RUN_TIME) +public interface HibernateSearchOrmElasticsearchAwsRuntimeConfig { /** - * Configuration for the default persistence unit. - */ - @ConfigItem(name = ConfigItem.PARENT) - public HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit defaultPersistenceUnit; - - /** - * Configuration for additional named persistence units. + * Configuration for persistence units. */ + @WithParentName + @WithUnnamedKey(PersistenceUnitUtil.DEFAULT_PERSISTENCE_UNIT_NAME) @ConfigDocMapKey("persistence-unit-name") - @ConfigItem(name = ConfigItem.PARENT) - public Map persistenceUnits; + Map persistenceUnits(); } diff --git a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.java b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.java index 6156a2c..21cdc44 100644 --- a/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.java +++ b/hibernate-search-orm-elasticsearch-aws/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/aws/runtime/HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit.java @@ -6,54 +6,38 @@ import io.quarkus.amazon.common.runtime.AwsCredentialsProviderConfig; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigGroup; -import io.quarkus.runtime.annotations.ConfigItem; +import io.smallrye.config.WithName; +import io.smallrye.config.WithUnnamedKey; import software.amazon.awssdk.regions.Region; @ConfigGroup -public class HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit { +public interface HibernateSearchOrmElasticsearchAwsRuntimeConfigPersistenceUnit { /** - * Default backend + * Configuration for backends. */ - @ConfigItem(name = "elasticsearch") - ElasticsearchBackendRuntimeConfig defaultBackend; - - /** - * Named backends - */ - @ConfigItem(name = "elasticsearch") - public ElasticsearchNamedBackendsRuntimeConfig namedBackends; - - @ConfigGroup - public static class ElasticsearchNamedBackendsRuntimeConfig { - - /** - * Named backends - */ - @ConfigDocMapKey("backend-name") - public Map backends; - - } + @WithName("elasticsearch") + @WithUnnamedKey // The default backend has the null key + @ConfigDocMapKey("backend-name") + Map backends(); @ConfigGroup - public static class ElasticsearchBackendRuntimeConfig { + interface ElasticsearchBackendRuntimeConfig { /** * AWS services configurations */ - @ConfigItem - ElasticsearchBackendAwsConfig aws; + ElasticsearchBackendAwsConfig aws(); } @ConfigGroup - public static class ElasticsearchBackendAwsConfig { + interface ElasticsearchBackendAwsConfig { /** - * Whether requests should be signed using the AWS credentials. + * Configuration for signing. */ - @ConfigItem(name = "signing.enabled") - boolean signingEnabled; + ElasticsearchBackendAwsSigningConfig signing(); // @formatter:off /** @@ -66,14 +50,22 @@ public static class ElasticsearchBackendAwsConfig { * @asciidoclet */ // @formatter:on - @ConfigItem - Optional region; + Optional region(); /** * Defines the credentials provider. */ - @ConfigItem - AwsCredentialsProviderConfig credentials; + AwsCredentialsProviderConfig credentials(); + + } + + @ConfigGroup + interface ElasticsearchBackendAwsSigningConfig { + + /** + * Whether requests should be signed using the AWS credentials. + */ + boolean enabled(); }