When I do bin/rails credentials:edit
my editor opens a file like credentials.yml.enc.1234
with default content. After I'm done editing, I hit save, and the console reads New credentials encrypted and saved.
After I run bin/rails credentials:edit
again, another temp file gets opened (credentials.yml.enc.4321
) and the contents are back to default.
How can I make the credentials persist?