mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 10:12:35 +00:00
Vault SSH: Dynamic Key test case fix
This commit is contained in:
@@ -22,7 +22,7 @@ func (c *SSH) KeyRevoke(id string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Invokes the SSH backend API to create a dynamic key
|
||||
// Invokes the SSH backend API to create a dynamic key or an OTP
|
||||
func (c *SSH) KeyCreate(role string, data map[string]interface{}) (*Secret, error) {
|
||||
r := c.c.NewRequest("PUT", fmt.Sprintf("/v1/ssh/creds/%s", role))
|
||||
if err := r.SetJSONBody(data); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user