Vault SSH: Dynamic Key test case fix

This commit is contained in:
Vishal Nayak
2015-07-24 12:13:26 -04:00
parent 9d4c5f718b
commit 0a4854e542
5 changed files with 11 additions and 10 deletions

View File

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