mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
aws/logical: fix backend test (#13323)
Remove the `[:64]` from `TestAcceptanceBackend_AssumedRoleWithPolicyDoc()` since max length is handled in `generateUniqueRoleName()`
This commit is contained in:
@@ -1067,7 +1067,7 @@ func TestAcceptanceBackend_iamUserGroups(t *testing.T) {
|
||||
|
||||
func TestAcceptanceBackend_AssumedRoleWithPolicyDoc(t *testing.T) {
|
||||
t.Parallel()
|
||||
roleName := generateUniqueRoleName(t.Name())[:64]
|
||||
roleName := generateUniqueRoleName(t.Name())
|
||||
// This looks a bit curious. The policy document and the role document act
|
||||
// as a logical intersection of policies. The role allows ec2:Describe*
|
||||
// (among other permissions). This policy allows everything BUT
|
||||
|
||||
Reference in New Issue
Block a user