]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat : comment credentials in template boto.cfg
authorSteven Hardy <shardy@redhat.com>
Tue, 11 Sep 2012 18:03:41 +0000 (19:03 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 11 Sep 2012 18:03:41 +0000 (19:03 +0100)
Comment out the credentials section in /etc/boto.cfg
this allows us to pass the correct host/endpoint without
having world-readable credentials.  This can then be used
as a template for per-user ~/.boto files if desired

Change-Id: I4cea0cb3b790186ddc041edad0ab4ee4b7e8f956
Signed-off-by: Steven Hardy <shardy@redhat.com>
etc/heat/boto.cfg

index a043fbad6694c5e07223c7765bd2ae65c57f4a1d..eb911c0efc82b4fe3201aced6d28bac405224383 100644 (file)
@@ -1,7 +1,11 @@
-[Credentials]
+#[Credentials]
 # AWS credentials, from keystone ec2-credentials-list
-aws_access_key_id = YOUR_KEY
-aws_secret_access_key = YOUR_SECKEY
+# Note this section should only be uncommented for per-user
+# boto config files, copy this file to ~/.boto
+# Alternatively the credentials can be passed into the boto
+# client at constructor-time in your code
+#aws_access_key_id = YOUR_KEY
+#aws_secret_access_key = YOUR_SECKEY
 
 [Boto]
 # Make boto output verbose debugging information