flyctl secrets: Could not find VaultSecret

Trying to list/set/unset secrets doesn’t seem to work. Everything just returns:

❯ flyctl secrets list                                                                                                                                              
Error Could not find VaultSecret

I ended up just destroying the app and recreating it and it works now.

2 Likes

Was bit by this as well - same solution.

To cause it I created a new app, attached a pg db, then tried to delete the database_url secret - that was taking a really long time so I canceled the operation, and after that my secrets were borked