Yo, I’ve been using `.netrc` files for years to handle curl username password stuff. It’s super handy! Just create a `.netrc` file in your home dir and add your credentials like this:
```
machine example.com
login your_username
password your_password
```
Then use `curl -n` to pull the creds from the file. Super secure since the file permissions can be locked down to just you. Just don’t forget to `chmod 600 .netrc` so no one else can read it.
```
machine example.com
login your_username
password your_password
```
Then use `curl -n` to pull the creds from the file. Super secure since the file permissions can be locked down to just you. Just don’t forget to `chmod 600 .netrc` so no one else can read it.
