microsoft-authentication-library-for-dotnet icon indicating copy to clipboard operation
microsoft-authentication-library-for-dotnet copied to clipboard

[Feature Request] Update Lab Access Cert find method

Open gladjohn opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Currently the AutomationTestAgentCert auto renews every 6 months. When this happens it breaks the build because we search based on thumbprint.

Existing way to find lab cert

Describe the solution you'd like

  • Following items are tracked for this
    • [ ] Recreate the "AzureADIdentityDivisionTestAgentCert" with a valid Subject Name and Issuer
    • [ ] Update to search based on FindCertificateBySubjectName (refer this for locations)
    • [ ] Cert also needs to be updated on our automation test App (16dab2ba-145d-4b1b-8569-bf4b9aed4dc8)
    • [ ] The PPE tenant app (OBOClientPpeClientID = "9793041b-9078-4942-b1d2-babdc472cc0c") is in a private tenant, move this to the lab owned tenant. OBO App : c84e9c32-0bc9-4a73-af05-9efe9982a322

Additional context This will reduce downtime for our CI pipeline

gladjohn avatar Apr 26 '22 16:04 gladjohn

@gladjohn : we could also use the DefaultCertificateLoader from Microsoft.Identity.Web.Certificate to load the cert from KeyVault.

jmprieur avatar Apr 26 '22 16:04 jmprieur