We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25bc7f commit 8909cd7Copy full SHA for 8909cd7
source/faq.rst
@@ -119,6 +119,14 @@ b) You didn't set correct auth token via ``netrc`` for a private binary cache. S
119
How can I check if my auth token works?
120
---------------------------------------
121
122
+For API authentication tokens:
123
+
124
.. code:: shell-session
125
126
$ 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