Skip to content

AWS Credentials for S3 shouldn't require environment variables #211

@notpeter

Description

@notpeter

Boto supports multiple ways to provide AWS credentials (key and key_id) besides just as environment variables. More info in the boto docs.

But basically instead of requiring environment variables see fs/s3fs.py we can let boto pull it from the ~/.aws/credentials file (supported by boto, boto3 and other AWS SDKs) or other standardized locations as well as from IAM roles (using ec2 instance metadata magic) when running on EC2 without having to hard-code credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions