Fix ssh systemauth handling
This commit is contained in:
parent
e53a49b47a
commit
86cafcfc83
@ -36,6 +36,8 @@ func (vaultAgent vaultAgent) List() ([]*agent.Key, error) {
|
|||||||
if !vaultAgent.unlockRequestAction() {
|
if !vaultAgent.unlockRequestAction() {
|
||||||
return nil, errors.New("vault is locked")
|
return nil, errors.New("vault is locked")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
systemauth.CreatePinSession(vaultAgent.context)
|
||||||
}
|
}
|
||||||
|
|
||||||
vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys()
|
vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user