Using EC2 IAM Role with Powershell scripts

Has anyone used IAM Roles with the CloudBerry Explorer PowerShell Snap-in? We currently use the Get-CloudS3Connection command to establish a connection but that requires AccessKey and SecretKey. It would be great if it could utilize the IAM Role associated to the EC2 instance instead of requiring the keys. Thanks!

Hello John,

If i understood your question correctly to assume the IAM Role via Explorer you can follow this guide:

https://www.cloudberrylab.com/resources/blog/assuming-an-iam-role/

Let me know if you will have any additional questions. Thank you.