Honor role period for IAM auth type in AWS backend (#2828)

Fixes #2825
This commit is contained in:
Jeff Mitchell
2017-06-07 10:18:02 -04:00
committed by GitHub
parent e3910ccbaa
commit fc724a2f8f

View File

@@ -1200,6 +1200,7 @@ func (b *backend) pathLoginUpdateIam(
resp := &logical.Response{
Auth: &logical.Auth{
Period: roleEntry.Period,
Policies: policies,
Metadata: map[string]string{
"client_arn": clientArn,