NETRC
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
.netrc Preview.
At a glance
| Purpose | A .netrc file: machine entries with login, password and account, and macro definitions. |
| Extensions | .netrc |
| Poka parser | poka-netrc |
| Viewer | poka-tree-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B2 Broad (see Breadth tiers) |
How much Poka reads
B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-netrc/src/main.rs (320 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has heroku-netrc_sample_multi_with_default.netrc, read by no test. Covers .netrc. The tree lists every machine (and default) entry with login and account; passwords are shown only as set, with their length; macro definitions are listed. Judgement: B2: every entry is shown; passwords are hidden by design.
What Poka does not read
- Passwords are never shown (by design)
- Macro bodies are not shown (judgement from the code)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- netrc (candidate; MIT (crate), Apache-2.0 (repo); Rust; https://github.com/Yuhta/netrc-rs)
Sources
- parsers/poka-netrc/src/main.rs
- parsers/poka-netrc/plugin.json