Use the default profile in an AWS shared credentials file
To use of the default credentials in this file, provide no connection parameters.
Example - Using an AWS Credential Profile
in a Boto SDK connection
method.
s3 = boto.connect_s3( 1
host = host,
is_secure = false,
calling_format = boto.s3.connection.OrdinaryCallingFormat(),
) 2
1 The Boto SDK automatically reads the Access Key ID and Secret Access Key from the
shared AWS Credentials file. They do not need to be provided explicitly.
2 As the pool2 profile is not specified, the default credentials are used for this
connection.