file transfer between s3 and ec2

view full story

http://serverfault.com – I want to automate transfer of tomcat log files from micro instance to S3 account. However, all the scripts I find online use key pair in order to do this. I cant upload these key pair to the server for security reasons. Is it possible to create a shell script that automates moving of these log files into s3 without requiring to access .pem files ? (HowTos)