Change azure ssh key id.

This commit is contained in:
Mariano Cano 2019-07-29 18:04:01 -07:00
parent aef52e4334
commit 18a285e847

View file

@ -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{