folke / dot

☕️ My Dot Files
Apache License 2.0
866 stars 52 forks source link

use gpg to fetch api token #17

Closed yshenfab closed 1 year ago

yshenfab commented 1 year ago

It‘s dangerous to put your API token in the config. Try gpg or 1Password.

If you prefer 1Password CLI, the config should be like "api_token = "op read op://private/huggingface/credential --no-newline"