Skip to content

Commit

Permalink
Merge pull request #6814 from JoshTheTechWriter/ninth-bundle-of-files
Browse files Browse the repository at this point in the history
Ninth bundle of files.
  • Loading branch information
KarlErickson authored Jan 21, 2025
2 parents 9a22bd1 + c788994 commit d432d55
Show file tree
Hide file tree
Showing 19 changed files with 132 additions and 132 deletions.
4 changes: 2 additions & 2 deletions articles/java/spring-framework/resource-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The `spring-cloud-azure-starter-storage-blob` dependency is only required when y
The `spring-cloud-azure-starter-storage-file-share` dependency is only required when you're using Azure Storage File Share.

> [!TIP]
> We also provide `spring-cloud-azure-starter-storage` to support all the features of Storage. If you choose to use it, `spring.cloud.azure.storage.enable` is the property to configure and the default value is *true*. You can then use `spring.cloud.azure.storage.<storage-service>.enable` to disable unneeded services.
> We also provide `spring-cloud-azure-starter-storage` to support all the features of Storage. If you choose to use it, `spring.cloud.azure.storage.enable` is the property to configure and the default value is `true`. You can then use `spring.cloud.azure.storage.<storage-service>.enable` to disable unneeded services.
## Configuration

Expand Down Expand Up @@ -70,7 +70,7 @@ The following table lists the configurable properties of `spring-cloud-azure-sta
## Basic usage

Add the following properties to your *application.yml* file:
Add the following properties to your **application.yml** file:

```yaml
spring:
Expand Down
4 changes: 2 additions & 2 deletions articles/java/spring-framework/secret-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Spring Cloud Azure construct `PropertySource` which holds secrets stored in Azur
```

> [!TIP]
> We also provide `spring-cloud-azure-starter-keyvault` to support all the features of Key Vault. If you choose to use it, `spring.cloud.azure.keyvault.enable` is the property to configure and the default value is *true*. You can then use `spring.cloud.azure.keyvault.<keyvault-service>.enable` to disable unneeded services.
> We also provide `spring-cloud-azure-starter-keyvault` to support all the features of Key Vault. If you choose to use it, `spring.cloud.azure.keyvault.enable` is the property to configure and the default value is `true`. You can then use `spring.cloud.azure.keyvault.<keyvault-service>.enable` to disable unneeded services.
## Basic usage

Expand Down Expand Up @@ -85,7 +85,7 @@ Key Vault secret names support only characters in `[0-9a-zA-Z-]`. For more infor
#### Use property placeholders
For example, suppose you're setting this property in your *application.properties* file:
For example, suppose you're setting this property in your **application.properties** file:
```properties
property.with.special.character__=${propertyWithoutSpecialCharacter}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Next, enable the REST API protection with Spring Cloud Azure.

### Add Security dependencies

To install the Spring Cloud Azure Starter Azure Active Directory module, add the following dependencies to your *pom.xml* file:
To install the Spring Cloud Azure Starter Azure Active Directory module, add the following dependencies to your **pom.xml** file:

- The Spring Cloud Azure Bill of Materials (BOM):

Expand All @@ -106,7 +106,7 @@ To install the Spring Cloud Azure Starter Azure Active Directory module, add the

