apigeetool-node icon indicating copy to clipboard operation
apigeetool-node copied to clipboard

Format of .netrc file is not documented

Open eric1138 opened this issue 8 years ago • 1 comments

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?

eric1138 avatar Jul 22 '16 18:07 eric1138

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 [email protected] password yourpassword

nickzoic avatar Jul 29 '16 07:07 nickzoic