Skip to content

Commit

Permalink
Honor role period for IAM auth type in AWS backend
Browse files Browse the repository at this point in the history
Fixes #2825
  • Loading branch information
jefferai committed Jun 7, 2017
1 parent 16631f5 commit cdfc215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/credential/aws/path_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cdfc215

Please sign in to comment.