How do you pass Confidant it's IAM User's Access Key Id and Secret Access Key?

66 views
Skip to first unread message

bi...@builtbykrit.com

unread,
Jun 24, 2016, 8:57:05 AM6/24/16
to confidant-users
I've read through the documentation a couple of times now and it's really clear about how to set up an IAM user for Confidant and what permissions to assign to it. But I can't seem to figure out how to get Confidant the credentials for the user I created. Could y'all point me in the right direction?

Thank you,
Bill Brower

Ryan Lane

unread,
Jun 24, 2016, 1:55:35 PM6/24/16
to bi...@builtbykrit.com, confidant-users
Hey Bill,

In general we try not to use IAM users. We always use IAM roles when possible, which makes the IAM credentials automatically available to confidant via the metadata service on an EC2 instance.

That said, confidant uses boto3/botocore for all AWS actions, so any way in which you can configure boto3 for IAM access will work: http://boto3.readthedocs.io/en/latest/guide/configuration.html. The easiest method is to export the necessary environment variables before you start confidant, since confidant uses environment variables for the rest of its settings: http://boto3.readthedocs.io/en/latest/guide/configuration.html#environment-variables

- Ryan

--
You received this message because you are subscribed to the Google Groups "confidant-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confidant-use...@googlegroups.com.
To post to this group, send email to confida...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confidant-users/77e0f06a-f9e0-4237-86dd-0f3b13b1e9a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bi...@builtbykrit.com

unread,
Jun 24, 2016, 2:06:43 PM6/24/16
to confidant-users, bi...@builtbykrit.com
Thanks for the quick response Ryan! I'll go ahead and switch my setup over to IAM roles.

Ryan Lane

unread,
Jun 24, 2016, 2:21:27 PM6/24/16
to bi...@builtbykrit.com, confidant-users
Great. Let me know if you run into any issues. Happy to help!

Reply all
Reply to author
Forward
0 new messages