renamed rolname to role

This commit is contained in:
Jim Weber 2016-10-03 15:57:47 -04:00
parent 7ab1092c7c
commit a2d6624a69
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func (b *backend) pathRoleCreateRead(
"password": password,
}, map[string]interface{}{
"username": username,
"rolename": name,
"role": name,
})
resp.Secret.TTL = lease.Lease
return resp, nil