You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cpvsample/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,12 @@ This sample demonstrates how a Control Panel Vendor partner can utilize the refr
9
9
The following configurations in the [application.properties](src/main/resources/application.properties) file need to be modified:
10
10
11
11
***keyvault.baseurl** - The base address for the instance of Azure Key Vault where the refresh token has been stored.
12
-
***keyvault.clientId** - The identifier for the Azure AD application that has been allowed access to the instance of Azure Key Vault.
13
-
***keyvault.clientSecret** - The application secret associated with the application configured to access the instance of Azure Key Vault.
12
+
***AZURE_CLIENT_ID** - The identifier for the Azure AD application that has been allowed access to the instance of Azure Key Vault.
13
+
***AZURE_CLIENT_SECRET** - The application secret associated with the application configured to access the instance of Azure Key Vault.
14
+
***AZURE_TENANT_ID** - The application tenant id associated with the application configured to access the instance of Azure Key Vault.
14
15
***partnercenter.accountId** - The account identifier, also known as the Azure AD tenant identifier, for the partner.
15
16
***partnercenter.clientId** - The application identifier for the Azure AD application configured for use with the Partner Center API.
16
17
***partnercenter.clientSecret** - The application secret associated with the application configured to access the Partner Center API.
17
18
***partnercenter.displayName** - The display name for the Azure AD application. This will be used during the consent process, so it must what is in Azure AD.
18
19
19
-
Please note that in production scenarios we recommend that you use certificate based authentication to access the instance of Azure Key Vault. The [confidential client flow](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Confidential-client-applications-flows) has been used in the sample for simplicity.
20
+
Please note that in production scenarios we recommend that you use certificate based authentication to access the instance of Azure Key Vault. The [confidential client flow](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Confidential-client-applications-flows) has been used in the sample for simplicity.
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/PropertyName.java
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/AccessTokenProvider.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -159,9 +159,7 @@ public AuthenticationResult getAccessTokenBySecureRefreshToken(String tenantId,
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cpvsample/src/main/java/com/microsoft/store/samples/secureappmodel/cpvsample/security/KeyVaultProvider.java
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cspsample/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,11 @@ This sample demonstrates how a Cloud Solution Provider partner can utilize the r
9
9
The following configurations in the [application.properties](src/main/resources/application.properties) file need to be modified:
10
10
11
11
***keyvault.baseurl** - The base address for the instance of Azure Key Vault where the refresh token has been stored.
12
-
***keyvault.clientId** - The identifier for the Azure AD application that has been allowed access to the instance of Azure Key Vault.
13
-
***keyvault.clientSecret** - The application secret associated with the application configured to access the instance of Azure Key Vault.
12
+
***AZURE_CLIENT_ID** - The identifier for the Azure AD application that has been allowed access to the instance of Azure Key Vault.
13
+
***AZURE_CLIENT_SECRET** - The application secret associated with the application configured to access the instance of Azure Key Vault.
14
+
***AZURE_TENANT_ID** - The application tenant id associated with the application configured to access the instance of Azure Key Vault.
14
15
***partnercenter.accountId** - The account identifier, also known as the Azure AD tenant identifier, for the partner.
15
16
***partnercenter.clientId** - The application identifier for the Azure AD application configured for use with the Partner Center API.
16
17
***partnercenter.clientSecret** - The application secret associated with the application configured to access the Partner Center API.
17
18
18
-
Please note that in production scenarios we recommend that you use certificate based authentication to access the instance of Azure Key Vault. The [confidential client flow](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Confidential-client-applications-flows) has been used in the sample for simplicity.
19
+
Please note that in production scenarios we recommend that you use certificate based authentication to access the instance of Azure Key Vault. The [confidential client flow](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Confidential-client-applications-flows) has been used in the sample for simplicity.
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/PropertyName.java
Copy file name to clipboardExpand all lines: secure-app-model/keyvault/cspsample/src/main/java/com/microsoft/store/samples/secureappmodel/cspsample/security/AccessTokenProvider.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -159,9 +159,7 @@ public AuthenticationResult getAccessTokenBySecureRefreshToken(String tenantId,
0 commit comments