Sorry for taking so long to reply. I did mean to take it out. Since the
process of loading a keychain needed some changes (because you can now pass
the name of the keychain to load as a parameter) and because some
informative messages required the keychain of the prefs_file I moved it out
so that you can reaed the content of the configs globally. This is useful
to set the default keychain or create the default content of the file if
it's empty.

Does this solve the question? What are your impressions so far?


On Wed, May 8, 2013 at 11:29 AM, Cody Cutrer <notifications@github.com>wrote:

> In bin/aws-creds:
>
> >
> > -def load_keychain
> > -  keychain = if File.exist? PREFS_FILE
> > -    prefs = JSON.parse(File.read(PREFS_FILE))
> > -    Keychain.open(prefs['aws_keychain_name'])
> > -  else
> > -    Keychain.default
>
> Did you mean to take this out?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zwily/aws-keychain-util/pull/3/files#r4137657>
> .
>



-- 



David Peláez Tamayo
Designer & Entrepreneur