Skip to content

Fix secrets import command for Windows compatibility#2356

Merged
kcmartin merged 1 commit intomainfrom
fix/secrets-import-command
Feb 24, 2026
Merged

Fix secrets import command for Windows compatibility#2356
kcmartin merged 1 commit intomainfrom
fix/secrets-import-command

Conversation

@kcmartin
Copy link
Contributor

@kcmartin kcmartin commented Feb 24, 2026

Summary

  • Replace fly secrets import < .dotenv with cat .dotenv | fly secrets import in the JS secrets doc
  • The < stdin redirection operator fails on Windows PowerShell ("reserved for future use")
  • This matches the pattern already used in the Heroku migration guide

Closes #2350

@kcmartin kcmartin force-pushed the fix/secrets-import-command branch from 6dfc01e to 64847d7 Compare February 24, 2026 19:23
Replace `fly secrets import < .dotenv` with `cat .dotenv | fly secrets import`
to avoid PowerShell error where `<` operator is reserved for future use.

Closes #2350
@kcmartin kcmartin force-pushed the fix/secrets-import-command branch from 64847d7 to a8d345c Compare February 24, 2026 19:27
@kcmartin kcmartin merged commit df8f7ec into main Feb 24, 2026
1 of 2 checks passed
@kcmartin kcmartin deleted the fix/secrets-import-command branch February 24, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with the "Secrets" doc

1 participant