Skip to content

Commit b2f2927

Browse files
Spriteclaude
andcommitted
Use DB_CREDENTIALS instead of GCP_CREDENTIALS in files example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 004755b commit b2f2927

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

reference/configuration.html.markerb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,10 @@ Write a secret to a file:
12411241
```toml
12421242
[[files]]
12431243
guest_path = "/app/credentials.json"
1244-
secret_name = "GCP_CREDENTIALS"
1244+
secret_name = "DB_CREDENTIALS"
12451245
```
12461246

1247-
This writes the (base64-decoded) content of the `GCP_CREDENTIALS` secret to `/app/credentials.json`. Set the secret with: `fly secrets set GCP_CREDENTIALS=$(base64 < credentials.json)`.
1247+
This writes the (base64-decoded) content of the `DB_CREDENTIALS` secret to `/app/credentials.json`. Set the secret with: `fly secrets set DB_CREDENTIALS=$(base64 < credentials.json)`.
12481248

12491249
You can optionally restrict which Machine(s) contain the file using the [processes](#the-processes-section) field. For example:
12501250

0 commit comments

Comments
 (0)