{"action":"created","issue":{"url":"https://api.github.com/repos/deis/postgres/issues/192","repository_url":"https://api.github.com/repos/deis/postgres","labels_url":"https://api.github.com/repos/deis/postgres/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/deis/postgres/issues/192/comments","events_url":"https://api.github.com/repos/deis/postgres/issues/192/events","html_url":"https://github.com/deis/postgres/issues/192","id":221684898,"number":192,"title":"database backup trying to use AWS secrets rather than IAM when accesskey and secretkey are blank","user":{"login":"jwalters-gpsw","id":19417021,"avatar_url":"https://avatars2.githubusercontent.com/u/19417021?v=3","gravatar_id":"","url":"https://api.github.com/users/jwalters-gpsw","html_url":"https://github.com/jwalters-gpsw","followers_url":"https://api.github.com/users/jwalters-gpsw/followers","following_url":"https://api.github.com/users/jwalters-gpsw/following{/other_user}","gists_url":"https://api.github.com/users/jwalters-gpsw/gists{/gist_id}","starred_url":"https://api.github.com/users/jwalters-gpsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwalters-gpsw/subscriptions","organizations_url":"https://api.github.com/users/jwalters-gpsw/orgs","repos_url":"https://api.github.com/users/jwalters-gpsw/repos","events_url":"https://api.github.com/users/jwalters-gpsw/events{/privacy}","received_events_url":"https://api.github.com/users/jwalters-gpsw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-13T21:17:24Z","updated_at":"2017-04-13T22:45:31Z","closed_at":null,"body":"I have IAM setup and have confirmed it works in the deis  namespace by running up generic ubuntu and accessing the bucket successfully. However the database log is showing this:\r\n\r\n```\r\nPerforming an initial backup...\r\nwal_e.main   INFO     MSG: starting WAL-E\r\n        DETAIL: The subcommand is \"backup-push\".\r\n        STRUCTURED: time=2017-04-13T21:05:13.346499-00 pid=111\r\nwal_e.main   ERROR    MSG: AWS Access Key credential is required but not provided\r\n        HINT: Pass \"--aws-access-key-id\" or set the environment variable \"AWS_ACCESS_KEY_ID\".\r\n        STRUCTURED: time=2017-04-13T21:05:13.346858-00 pid=111\r\n```\r\n\r\nMy values config snippets are:\r\n\r\n```\r\nglobal:\r\n  # Set the storage backend\r\n  #\r\n  # Valid values are:\r\n  # - s3: Store persistent data in AWS S3 (configure in S3 section)\r\n  # - azure: Store persistent data in Azure's object storage\r\n  # - gcs: Store persistent data in Google Cloud Storage\r\n  # - minio: Store persistent data on in-cluster Minio server\r\n  storage: s3\r\n.\r\n.\r\n.\r\n  database_location: \"on-cluster\"\r\n.\r\n.\r\n.\r\ns3:\r\n  # Your AWS access key. Leave it empty if you want to use IAM credentials.\r\n  accesskey: \"\"\r\n  # Your AWS secret key. Leave it empty if you want to use IAM credentials.\r\n  secretkey: \"\"\r\n  # Any S3 region\r\n  region: \"us-west-2\"\r\n  # Your buckets.\r\n  registry_bucket: \"tectonic-deis-registry\"\r\n  database_bucket: \"tectonic-deis-database\"\r\n  builder_bucket: \"tectonic-deis-builder\"\r\n```\r\n\r\nThis is with chart 2.13 (assuming this is the latest). "},"comment":{"url":"https://api.github.com/repos/deis/postgres/issues/comments/294040750","html_url":"https://github.com/deis/postgres/issues/192#issuecomment-294040750","issue_url":"https://api.github.com/repos/deis/postgres/issues/192","id":294040750,"user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars1.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2017-04-13T22:45:31Z","updated_at":"2017-04-13T22:45:31Z","body":"Yes. What I meant was would you mind writing up a PR with that code? If not I'll write one up."}}
{"actor":{"display_login":"bacongobbler"}}