We don't at all this recommend this type of deployment model for Heroku ( or 
any platform for that manner ).     We support injecting environment variables 
at runtime to avoid this problem.

Example:

$ heroku config:add S3_KEY=8N029N81 S3_SECRET=9s83109d3+583493190
Adding config vars:
  S3_KEY    => 8N029N81
  S3_SECRET => 9s83109d3+583493190
Restarting app...done.

AWS::S3::Base.establish_connection!(
  :access_key_id     => ENV['S3_KEY'],
  :secret_access_key => ENV['S3_SECRET']
)

I know Heroku isn't your specific gripe here, but I think it's important that 
we focus on providing guidance and a secure path for teams and platforms that 
are doing the right thing.

-cmort


On 6/1/11 12:17 PM, "Skylar Woodward" <sky...@kiva.org> wrote:

On Jun 1, 2011, at 6:54 PM, Brian Eaton wrote:

>> (Some web apps might not be able to keep secrets based on open development 
>> or deployment model).
>
> Can you clarify what you mean by this?

Simple really, I just mean for some developers it might be more important to 
have an open development model (eg, over github) than to secure secrets. Rather 
than request and manage a secret for their project, they just choose to make 
the project a forgeable app. Let's say it's a Rails app deployed to Heroku and 
for convenience the team doesn't want to add a build step where a protected 
secret is brought down from a private repo. It's not a native app, but because 
of how the team works they can't (or won't) secure a secret. What's in 
production is exactly whats in a public github branch.

Systems like Heroku are blurring the line between source control and 
deployment. So you can imagine 3rd party apps, especially voluntary 
contributions and hack day output being totally transparent from code to 
server. For some web apps it just won't be a priority to secure a secret. 
That's all I'm implying.

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth

Reply via email to