Cuckoo-AWS icon indicating copy to clipboard operation
Cuckoo-AWS copied to clipboard

Adding ability to use IAM roles

Open GnatorX opened this issue 4 years ago • 3 comments

My issue is: I need to use IAM role when running orchestrator on EC2 rather than IAM user. Since IAM roles are more suited for access control when it comes to running on ec2, i added the ability to use IAM role via env creds.
My Cuckoo version and operating system are: Latest + linux orchestration + window VMs
This can be reproduced by:

NA

The log, error, files etc can be found at:

NA

https://github.com/CheckPointSW/Cuckoo-AWS/pull/26

GnatorX avatar Dec 16 '20 00:12 GnatorX

Hi @GnatorX Do you mean assigning IAM role to the EC2?

chkp-mostafaw avatar Mar 01 '21 07:03 chkp-mostafaw

Not exactly. This is for if you already gave your EC2 Instance an IAM instance profile with an IAM role, this PR will pick up that IAM role

GnatorX avatar Mar 01 '21 19:03 GnatorX

leverage the existing cred retrieval behavior https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html#credentials-chain

GnatorX avatar Mar 01 '21 19:03 GnatorX