@@ -858,6 +858,7 @@ You must also set at least one authentication mechanism if you set this value:
858
858
859
859
- [ credential.azreposServicePrincipalSecret] [ credential-azrepos-sp-secret ]
860
860
- [ credential.azreposServicePrincipalCertificateThumbprint] [ credential-azrepos-sp-cert-thumbprint ]
861
+ - [ credential.azreposServicePrincipalCertificateSendX5C] [ credential-azrepos-sp-cert-x5c ]
861
862
862
863
For more information about service principals, see the Azure DevOps
863
864
[ documentation] [ azrepos-sp-mid ] .
@@ -904,6 +905,25 @@ git config --global credential.azreposServicePrincipalCertificateThumbprint "9b6
904
905
905
906
---
906
907
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
+
907
927
### trace2.normalTarget
908
928
909
929
Turns on Trace2 Normal Format tracing - see [ Git's Trace2 Normal Format
@@ -1034,6 +1054,8 @@ Defaults to disabled.
1034
1054
[ credential-azrepos-sp ] : #credentialazreposserviceprincipal
1035
1055
[ credential-azrepos-sp-secret ] : #credentialazreposserviceprincipalsecret
1036
1056
[ credential-azrepos-sp-cert-thumbprint ] : #credentialazreposserviceprincipalcertificatethumbprint
1057
+ [ credential-azrepos-sp-cert-x5c ] : #credentialazreposserviceprincipalcertificatesendx5c
1037
1058
[ gcm-azrepos-service-principal ] : environment.md#GCM_AZREPOS_SERVICE_PRINCIPAL
1038
1059
[ gcm-azrepos-sp-secret ] : environment.md#GCM_AZREPOS_SP_SECRET
1039
1060
[ 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