Describe the bug
I'm trying to connect to S3 from an EC2 instance using the "S3 (Credentials from EC2 Instance Metadata)" profile described here https://docs.cyberduck.io/protocols/s3/#connecting-with-temporary-access-credentials-token-from-ec2.
It fails with an error Unexpected response (401 Unauthorized). Please contact your web hosting service provider for assistance.
To Reproduce
Steps to reproduce the behavior:
- Open Cyberduck and from the main menu select Edit > Preferences ...
- In preferences window switch to Profiles tab and make sure that "S3 (Credentials from AWS Security Token Service)" is enabled. Close the Preferences window.
- Change the name of the role as it is described in https://docs.cyberduck.io/protocols/s3/#connecting-with-temporary-access-credentials-token-from-ec2
- Click on Open Connection button, select "S3 (Credentials from EC2 Instance Metadata)"
Expected behavior
Available S3 buckets should appear.
Screenshots

Desktop (please complete the following information):
- OS: Microsoft Windows Server 2019
- Version 8.6.0 (39818)
Log Files
cyberduck.log
Additional context
EC2 has IMDSv2 required. Does Cyberduck support it?