title: get aws_secret_access_key to store in ~/.boto
body: <p>Im trying to store in <code>~/.boto</code> file the user <code>aws_access_key_id</code> and <code>aws_secret_access_key</code> keys.</p>
  
  <p>I'm already storing <code>aws_access_key_id</code> correctly, but now, I don't know how can I get <code>aws_secret_access_key</code> so I can store it in <code>~/.boto</code> file.</p>
  
  <p>Do you know how can I get <code>aws_secret_access_key</code>?</p>
  
  <pre><code>import  os
  import boto.iam.connection
  
  username = "user"
  
  conection = boto.iam.connect_to_region("us-east-1")
  conection.create_access_key(username)
  conection.create_access_key(username)
  
  k = conection.get_all_access_keys(username)
  ackey =  k['list_access_keys_response']['list_access_keys_result']['access_key_metadata'][0]['access_key_id']
  # and how to return the aws_secret_access_key??
  
  with open(os.path.expanduser("~/.boto"),"w") as f:
      f.write("[Credentials]")
      f.write("/n")
      f.write("aws_access_key_id" + ackey)
      f.write("/n")
      f.write("aws_secret_access_key" + ??)
  </code></pre>