Can an external non-AWS VM assume an IAM role?

Is it possible to make an external (non-EC2) VM assume an AWS IAM role? (preferably without the need of hardcoding any kind of credentials into the machine)?

Not without having any credentials on the box to begin the flow

But you can definitely assume a role from something running outside aws!

:+1: so I need some credentials just to assume the role, right?