Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update test certs#3424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jmprieur merged 2 commits intomasterfromjennyf/updateCerts
Jul 20, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionsbenchmark/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba",
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/ContosoWorker/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba",
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/WebAppCallsMicrosoftGraph/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,9 +18,9 @@
// "ManagedIdentityClientId": ""
//},
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
//{
// "SourceType": "ClientSecret",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,9 +12,9 @@
// To call an API
"ClientCertificates": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,9 +19,9 @@
//"ClientSecret": null,
"ClientCertificates": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
],
"Scopes": "access_as_user",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,9 +6,9 @@
"ClientId": "556d438d-2f4b-4add-9713-ede4e5f5d7da",
"ClientCertificates": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/aspnet-mvc/OwinWebApi/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,9 +9,9 @@
"EnableCacheSynchronization": false,
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
],
"TokenDecryptionCertificates": [
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/aspnet-mvc/OwinWebApp/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,9 +9,9 @@
"EnableCacheSynchronization": false,
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/blazor/BlazorApp/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,9 +14,9 @@
// To call an API
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,9 +6,9 @@
"ClientId": "9a192b78-6580-4f8a-aace-f36ffea4f7be",
"ClientCertificates": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
],
"CallbackPath": "/signin-oidc"
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/ciam/myWebApp/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,9 @@
// "ManagedIdentityClientId": ""
//},
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
//{
// "SourceType": "ClientSecret",
Expand Down
12 changes: 6 additions & 6 deletionstests/DevApps/daemon-app/Daemon-app/Program - SDK.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,9 +33,9 @@ static async Task Main(string[] args)
{
new CredentialDescription()
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://webappsapistests.vault.azure.net",
KeyVaultCertificateName = "Self-Signed-5-5-22",
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
}
}
});
Expand All@@ -48,9 +48,9 @@ static async Task Main(string[] args)
{
new CredentialDescription()
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://webappsapistests.vault.azure.net",
KeyVaultCertificateName = "Self-Signed-5-5-22",
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
}
}
);
Expand Down
6 changes: 3 additions & 3 deletionstests/DevApps/daemon-app/Daemon-app/appsettings.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba",
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
}
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba",
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
},
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba",
"ClientCredentials": [
{
"SourceType": "KeyVault",
"KeyVaultUrl": "https://webappsapistests.vault.azure.net",
"KeyVaultCertificateName": "Self-Signed-5-5-22"
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "LocalMachine/My",
"CertificateDistinguishedName": "CN=LabAuth.MSIDLab.com"
}
]
}
Expand Down
9 changes: 6 additions & 3 deletionstests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,9 +30,12 @@ public class TokenAcquirer
private static readonly string s_optionName = string.Empty;
private static readonly CredentialDescription[] s_clientCredentials = new[]
{
CertificateDescription.FromKeyVault(
"https://webappsapistests.vault.azure.net",
"Self-Signed-5-5-22")
new CredentialDescription
{
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
}
};

private static readonly CredentialDescription[] s_ciamClientCredentials = new[]
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,9 +33,9 @@ public async Task FicFails_CertificateFallbackAsync()

new CredentialDescription
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://bogus.net",
KeyVaultCertificateName = "Self-Signed-5-5-22"
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
}
};

Expand DownExpand Up@@ -91,9 +91,9 @@ public async Task FailsForCerts_ReturnsMeaningfulMessageAsync()

var certCredential1 = new CredentialDescription
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://bogus.net",
KeyVaultCertificateName = "Self-Signed-5-5-22"
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
};
var certCredential2 = new CredentialDescription
{
Expand All@@ -117,9 +117,9 @@ public async Task FailsForFicAndCert_ReturnsMeaningfulMessageAsync()

var certCredential = new CredentialDescription
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://bogus.net",
KeyVaultCertificateName = "Self-Signed-5-5-22"
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
};

await RunFailToLoadLogicAsync(new[] { ficCredential, certCredential });
Expand All@@ -130,9 +130,9 @@ public async Task FailsForCertAndFic_ReturnsMeaningfulMessageAsync()
{
var certCredential = new CredentialDescription
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://bogus.net",
KeyVaultCertificateName = "Self-Signed-5-5-22"
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
};

var ficCredential = new CredentialDescription
Expand All@@ -149,9 +149,9 @@ public async Task FailsForPodAndCert_ReturnsMeaningfulMessageAsync()
{
var certCredential = new CredentialDescription
{
SourceType = CredentialSource.KeyVault,
KeyVaultUrl = "https://bogus.net",
KeyVaultCertificateName = "Self-Signed-5-5-22"
SourceType = CredentialSource.StoreWithDistinguishedName,
CertificateStorePath = "LocalMachine/My",
CertificateDistinguishedName = "CN=LabAuth.MSIDLab.com"
};

var ficCredential = new CredentialDescription
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp