LoginSignup
3
2

More than 5 years have passed since last update.

Python boto - プロファイルの使用方法

Last updated at Posted at 2015-06-08

botoのプロファイルを使用した時のメモ
検索してもあまり情報がなかったので投稿

動作確認環境

OS : Mac OS X 10.9
Python : 3.4.3
boto : 2.38.0

設定ファイル

cat ~/.boto
[profile <PROFILE>]
aws_access_key_id=<ACCESS_KEY>
aws_secret_access_key=<SECRET_KEY>

プロファイル使用方法

import boto.ec2
conn = boto.ec2.connect_to_region("ap-northeast-1", profile_name='<PROFILE>')

※参考

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2