{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/1041","repository_url":"https://api.github.com/repos/docker/distribution","labels_url":"https://api.github.com/repos/docker/distribution/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/1041/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/1041/events","html_url":"https://github.com/docker/distribution/issues/1041","id":108888353,"number":1041,"title":"s3: Use profiles when selecting credentials from ~/.aws/credentials","user":{"login":"leedm777","id":133579,"avatar_url":"https://avatars.githubusercontent.com/u/133579?v=3","gravatar_id":"","url":"https://api.github.com/users/leedm777","html_url":"https://github.com/leedm777","followers_url":"https://api.github.com/users/leedm777/followers","following_url":"https://api.github.com/users/leedm777/following{/other_user}","gists_url":"https://api.github.com/users/leedm777/gists{/gist_id}","starred_url":"https://api.github.com/users/leedm777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leedm777/subscriptions","organizations_url":"https://api.github.com/users/leedm777/orgs","repos_url":"https://api.github.com/users/leedm777/repos","events_url":"https://api.github.com/users/leedm777/events{/privacy}","received_events_url":"https://api.github.com/users/leedm777/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-29T14:58:36Z","updated_at":"2016-02-05T00:50:15Z","closed_at":"2016-02-05T00:50:15Z","body":"AWS tooling which reads credentials from `~/.aws/credentials` also supports profile selection. This allows folks with multiple AWS accounts to select which account credentials they wish to use for particular tasks. This is usually specified by either configuration, with with the `AWS_PROFILE` or `AWS_DEFAULT_PROFILE` environment variables.\r\n\r\nSee http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles\r\n\r\nIt would be nice if the `s3` section included a configuration option for `profile`, or the registry honored the `AWS_PROFILE` environment variable."}}