{"action":"opened","issue":{"url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/111","labels_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/111/comments","events_url":"https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/issues/111/events","html_url":"https://github.com/KnpLabs/KnpGaufretteBundle/issues/111","id":68947290,"number":111,"title":" Retrieve a secure file using AWS","user":{"login":"thmohd","id":6863094,"avatar_url":"https://avatars.githubusercontent.com/u/6863094?v=3","gravatar_id":"","url":"https://api.github.com/users/thmohd","html_url":"https://github.com/thmohd","followers_url":"https://api.github.com/users/thmohd/followers","following_url":"https://api.github.com/users/thmohd/following{/other_user}","gists_url":"https://api.github.com/users/thmohd/gists{/gist_id}","starred_url":"https://api.github.com/users/thmohd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thmohd/subscriptions","organizations_url":"https://api.github.com/users/thmohd/orgs","repos_url":"https://api.github.com/users/thmohd/repos","events_url":"https://api.github.com/users/thmohd/events{/privacy}","received_events_url":"https://api.github.com/users/thmohd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T15:22:21Z","updated_at":"2015-04-16T15:22:21Z","closed_at":null,"body":"I am using KnpGaufretteBundle with Vich uploader, everything work well, I upload on AWS but my files are secured on AWS and I don't want them be public, How can I retrieve a file using AWS key and secret key same way I used them for uploading \r\n\r\nMy config file is ::\r\n-----------\r\nservices:\r\n      amazonS3:\r\n          class: AmazonS3\r\n          arguments:\r\n              options:\r\n                  key:      '%aws_key%'\r\n                  secret:   '%aws_secret_key%'\r\n\r\n\r\n\r\n\r\nknp_gaufrette:\r\n    stream_wrapper: ~\r\n\r\n    adapters:\r\n        zip_uploads:\r\n            amazon_s3:\r\n                amazon_s3_id:   amazonS3\r\n                bucket_name:    my_bucket\r\n\r\n    filesystems:\r\n            amazon_s3:\r\n                adapter:    zip_uploads\r\n\r\nvich_uploader:\r\n    db_driver: orm\r\n    storage: gaufrette\r\n\r\n    mappings:\r\n           zip_file:\r\n                   uri_prefix:         https://s3.amazonaws.com/my_bucket\r\n                   upload_destination: amazon_s3\r\n                   namer:              vich_uploader.namer_uniqid\r\n                   inject_on_load:     true\r\n                   delete_on_update:   true\r\n                   delete_on_remove:   true"}}