Skip to content

Commit 4a90fcb

Browse files
committed
fixed Acrolinx issues
1 parent 05bde85 commit 4a90fcb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/spring-cloud/tutorial-managed-identities-key-vault.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.custom: devx-track-java, devx-track-azurecli
1717

1818
This article shows you how to create a managed identity for an Azure Spring Cloud app and use it to access Azure Key Vault.
1919

20-
Azure Key Vault can be used to securely store and tightly control access to tokens, passwords, certificates, API keys, and other secrets for your app. You can create a managed identity in Azure Active Directory (AAD), and authenticate to any service that supports AAD authentication, including Key Vault, without having to display credentials in your code.
20+
Azure Key Vault can be used to securely store and tightly control access to tokens, passwords, certificates, API keys, and other secrets for your app. You can create a managed identity in Azure Active Directory (Azure AD), and authenticate to any service that supports Azure AD authentication, including Key Vault, without having to display credentials in your code.
2121

2222
The following video describes how to manage secrets using Azure Key Vault.
2323

@@ -150,7 +150,7 @@ This app will have access to get secrets from Azure Key Vault. Use the starter a
150150
}
151151
```
152152
153-
If you open pom.xml, you will see the dependency of `azure-keyvault-secrets-spring-boot-starter`. Add this dependency to your project in pom.xml.
153+
If you open the *pom.xml* file, you'll see the dependency `azure-keyvault-secrets-spring-boot-starter`. Add this dependency to your project in the *pom.xml* file.
154154
155155
```xml
156156
<dependency>
@@ -177,11 +177,11 @@ This app will have access to get secrets from Azure Key Vault. Use the starter a
177177
curl https://myspringcloud-springapp.azuremicroservices.io/get
178178
```
179179
180-
You will see the message `Successfully got the value of secret connectionString from Key Vault https://<your-keyvault-name>.vault.azure.net/: jdbc:sqlserver://SERVER.database.windows.net:1433;database=DATABASE;`.
180+
you'll see the message `Successfully got the value of secret connectionString from Key Vault https://<your-keyvault-name>.vault.azure.net/: jdbc:sqlserver://SERVER.database.windows.net:1433;database=DATABASE;`.
181181
182182
## Build sample Spring Boot app with Java SDK
183183
184-
This sample can set and get secrets from Azure Key Vault. The [Azure Key Vault Secret client library for Java](/java/api/overview/azure/security-keyvault-secrets-readme) provides Azure Active Directory token authentication support across the Azure SDK. It provides a set of `TokenCredential` implementations that can be used to construct Azure SDK clients to support AAD token authentication.
184+
This sample can set and get secrets from Azure Key Vault. The [Azure Key Vault Secret client library for Java](/java/api/overview/azure/security-keyvault-secrets-readme) provides Azure Active Directory token authentication support across the Azure SDK. It provides a set of `TokenCredential` implementations that can be used to construct Azure SDK clients to support Azure AD token authentication.
185185
186186
The Azure Key Vault Secret client library allows you to securely store and control the access to tokens, passwords, API keys, and other secrets. The library offers operations to create, retrieve, update, delete, purge, back up, restore, and list the secrets and its versions.
187187
@@ -209,7 +209,7 @@ The Azure Key Vault Secret client library allows you to securely store and contr
209209
210210
Get the example from [MainController.java](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples/blob/master/managed-identity-keyvault/src/main/java/com/microsoft/azure/MainController.java#L28) of the cloned sample project.
211211
212-
Also include `azure-identity` and `azure-security-keyvault-secrets` as dependency in your pom.xml. Get the example from [pom.xml](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples/blob/master/managed-identity-keyvault/pom.xml#L21) of the cloned sample project.
212+
Also include `azure-identity` and `azure-security-keyvault-secrets` as dependencies in your *pom.xml* file. Get the example from [pom.xml](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples/blob/master/managed-identity-keyvault/pom.xml#L21) of the cloned sample project.
213213
214214
4. Package your sample app.
215215
@@ -231,7 +231,7 @@ The Azure Key Vault Secret client library allows you to securely store and contr
231231
curl https://myspringcloud-springapp.azuremicroservices.io/secrets/connectionString
232232
```
233233
234-
You will see the message `Successfully got the value of secret connectionString from Key Vault https://<your-keyvault-name>.vault.azure.net/: jdbc:sqlserver://SERVER.database.windows.net:1433;database=DATABASE;`.
234+
you'll see the message `Successfully got the value of secret connectionString from Key Vault https://<your-keyvault-name>.vault.azure.net/: jdbc:sqlserver://SERVER.database.windows.net:1433;database=DATABASE;`.
235235
236236
Now create a secret and then retrieve it using the Java SDK.
237237
@@ -241,7 +241,7 @@ The Azure Key Vault Secret client library allows you to securely store and contr
241241
curl https://myspringcloud-springapp.azuremicroservices.io/secrets/test
242242
```
243243
244-
You will see the message `Successfully got the value of secret test from Key Vault https://<your-keyvault-name>.vault.azure.net: success`.
244+
you'll see the message `Successfully got the value of secret test from Key Vault https://<your-keyvault-name>.vault.azure.net: success`.
245245
246246
## Next steps
247247

0 commit comments

Comments
 (0)