You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/configuration.html.markerb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1241,10 +1241,10 @@ Write a secret to a file:
1241
1241
```toml
1242
1242
[[files]]
1243
1243
guest_path = "/app/credentials.json"
1244
-
secret_name = "GCP_CREDENTIALS"
1244
+
secret_name = "DB_CREDENTIALS"
1245
1245
```
1246
1246
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)`.
1248
1248
1249
1249
You can optionally restrict which Machine(s) contain the file using the [processes](#the-processes-section) field. For example:
0 commit comments