Every dev on my team has their own personal Azure key vault linked to their local machine. We have a production Azure key vault that our production site looks at.
In the code, it looks for a specific secret from the vault. The devs won't have the secret in their personal key vaults, but the production key vault will have the secret.
So, when the devs are debugging it will catch an exception saying that the secret doesn't exist.
Is there a way to conditionally check whether or not the secret exists, or do I just have to let it catch the exception?