From e0aaa1a577db38a5a6a406c4ef2864ae91dfc583 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 8 May 2019 15:58:15 -0700 Subject: [PATCH] Use tenant id in azures's provisioner x509 extension. --- authority/provisioner/azure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/provisioner/azure.go b/authority/provisioner/azure.go index 717aa6e7..cd1e8299 100644 --- a/authority/provisioner/azure.go +++ b/authority/provisioner/azure.go @@ -272,7 +272,7 @@ func (p *Azure) AuthorizeSign(token string) ([]SignOption, error) { return append(so, commonNameValidator(name), profileDefaultDuration(p.claimer.DefaultTLSCertDuration()), - newProvisionerExtensionOption(TypeAzure, p.Name, subscription), + newProvisionerExtensionOption(TypeAzure, p.Name, p.TenantID), newValidityValidator(p.claimer.MinTLSCertDuration(), p.claimer.MaxTLSCertDuration()), ), nil }