Repository navigation
--isolated user secrets #18112
Unanswered
Paulo Morgado (paulomorgado)
asked this question in
Q&A
Replies: 1 comment 1 reply
|
It's basically copy-on-start. The CLI takes your AppHost's UserSecretsId, copies its secrets.json (if there is one) into a new store under a fresh GUID, starts the AppHost pointed at that id with randomized ports, and deletes the copy when the run ends (best effort). So each isolated run starts with your current secrets, but anything it writes back, like generated parameter values, goes to the throwaway copy. One thing that looked off to me on main: the CLI passes the isolated id as DOTNET_USER_SECRETS_ID, but hosting seems to read ASPIRE_USER_SECRETS_ID, which the run command sets to the original id. If you ever see an isolated run writing into your real secrets, that's probably why, and worth an issue. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Aspire CLI states that:
How do those "isolated user secrets" work?
All reactions