Skip to content

Commit ce4e95f

Browse files
committed
Fixed missing role in return value
The role was not being set in the output so the proxy was unable to respond to security credential requests correctly.
1 parent 300adc1 commit ce4e95f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

credentials.go

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func (c *credentialsProvider) AssumeRole(roleArn roleArn, iamPolicy, sessionName
132132
Token: *resp.Credentials.SessionToken,
133133
Expiration: *resp.Credentials.Expiration,
134134
GeneratedAt: time.Now(),
135+
RoleArn: roleArn,
135136
}, nil
136137
}
137138

0 commit comments

Comments
 (0)