<div dir="ltr">AWS_REGION shouldn't cause problems.<div><br>If it was me, I'd just hop onto the box and test by running gdalinfo /vsis3/... with verbose curl config options set and so on and make sure I could get that working as a sanity check.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 14, 2021 at 3:21 PM Jeannie May <<a href="mailto:jeannie_may@trimble.com">jeannie_may@trimble.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This is the gdal setup. None of the AWS keys are set excep region (could that be an issue). Where would I expect to see the logging - none is showing up in our logs. Do we need to configure the output to our log?<br><br> public GdalClient(IConfigurationStore configStore, ILoggerFactory loggerFactory)<br> {<br> _log = loggerFactory.CreateLogger<GdalClient>();<br> GdalBase.ConfigureAll();<br> Gdal.AllRegister();<br><br> //For debugging s3 access problems<br> Gdal.SetConfigOption("CPL_CURL_VERBOSE", "YES");<br> Gdal.SetConfigOption("CPL_DEBUG", "YES");<br> Gdal.SetConfigOption("AWS_REGION", "us-west-2");<br><br> _log.LogDebug($"#{nameof(GdalClient)} AWS_PROFILE: { Gdal.GetConfigOption("AWS_PROFILE", "NotFound")} " +<br> $"AWS_ACCESS_KEY_ID: { Gdal.GetConfigOption("AWS_ACCESS_KEY_ID", "NotFound")} " +<br> $"AWS_SECRET_ACCESS_KEY: { Gdal.GetConfigOption("AWS_SECRET_ACCESS_KEY", "NotFound")} " +<br> $"AWS_SESSION_TOKEN: { Gdal.GetConfigOption("AWS_SESSION_TOKEN", "NotFound")} " +<br> $"AWS_NO_SIGN_REQUEST: { Gdal.GetConfigOption("AWS_NO_SIGN_REQUEST", "NotFound")} " +<br> $"AWS_DEFAULT_PROFILE: { Gdal.GetConfigOption("AWS_DEFAULT_PROFILE", "NotFound")} ");<br> _awsBucketName = configStore.GetValueString("AWS_DESIGNIMPORT_BUCKET_NAME");<br> }<br><br>and this is the open which times out:<br> public string GetMetadata(string fileName, bool s3=true)<br> {<br> var path = s3 ? $"/vsis3/{_awsBucketName}/{fileName}" : fileName;<br> var dataset = Gdal.Open(path, Access.GA_ReadOnly);<br>.........</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 15, 2021 at 9:11 AM Patrick Young <<a href="mailto:patrick.mckendree.young@gmail.com" target="_blank">patrick.mckendree.young@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>That should be the behavior, and I use it all the time so I am confident it works...<br></div><div><br></div><div>Is it possible you have set any of the AWS_* variables in your EC2/container environment? I think that could spoil it for you. </div><div><br></div><div>You can set CPL_CURL_VERBOSE to YES and get an idea of the network requests GDAL is doing. If things are just slow, you might need to set <span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px">GDAL_DISABLE_READDIR_ON_OPEN=YES and CPL_VSIL_CURL_ALLOWED_EXTENSIONS=tif</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"> as described here:<br><br></span><a href="https://trac.osgeo.org/gdal/wiki/CloudOptimizedGeoTIFF" target="_blank">https://trac.osgeo.org/gdal/wiki/CloudOptimizedGeoTIFF</a><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 14, 2021 at 3:01 PM Jeannie May <<a href="mailto:jeannie_may@trimble.com" target="_blank">jeannie_may@trimble.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Further to this discussion, I guess we had hoped that GDal would pick up the EC2 instance profile credentials as the s3Client upload does as per:<div><br></div><div><a href="https://gdal.org/user/virtual_file_systems.html#vsis3" target="_blank">https://gdal.org/user/virtual_file_systems.html#vsis3</a><br></div><div><span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)"> 5. If none of the above method succeeds, instance profile credentials will be retrieved when GDAL is used on EC2 instances.</span><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 15, 2021 at 8:58 AM Jeannie May <<a href="mailto:jeannie_may@trimble.com" target="_blank">jeannie_may@trimble.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.8px"><div style="color:rgb(34,34,34)"><font color="#000000">Thank you Patrick for your prompt reply.</font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Our app runs on an EC2 instance and has no user context. It uses the s3Client SDK upload, utilizing the existing IAM role/policy already setup.</font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Are you saying here that I need to as a 1-time process generate a secret and access key for our existing policy/role, store it in environment variables (</font>AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID only?<font color="#000000">) and the gdal SDK will use that?</font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Jeannie May</font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><div style="clear:both;padding-bottom:0px;max-width:100000px;outline:none;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div style="margin-bottom:0px;border-width:0px;border-top-style:solid;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-top-color:rgb(239,239,239);border-right-color:initial;border-left-color:initial;border-bottom-color:initial;border-radius:0px;width:1534.01px;float:none"><div style="padding-top:0px;background-color:transparent;border-right:0px;border-bottom:0px rgba(100,121,143,0.12);border-left:0px;border-top:none;border-radius:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:1zl"><div><div style="border-left:none;padding:0px;display:flex"><div style="margin:0px;padding:0px 0px 20px;width:1462.03px"><div style="padding:20px 0px 0px;font-size:0.875rem"><table cellpadding="0" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr style="height:auto;display:flex"><td style="white-space:nowrap;padding:0px;vertical-align:top;width:1110.49px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" style="border-collapse:collapse;table-layout:fixed;width:1110px"><tbody><tr><td style="display:flex"><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top">Jeannie M</span></span></span></h3><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top"><br></span></span></span></h3><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top"><br></span></span></span></h3><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top"><br></span></span></span></h3><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top"><br></span></span></span></h3><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Jeannie May" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top">ay</span></span> <span style="vertical-align:top;color:rgb(85,85,85)"><span><</span><a href="mailto:jeannie_may@trimble.com" target="_blank">jeannie_may@trimble.com</a><span>></span></span></span></h3></td></tr></tbody></table></td><td style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div style="padding:0px;display:flex"><span id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:2km" title="Apr 13, 2021, 2:44 PM" alt="Apr 13, 2021, 2:44 PM" style="vertical-align:top;margin:0px;font-size:0.75rem;letter-spacing:0.3px;color:rgb(95,99,104);display:block;line-height:20px">Tue, Apr 13, 2:44 PM (2 days ago)</span><div title="Not starred" style="display:inline-block;height:20px;margin-left:20px;outline:0px"><span style="display:inline-flex;height:20px;text-align:center;width:20px;padding:0px;margin:0px;border:none;outline:none"></span></div></div></td><td style="text-align:right;white-space:nowrap;vertical-align:top;display:flex"></td><td rowspan="2" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div style="display:inline-flex;border-radius:4px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 10px;height:20px;line-height:18px;min-width:80px;outline:none;padding:0px 8px;background:none;color:rgb(95,99,104);border:1px solid transparent;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.25px;box-sizing:border-box"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci5.googleusercontent.com/proxy/sgSzsQRyQRmsv2OE-izG98u3VkpnGw0M_zKrRSeaYyRsXTjZwl149BuSuK7uLP3890VjX_KW27JcgWxhOB8kpUUp3EyKgATzOUPy0uzvfAxLPQwYnUD58AbvJ6O4y-7cMtQ=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/reply_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; margin: 0px; vertical-align: middle; width: 20px; opacity: 0.71; display: inline-block; padding: 0px;"><span style="margin-left:8px">Reply</span></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:2ku" style="display:inline-flex;border-radius:0px 2px 2px 0px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 10px;height:20px;line-height:18px;min-width:0px;outline:none;padding:0px;background:transparent;color:rgb(68,68,68);border:none"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci5.googleusercontent.com/proxy/1J5Lh-GYVsVXJXT-tzQGnDdXABaA2JI051HnEhPCBlFtMUO9zCICiX55yBOVHetZxFN0H1luWES1vh8bFWUnRkjMcDt1nUZwoCXZoCGa6ZPK2TktNGBlAqmtYHZpeytSCD1VAwps=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/more_vert_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; width: 20px; margin: 0px; vertical-align: middle; opacity: 0.71; display: inline-block; padding: 0px;"></div></td></tr><tr style="height:auto;display:flex"><td colspan="3"><table cellpadding="0" style="border-collapse:collapse;table-layout:fixed;white-space:nowrap;width:1461.11px"><tbody><tr><td style="overflow:visible;text-overflow:ellipsis;display:flex;line-height:20px"><div style="overflow:hidden;max-width:92%;display:inline-block"><span style="vertical-align:top;color:rgb(95,99,104);font-size:0.75rem;letter-spacing:0.3px;line-height:20px">to <span name="gdal-dev" style="vertical-align:top">gdal-dev</span></span></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:1xv" style="display:inline-flex;margin-left:4px;vertical-align:top;border:none;outline:none"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci6.googleusercontent.com/proxy/Bn-WVNI_gjIXNsB8AUeoUq_iIiKwp2uQkyt49MgAK_ReicH0gp-qPe_YyUNnOgDl1ba-BzrPGguOgmLCID4EouM5uXvi1xrpZXALsBLrmGBuibaVFtcbuSQ71pCOzbZOiU_7GdohG5acZRtz=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/arrow_drop_down_black_20dp.png") 50% 50% / 20px no-repeat; padding: 0px; vertical-align: baseline; height: 20px; width: 20px; border: none; margin: 0px 0px 0px auto; display: flex; opacity: 0.71;"></div></td></tr></tbody></table></td></tr></tbody></table></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:2kj"><div></div><div></div><div></div><div></div></div><div><div></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:20o"></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:2kk" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:1zi" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">I'm new to using Gdal. How do I configure gdal to use an IAM role, rather than defining an aws-Profile?<br><br>I get a timeout doing a gdal.Open() on a tiff file on S3 using vsis3, while trying to use an IAM role. <br><br>I'm using MaxRev.Gdal.Core 3.2.0.250. Netcore 3.1 c#, running in a Linux container.<br><br>Note that defining an AWS_Profile etc works ok, but I need to use IAM roles. Prior to trying to open the file with gdal, I successfully upload using s3Client (which uses the IAM role), so it's something specific to the Gdal.Open(). <br><br>using GetConfigOption() I can see that none of the following are set AWS_PROFILE; AWS_ACCESS_KEY_ID; AWS_SECRET_ACCESS_KEY; AWS_SESSION_TOKEN; AWS_NO_SIGN_REQUEST; AWS_DEFAULT_PROFILE<font color="#888888"><font color="#888888"><br clear="all"><div><br></div></font><div><br></div>--<br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(54,53,69);font-family:sans-serif"><b><font size="4">Jeannie May</font></b><br></span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">Senior Software Engineer</span></div><div style="font-size:12.8px"><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">11 Birmingham Drive, Christchurch | 963 5305</span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif"> Office </span><span style="color:rgb(54,53,69);font-family:sans-serif;font-size:13px"><br></span></div><div><a href="https://www.trimble.com/" target="_blank">www.trimble.com</a><br></div><span style="color:rgb(80,0,80);font-size:12.8px"><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Connect with us!<br></font></div></span></div></div></div></div></div></font></div><div></div><div></div></div></div><div style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><div style="clear:both"></div></div><div style="font-size:0.875rem;padding:0px;width:auto;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-top:none;margin:0px;background:transparent"><div style="border-top:0px;padding:0px"><div style="clear:both;margin:0px 5px 0px 0px;padding-bottom:0px;padding-left:0px"></div></div></div></div></div></div></div></div></div><div style="clear:both;padding-bottom:0px;max-width:100000px;outline:none;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div style="margin-bottom:0px;border-width:0px;border-top-style:solid;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-top-color:rgb(239,239,239);border-right-color:initial;border-left-color:initial;border-bottom-color:initial;border-radius:0px;width:1534.01px;float:none"><div style="padding-top:0px;background-color:transparent;border-width:1px 0px 0px;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-right-color:initial;border-bottom-color:rgba(100,121,143,0.12);border-left-color:initial;border-top-style:solid;border-top-color:rgba(100,121,143,0.12);border-radius:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:207"><div><div style="border-left:none;padding:0px;display:flex"><div style="float:none;padding:0px 16px;display:flex;height:80px;min-width:40px"><div><img id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:1ba_186-e" name="m_-2247619550518919384_m_6815071133945600345_m_4136577706225513036_m_6936008637758854548_m_-8881746756597919105_:1ba" src="https://lh3.googleusercontent.com/a-/AOh14Gibm3-1mL3tVBWLFdJERUCr3uFLunuyYEDrj2DeDg=s40" style="display: block; width: 40px; height: 40px; border-radius: 50%;"></div></div><div style="margin:0px;padding:0px 0px 20px;width:1462.03px"><div style="padding:20px 0px 0px;font-size:0.875rem"><table cellpadding="0" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr style="height:auto;display:flex"><td style="white-space:nowrap;padding:0px;vertical-align:top;width:1112.71px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" style="border-collapse:collapse;table-layout:fixed;width:1112.22px"><tbody><tr><td style="display:flex"><h3 style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span><span name="Patrick Young" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><span style="vertical-align:top">Patrick Young</span></span> <span style="vertical-align:top;color:rgb(85,85,85)"><span><</span><a href="mailto:patrick.mckendree.young@gmail.com" target="_blank">patrick.mckendree.young@gmail.com</a><span>></span></span></span></h3></td></tr></tbody></table></td><td style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div style="padding:0px;display:flex"><span id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:27h" title="Apr 14, 2021, 3:47 AM" alt="Apr 14, 2021, 3:47 AM" style="vertical-align:top;margin:0px;font-size:0.75rem;letter-spacing:0.3px;color:rgb(95,99,104);display:block;line-height:20px">Wed, Apr 14, 3:47 AM (1 day ago)</span><div title="Not starred" style="display:inline-block;height:20px;margin-left:20px;outline:0px"><span style="display:inline-flex;height:20px;text-align:center;width:20px;padding:0px;margin:0px;border:none;outline:none"></span></div></div></td><td style="text-align:right;white-space:nowrap;vertical-align:top;display:flex"></td><td rowspan="2" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div style="display:inline-flex;border-radius:4px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 10px;height:20px;line-height:18px;min-width:80px;outline:none;padding:0px 8px;background:none;color:rgb(95,99,104);border:1px solid transparent;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.25px;box-sizing:border-box"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci5.googleusercontent.com/proxy/sgSzsQRyQRmsv2OE-izG98u3VkpnGw0M_zKrRSeaYyRsXTjZwl149BuSuK7uLP3890VjX_KW27JcgWxhOB8kpUUp3EyKgATzOUPy0uzvfAxLPQwYnUD58AbvJ6O4y-7cMtQ=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/reply_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; margin: 0px; vertical-align: middle; width: 20px; opacity: 0.71; display: inline-block; padding: 0px;"><span style="margin-left:8px">Reply</span></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:23q" style="display:inline-flex;border-radius:0px 2px 2px 0px;font-size:0.875rem;text-align:center;margin:0px 0px 0px 10px;height:20px;line-height:18px;min-width:0px;outline:none;padding:0px;background:transparent;color:rgb(68,68,68);border:none"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci5.googleusercontent.com/proxy/1J5Lh-GYVsVXJXT-tzQGnDdXABaA2JI051HnEhPCBlFtMUO9zCICiX55yBOVHetZxFN0H1luWES1vh8bFWUnRkjMcDt1nUZwoCXZoCGa6ZPK2TktNGBlAqmtYHZpeytSCD1VAwps=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/more_vert_black_20dp.png") 50% 50% / 20px no-repeat; height: 20px; width: 20px; margin: 0px; vertical-align: middle; opacity: 0.71; display: inline-block; padding: 0px;"></div></td></tr><tr style="height:auto;display:flex"><td colspan="3"><table cellpadding="0" style="border-collapse:collapse;table-layout:fixed;white-space:nowrap;width:1461.11px"><tbody><tr><td style="overflow:visible;text-overflow:ellipsis;display:flex;line-height:20px"><div style="overflow:hidden;max-width:92%;display:inline-block"><span style="vertical-align:top;color:rgb(95,99,104);font-size:0.75rem;letter-spacing:0.3px;line-height:20px">to <span name="me" style="vertical-align:top">me</span>, <span name="gdal" style="vertical-align:top">gdal</span></span></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:29e" style="display:inline-flex;margin-left:4px;vertical-align:top;border:none;outline:none"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="" style="background: url("https://ci6.googleusercontent.com/proxy/Bn-WVNI_gjIXNsB8AUeoUq_iIiKwp2uQkyt49MgAK_ReicH0gp-qPe_YyUNnOgDl1ba-BzrPGguOgmLCID4EouM5uXvi1xrpZXALsBLrmGBuibaVFtcbuSQ71pCOzbZOiU_7GdohG5acZRtz=s0-d-e1-ft#https://www.gstatic.com/images/icons/material/system_gm/1x/arrow_drop_down_black_20dp.png") 50% 50% / 20px no-repeat; padding: 0px; vertical-align: baseline; height: 20px; width: 20px; border: none; margin: 0px 0px 0px auto; display: flex; opacity: 0.71;"></div></td></tr></tbody></table></td></tr></tbody></table></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:2cd"><div></div><div></div><div></div><div></div></div><div><div></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:22m"></div><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:22f" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-m_-2247619550518919384gmail-m_6815071133945600345gmail-m_4136577706225513036gmail-m_6936008637758854548gmail-m_-8881746756597919105gmail-:239" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">See <a href="https://aws.amazon.com/premiumsupport/knowledge-center/iam-assume-role-cli/" target="_blank">https://aws.amazon.com/premiumsupport/knowledge-center/iam-assume-role-cli/</a> , they describe how to assume a role and set the usual AWS_* environment variables that GDAL should pick up.<div><br></div><div>There's discussion on vsis3 related stuff (e.g. authentication) here: <a href="https://gdal.org/user/virtual_file_systems.html#vsis3" target="_blank">https://gdal.org/user/virtual_file_systems.html#vsis3</a></div><div><div><br></div><div>P</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div></span></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr" style="color:rgb(136,136,136)"><span style="color:rgb(54,53,69);font-family:sans-serif"><b><font size="4">Jeannie May</font></b><br></span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">Senior Software Engineer</span></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">11 Birmingham Drive, Christchurch | 963 5305</span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif"> Office </span><span style="color:rgb(54,53,69);font-family:sans-serif;font-size:13px"><br></span></div><div><a href="https://www.trimble.com/" target="_blank">www.trimble.com</a><br></div><span style="color:rgb(80,0,80);font-size:12.8px"><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Connect with us!<br></font></div></span></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr" style="color:rgb(136,136,136)"><span style="color:rgb(54,53,69);font-family:sans-serif"><b><font size="4">Jeannie May</font></b><br></span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">Senior Software Engineer</span></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif">11 Birmingham Drive, Christchurch | 963 5305</span><span style="font-size:13px;color:rgb(54,53,69);font-family:sans-serif"> Office </span><span style="color:rgb(54,53,69);font-family:sans-serif;font-size:13px"><br></span></div><div><a href="https://www.trimble.com/" target="_blank">www.trimble.com</a><br></div><span style="color:rgb(80,0,80);font-size:12.8px"><div style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34)"><font color="#000000">Connect with us!<br></font></div></span></div></div></div></div></div>
</blockquote></div>