3 writes to DistinguishedName
Aspire.Hosting.Azure.EntraId (1)
EntraIdResourceExtensions.cs (1)
1114DistinguishedName = distinguishedName
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdProvisioningTests.cs (1)
1321DistinguishedName = distinguishedName
EntraIdResourceBuilderTests.cs (1)
1169DistinguishedName = "CN=MyCert"
9 references to DistinguishedName
Aspire.Hosting.Azure.EntraId (7)
EntraIdApplicationResource.cs (7)
1256/// Set exactly one of <see cref="Thumbprint"/> or <see cref="DistinguishedName"/>. Setting both, 1264/// Thrown when neither or both of <see cref="Thumbprint"/> and <see cref="DistinguishedName"/> are set. 1266public override string SourceType => (Thumbprint, DistinguishedName) switch 1271$"Only one of {nameof(Thumbprint)} or {nameof(DistinguishedName)} can be set on {nameof(EntraIdStoreCertificateCredential)}."), 1273$"Either {nameof(Thumbprint)} or {nameof(DistinguishedName)} must be set on {nameof(EntraIdStoreCertificateCredential)}.") 1301else if (DistinguishedName is not null) 1303envVars[$"{prefix}{separator}CertificateDistinguishedName"] = DistinguishedName;
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdResourceBuilderTests.cs (2)
1071Assert.Null(cred.DistinguishedName); 1091Assert.Equal("CN=MyCert", cred.DistinguishedName);