Hi Sarah,

The .heroku/credentials file is only used for heroku commands like
config, log, etc.  When you are pushing via git, it uses the ssh keys on
your computer.  The ssh key used locally is the one associated with
[email protected].  This is how heroku determines which user is
pushing to the app.  Like Pedro suggests, using different unix users
might help.  Also, if possible you can add [email protected] as a
collaborator allowing push access.

-Terence

On Sun, 2009-12-20 at 08:29 -0800, Sarah Allen wrote:
> I need to have multiple accounts on heroku to manage personal and
> corporate projects.  I have switched my identity in ~/.heroku/
> credentials
> and that is matched by the user configured with git.
> 
> When I create a new app, it uses the specified user, but when I try to
> push it tells me:
> 
>  !  [email protected] not authorized to access myapp
> 
> Where is it getting this other identity from?
> 
> Thanks,
> Sarah
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 
> 
> 


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to