Skip to content

Commit cc303a6

Browse files
committed
remove init from s3 file
1 parent bad826d commit cc303a6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

get_s3_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ import (
99
"github.com/aws/aws-sdk-go/aws/awserr"
1010
)
1111

12-
func init() {
13-
// These are well known restricted IAM keys to a HashiCorp-managed bucket
14-
// in a private AWS account that only has access to the open source test
15-
// resources.
16-
//
17-
// We do the string concat below to avoid AWS autodetection of a key. This
18-
// key is locked down an IAM policy that is read-only so we're purposely
19-
// exposing it.
20-
os.Setenv("AWS_ACCESS_KEY", "AKIAITTDR"+"WY2STXOZE2A")
21-
os.Setenv("AWS_SECRET_KEY", "oMwSyqdass2kPF"+"/7ORZA9dlb/iegz+89B0Cy01Ea")
22-
}
23-
2412
func TestS3Getter_impl(t *testing.T) {
2513
var _ Getter = new(S3Getter)
2614
}

0 commit comments

Comments
 (0)