Is there any way to automate the configuration of EC2 agent profiles? Specifically I would like to programatically change the security group, AMI, key pair and credentials.
I can't see any way to do this through the REST API. The possibilities that seem viable are driving the web UI (e.g with curl) and directly modifying the config files on disk.
However the AWS credentials appear to be stored in encrypted form. Is there any way for me to generate the correct encrypted values for my credentials?