When cloning an app is the appID cloned too?

Also does the secrets get cloned as well since their encryption is linked to appID?

No a new App ID is generated, and the secrets do not get cloned.

1 Like

And do secrets end up committing to git in some way?

The encrypted secrets are saved in the anvil.yml which is in the git repo, yes. But they can only be decrypted with an app specific decryption key, so they are fine.

When you clone an app, those encrypted secrets from the source app are ignored.

2 Likes