How to hide AWS secret key in AWS elastic beanstalk plugin of Jenkins?

82 views
Skip to first unread message

kanungo...@gmail.com

unread,
Nov 23, 2015, 5:52:10 AM11/23/15
to Jenkins Users
I am unable to hide my AWS secret key in the AWS elastic beanstalk plugin which helps in automatic deployment in Elastic beanstalk............Please help....

Its urgent






Thanks
Amrita

Aldrin Leal

unread,
Nov 24, 2015, 9:05:29 PM11/24/15
to jenkins...@googlegroups.com
Hi Amrita,

Currently there's no way to do it. I'm evaluating other options (including using the credentials file and environment properties, as well as Instance Profiles), but the shortest path is: Simply use an IAM Key with constrained roles. Likely: s3:* and elasticbeanstalk;*

Thank you

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b868a33f-c668-4c29-9dc7-1d3ad367bdff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Lai

unread,
Nov 25, 2015, 8:30:36 AM11/25/15
to Jenkins Users


can you not treat it like a password and get it injected. 
Set a password called aws_key and in the key section "$aws_key"
Jenkins will then mask it for you. 

Amrita Kanungo

unread,
Nov 26, 2015, 4:45:13 AM11/26/15
to jenkins...@googlegroups.com
Thank you..But I am write now using AWS Elastic Beanstalk Publisher Plugin in which I am declaring the credentials globally and in the job level its hidden.

Thank you all for your answers..




--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LECdqIGglyI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8c0dc646-6d89-4329-8dac-fcdfce719edc%40googlegroups.com.

Amrita Kanungo

unread,
Nov 26, 2015, 5:53:39 AM11/26/15
to jenkins...@googlegroups.com
Hii...Right now another issue am facing...In our pom.xml the version keeps on changing for each war. We are actually increasing the pom version so our war is also being generated by abc-0.1.16-SNAPSHOT.war. And this number keeps on increasing. So how to declare the path in the AWS Deployment plugin, in the root object(file/directory) value. I have to give the exact name else its not taking target/abc-.*-war.

Can you please help me in this..
Reply all
Reply to author
Forward
0 new messages