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

Format of .netrc file is not documented #45

Open
eric1138 opened this issue Jul 22, 2016 · 1 comment
Open

Format of .netrc file is not documented #45

eric1138 opened this issue Jul 22, 2016 · 1 comment

Comments

@eric1138
Copy link

The new feature to read credentials from a .netrc file is potentially useful; however, the format of the .netrc file is not documented in the read me. What do the contents of this file look like, and is it placed in the home directory? Would a copy in the cwd override a home directory copy?

@nickzoic
Copy link
Contributor

Looks like it is using this package: https://www.npmjs.com/package/netrc so I guess have a read of that one. The format should be something like:

machine api.enterprise.apigee.com
login your@email.address
password yourpassword

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

No branches or pull requests

2 participants