The following command:
$ fly secrets set MY_VAR=my_value
when the value is the same as the current one, prints the following error:
Error No change detected to secrets
In my opinion it shouldn’t generate an error, because it is a common scenario when building using idempotent scripts or CI/CD.