forked from TrueCloudLab/certificates
Use tenant id in azures's provisioner x509 extension.
This commit is contained in:
parent
89eeada2a2
commit
e0aaa1a577
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ func (p *Azure) AuthorizeSign(token string) ([]SignOption, error) {
|
||||||
return append(so,
|
return append(so,
|
||||||
commonNameValidator(name),
|
commonNameValidator(name),
|
||||||
profileDefaultDuration(p.claimer.DefaultTLSCertDuration()),
|
profileDefaultDuration(p.claimer.DefaultTLSCertDuration()),
|
||||||
newProvisionerExtensionOption(TypeAzure, p.Name, subscription),
|
newProvisionerExtensionOption(TypeAzure, p.Name, p.TenantID),
|
||||||
newValidityValidator(p.claimer.MinTLSCertDuration(), p.claimer.MaxTLSCertDuration()),
|
newValidityValidator(p.claimer.MinTLSCertDuration(), p.claimer.MaxTLSCertDuration()),
|
||||||
), nil
|
), nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue