@@ -858,6 +858,7 @@ You must also set at least one authentication mechanism if you set this value:
858858
859859- [ credential.azreposServicePrincipalSecret] [ credential-azrepos-sp-secret ]
860860- [ credential.azreposServicePrincipalCertificateThumbprint] [ credential-azrepos-sp-cert-thumbprint ]
861+ - [ credential.azreposServicePrincipalCertificateSendX5C] [ credential-azrepos-sp-cert-x5c ]
861862
862863For more information about service principals, see the Azure DevOps
863864[ documentation] [ azrepos-sp-mid ] .
@@ -904,6 +905,25 @@ git config --global credential.azreposServicePrincipalCertificateThumbprint "9b6
904905
905906---
906907
908+ ### credential.azreposServicePrincipalCertificateSendX5C
909+
910+ When using a certificate for [ service principal] [ service-principal ] authentication, this configuration
911+ specifies whether the X5C claim should be should be sent to the STS. Sending the x5c
912+ enables application developers to achieve easy certificate rollover in Azure AD:
913+ this method will send the public certificate to Azure AD along with the token request,
914+ so that Azure AD can use it to validate the subject name based on a trusted issuer
915+ policy. This saves the application admin from the need to explicitly manage the
916+ certificate rollover. For details see [ https://aka.ms/msal-net-sni ] ( https://aka.ms/msal-net-sni ) .
917+
918+ #### Example
919+
920+ ``` shell
921+ git config --global credential.azreposServicePrincipalCertificateSendX5C true
922+ ```
923+ ** Also see: [ GCM_AZREPOS_SP_CERT_SEND_X5C] [ gcm-azrepos-sp-cert-x5c ] **
924+
925+ ---
926+
907927### trace2.normalTarget
908928
909929Turns on Trace2 Normal Format tracing - see [ Git's Trace2 Normal Format
@@ -1034,6 +1054,8 @@ Defaults to disabled.
10341054[ credential-azrepos-sp ] : #credentialazreposserviceprincipal
10351055[ credential-azrepos-sp-secret ] : #credentialazreposserviceprincipalsecret
10361056[ credential-azrepos-sp-cert-thumbprint ] : #credentialazreposserviceprincipalcertificatethumbprint
1057+ [ credential-azrepos-sp-cert-x5c ] : #credentialazreposserviceprincipalcertificatesendx5c
10371058[ gcm-azrepos-service-principal ] : environment.md#GCM_AZREPOS_SERVICE_PRINCIPAL
10381059[ gcm-azrepos-sp-secret ] : environment.md#GCM_AZREPOS_SP_SECRET
10391060[ gcm-azrepos-sp-cert-thumbprint ] : environment.md#GCM_AZREPOS_SP_CERT_THUMBPRINT
1061+ [ gcm-azrepos-sp-cert-x5c ] : environment.md#GCM_AZREPOS_SP_CERT_SEND_X5C
0 commit comments