Skip to content

Commit 48a37cf

Browse files
committed
settings/api-tokens: Replace hardcoded credentials path with cargo docs link
1 parent 1b516b5 commit 48a37cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/components/settings/api-tokens.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525

2626
<p local-class="explainer">
2727
To use an API token, run <a href="https://doc.rust-lang.org/cargo/commands/cargo-login.html"><code>cargo login</code></a>
28-
on the command line and paste the key when prompted. This will save it to a local file (<code>~/.cargo/credentials</code> by default).
28+
on the command line and paste the key when prompted. This will save it to a
29+
<a href="https://doc.rust-lang.org/cargo/reference/config.html#credentials">local credentials file</a>.
2930
For CI systems you can use the
3031
<a href="https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials"><code>CARGO_REGISTRY_TOKEN</code></a>
3132
environment variable, but make sure that the token stays secret!

0 commit comments

Comments
 (0)