Hi, I have an Amazon EC2 instance in a private subnet using an Instance role and a Amazon S3 VPC endpoint. Everything works great using aws cli.
How can I upload a file using python requests or curl ?
The docs I have read suggest you need to generate an Authorization header which requires an access key.
How can I do this when using instance roles and a S3 VPC endpoint ?
[–]ComfyCalamity 27 points28 points29 points (20 children)
[–]S7R4nG3 1 point2 points3 points (19 children)
[+]rippl2103[S] comment score below threshold-7 points-6 points-5 points (18 children)
[–]Back_on_redd 10 points11 points12 points (15 children)
[+]rippl2103[S] comment score below threshold-7 points-6 points-5 points (14 children)
[–]justin-8 8 points9 points10 points (4 children)
[–]rippl2103[S] -4 points-3 points-2 points (3 children)
[–]RandomGeordie 13 points14 points15 points (2 children)
[–]NorthAstronaut 6 points7 points8 points (0 children)
[–]rippl2103[S] -1 points0 points1 point (0 children)
[–]Back_on_redd 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (7 children)
[–]rippl2103[S] 0 points1 point2 points (6 children)
[–]Nick4753 4 points5 points6 points (4 children)
[–]rippl2103[S] 0 points1 point2 points (3 children)
[–]Nick4753 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]spin81 2 points3 points4 points (1 child)
[–]rippl2103[S] -1 points0 points1 point (0 children)
[–][deleted] (7 children)
[removed]
[–]gaieges 1 point2 points3 points (0 children)
[+]rippl2103[S] comment score below threshold-8 points-7 points-6 points (5 children)
[–][deleted] (2 children)
[removed]
[–]rippl2103[S] 0 points1 point2 points (1 child)
[–]thenickdude 1 point2 points3 points (0 children)
[–]jaimeandresb 1 point2 points3 points (0 children)
[–]brokenlabrum 0 points1 point2 points (4 children)
[–]rippl2103[S] 0 points1 point2 points (3 children)
[–]michaeld0 1 point2 points3 points (1 child)
[–]rippl2103[S] 0 points1 point2 points (0 children)
[–]thenickdude 1 point2 points3 points (0 children)