Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an API for fetching IAM creds with read only access to the manifest bucket #13

Open
mikehale opened this issue Jul 31, 2012 · 3 comments

Comments

@mikehale
Copy link
Collaborator

No description provided.

@dylanegan
Copy link
Owner

@mikehale what's the requirement for this? Just for viewing outside of the application/direct URLs?

@mikehale
Copy link
Collaborator Author

So I was thinking about the following scenario. I want to access the manifest directly on S3 without depending on the manifesto app. In the case where the manifest is private the client will need AWS access keys to access the urls. This API would allow minimal credentials to be provided to the client on an user by user basis that the client could then cache and use to fetch the manifest url directly from S3.

Perhaps something like this:

$ export MANIFESTO_URL="https://user:pass@app/api"                                                                                                                                                                                    
$ candidate manifest credentials -a app_name -m manifest > .user_creds                                                                                                                                                                     
$ source .user_creds
$ candidate manifest -a app_name -m manifest # prints current manifest to stdout

@dylanegan
Copy link
Owner

@mikehale that makes sense to me. I'm not 100% on private S3 URLs and what is actually required for accessing so I'll leave this mostly up to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants