Skip to content

Commit 8909cd7

Browse files
committed
fix #128
1 parent c25bc7f commit 8909cd7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/faq.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ b) You didn't set correct auth token via ``netrc`` for a private binary cache. S
119119
How can I check if my auth token works?
120120
---------------------------------------
121121

122+
For API authentication tokens:
123+
122124
.. code:: shell-session
123125
124126
$ curl -v -H "Authorization: Bearer ${CACHIX_AUTH_TOKEN}" https://app.cachix.org/api/v1/user
127+
128+
For cache authentication tokens:
129+
130+
.. code:: shell-session
131+
132+
$ curl -s --netrc-file ~/.config/nix/netrc https://mycache.cachix.org/nix-cache-info

0 commit comments

Comments
 (0)