From fc724a2f8f89d9d1fc1a10d67f138904c72e86a8 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 7 Jun 2017 10:18:02 -0400 Subject: [PATCH] Honor role period for IAM auth type in AWS backend (#2828) Fixes #2825 --- builtin/credential/aws/path_login.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/credential/aws/path_login.go b/builtin/credential/aws/path_login.go index b9423ae39feb..2b7ae9bac9cd 100644 --- a/builtin/credential/aws/path_login.go +++ b/builtin/credential/aws/path_login.go @@ -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,