From 18a285e84702cad2c05efba4458169788c72994a Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Mon, 29 Jul 2019 18:04:01 -0700 Subject: [PATCH] Change azure ssh key id. --- 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 611aa58a..f5d04adb 100644 --- a/authority/provisioner/azure.go +++ b/authority/provisioner/azure.go @@ -305,7 +305,7 @@ func (p *Azure) AuthorizeRevoke(token string) error { func (p *Azure) authorizeSSHSign(claims azurePayload, name string) ([]SignOption, error) { signOptions := []SignOption{ // set the key id to the token subject - sshCertificateKeyIDModifier(claims.Subject), + sshCertificateKeyIDModifier(name), } signOptions = append(signOptions, &sshCertificateOptionsValidator{&SSHOptions{