> [!NOTE]
> If you're using Spring Boot 2.x, be sure to set the `spring-cloud-azure-dependencies` version to `4.19.0`.
> This Bill of Material (BOM) should be configured in the `<dependencyManagement>` section of your *pom.xml* file. This ensures that all Spring Cloud Azure dependencies are using the same version.
> This Bill of Material (BOM) should be configured in the `<dependencyManagement>` section of your **pom.xml** file. This ensures that all Spring Cloud Azure dependencies are using the same version.
> For more information about the version used for this BOM, see [Which Version of Spring Cloud Azure Should I Use](https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Versions-Mapping#which-version-of-spring-cloud-azure-should-i-use).
- The Spring Cloud Azure Starter Microsoft Entra artifact:
Expand Down

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions articles/java/spring-framework/spring-cloud-azure-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The following section demonstrates the benefits of using Spring Cloud Azure. In

Without Spring Cloud Azure, if you want to retrieve secrets stored in Azure Key Vault, you need to the following steps:

1. Add the following dependencies to your *pom.xml* file:
1. Add the following dependencies to your **pom.xml** file:

```xml
<dependency>
Expand Down Expand Up @@ -149,7 +149,7 @@ Without Spring Cloud Azure, if you want to retrieve secrets stored in Azure Key
}
```

1. Add the necessary properties to your *application.yml* file, as shown in the following example:
1. Add the necessary properties to your **application.yml** file, as shown in the following example:

```yaml
azure:
Expand All @@ -166,7 +166,7 @@ Without Spring Cloud Azure, if you want to retrieve secrets stored in Azure Key

With Spring Cloud Azure, if you want to retrieve secrets stored in Azure Key Vault, the requirements are simpler, as shown in the following steps:

1. Add the following dependencies to your *pom.xml* file:
1. Add the following dependencies to your **pom.xml** file:

```xml
<dependencies>
Expand Down Expand Up @@ -195,10 +195,10 @@ With Spring Cloud Azure, if you want to retrieve secrets stored in Azure Key Vau

> [!NOTE]
> If you're using Spring Boot 2.x, be sure to set the `spring-cloud-azure-dependencies` version to `4.19.0`.
> This Bill of Material (BOM) should be configured in the `<dependencyManagement>` section of your *pom.xml* file. This ensures that all Spring Cloud Azure dependencies are using the same version.
> This Bill of Material (BOM) should be configured in the `<dependencyManagement>` section of your **pom.xml** file. This ensures that all Spring Cloud Azure dependencies are using the same version.
> For more information about the version used for this BOM, see [Which Version of Spring Cloud Azure Should I Use](https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Versions-Mapping#which-version-of-spring-cloud-azure-should-i-use).

1. Add the following properties to your *application.yml* file:
1. Add the following properties to your **application.yml** file:

```yaml
spring:
Expand Down
16 changes: 8 additions & 8 deletions articles/java/spring-framework/spring-cloud-stream-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ The above [connection](#connection-configuration-properties) and [common Azure S

1. Fill the configuration options with credential information.

* For credentials as connection string, configure the following properties in your *application.yml* file:
* For credentials as connection string, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -227,7 +227,7 @@ The above [connection](#connection-configuration-properties) and [common Azure S
mode: MANUAL
```

* For credentials as service principal, configure the following properties in your *application.yml* file:
* For credentials as service principal, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -264,7 +264,7 @@ The above [connection](#connection-configuration-properties) and [common Azure S
> [!NOTE]
> The values allowed for `tenant-id` are: `common`, `organizations`, `consumers`, or the tenant ID. For more information about these values, see the [Used the wrong endpoint (personal and organization accounts)](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist#cause-3-used-the-wrong-endpoint-personal-and-organization-accounts) section of [Error AADSTS50020 - User account from identity provider does not exist in tenant](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist). For information on converting your single-tenant app, see [Convert single-tenant app to multitenant on Microsoft Entra ID](/entra/identity-platform/howto-convert-app-to-be-multi-tenant).

* For credentials as managed identities, configure the following properties in your *application.yml* file:
* For credentials as managed identities, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -572,7 +572,7 @@ For the basic message headers supported, see the [Event Hubs message headers](sp

Connection to multiple Event Hubs namespaces is also supported by using multiple binders. This sample takes a connection string as example. Credentials of service principals and managed identities are also supported. You can set related properties in each binder's environment settings.

1. To use multiple binders with Event Hubs, configure the following properties in your *application.yml* file:
1. To use multiple binders with Event Hubs, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -837,7 +837,7 @@ The above [connection](#connection-configuration-properties-1) and [common Azure

1. Fill the configuration options with credential information.

* For credentials as connection string, configure the following properties in your *application.yml* file:
* For credentials as connection string, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -865,7 +865,7 @@ The above [connection](#connection-configuration-properties-1) and [common Azure
entity-type: queue # set as "topic" if you use Service Bus Topic
```

* For credentials as service principal, configure the following properties in your *application.yml* file:
* For credentials as service principal, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -901,7 +901,7 @@ The above [connection](#connection-configuration-properties-1) and [common Azure
> [!NOTE]
> The values allowed for `tenant-id` are: `common`, `organizations`, `consumers`, or the tenant ID. For more information about these values, see the [Used the wrong endpoint (personal and organization accounts)](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist#cause-3-used-the-wrong-endpoint-personal-and-organization-accounts) section of [Error AADSTS50020 - User account from identity provider does not exist in tenant](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist). For information on converting your single-tenant app, see [Convert single-tenant app to multitenant on Microsoft Entra ID](/entra/identity-platform/howto-convert-app-to-be-multi-tenant).

* For credentials as managed identities, configure the following properties in your *application.yml* file:
* For credentials as managed identities, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down Expand Up @@ -1153,7 +1153,7 @@ For the basic message headers supported, see the [Service Bus message headers](s

Connection to multiple Service Bus namespaces is also supported by using multiple binders. This sample takes connection string as example. Credentials of service principals and managed identities are also supported, users can set related properties in each binder's environment settings.

1. To use multiple binders of ServiceBus, configure the following properties in your *application.yml* file:
1. To use multiple binders of ServiceBus, configure the following properties in your **application.yml** file:

```yaml
spring:
Expand Down
6 changes: 3 additions & 3 deletions articles/java/spring-framework/spring-data-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ The following table lists the configurable properties of `spring-cloud-azure-sta
> [!div class="mx-tdBreakAll"]
> | Property | Description |
> |--------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
> | *spring.cloud.azure.cosmos*.enabled | A value that indicates whether Azure Cosmos DB Service is enabled. The default value is *true*. |
> | *spring.cloud.azure.cosmos*.enabled | A value that indicates whether Azure Cosmos DB Service is enabled. The default value is `true`. |
> | *spring.cloud.azure.cosmos*.database | The Azure Cosmos DB database ID. |
> | *spring.cloud.azure.cosmos*.endpoint | The URI to connect Azure Cosmos DB. |
> | *spring.cloud.azure.cosmos*.key | The PrivateKey to connect Azure Cosmos DB. |
> | *spring.cloud.azure.cosmos*.credential.client-certificate-password | The password of the certificate file. |
> | *spring.cloud.azure.cosmos*.credential.client-certificate-path | The path of a PEM certificate file to use when performing service principal authentication with Azure. |
> | *spring.cloud.azure.cosmos*.credential.client-id | The client ID to use when performing service principal authentication with Azure. |
> | *spring.cloud.azure.cosmos*.credential.client-secret | The client secret to use when performing service principal authentication with Azure. |
> | *spring.cloud.azure.cosmos*.credential.managed-identity-enabled | Whether to enable managed identity. The default value is *false*. |
> | *spring.cloud.azure.cosmos*.credential.managed-identity-enabled | Whether to enable managed identity. The default value is `false`. |
> | *spring.cloud.azure.cosmos*.credential.password | The password to use when performing username/password authentication with Azure. |
> | *spring.cloud.azure.cosmos*.credential.username | The username to use when performing username/password authentication with Azure. |
> | *spring.cloud.azure.cosmos*.populate-query-metrics | A value that indicates whether to populate diagnostics strings and query metrics. The default value is *false*. |
> | *spring.cloud.azure.cosmos*.populate-query-metrics | A value that indicates whether to populate diagnostics strings and query metrics. The default value is `false`. |
> | *spring.cloud.azure.cosmos*.consistency-level | A [consistency level](/azure/cosmos-db/consistency-levels) for Azure Cosmos DB. |
### Key concepts
Expand Down
Loading

0 comments on commit d432d55

Please sign in to comment.