Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Update ARN format
Browse files Browse the repository at this point in the history
  • Loading branch information
lattwood committed Sep 12, 2017
1 parent 6d4db3f commit 773ec26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/aws/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func AssumeRoleGenerator(vaultAddress string, role string) vault.Generator {
if err != nil {
panic(err)
}
return AssumeRoleArnGenerator(vaultAddress, fmt.Sprintf("arn:aws:iam:%s:role/%s", aws.StringValue(resp.Account), role))
return AssumeRoleArnGenerator(vaultAddress, fmt.Sprintf("arn:aws:iam::%s:role/%s", aws.StringValue(resp.Account), role))
}

// WrappedToken returns a token for the role provided with the wrapTTL provided
Expand Down

0 comments on commit 773ec26

Please sign in to comment.