-
I really like the v2 feature where local development keys are automatically generated, but I have a couple of circumstances where I'm not sure how to best handle things. I have a project (that I'm transitioning from v1 to v2) that involves some activity running directly on my machine and some activity that occurs within a container. For the direct activity my auto-generated development key will work great, but for the containerized activity I'll need to propagate the ENVKEY into the container via a Should I locate the auto-generated key in I also can't see a way to view the app ID from within the UI. I can go and look at the contents of the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @colvin, I think any of the options you mention could potentially work: forwarding the ENVKEY to the container as an env var, copying the file over from Off the top of my head, I can't think of a particularly strong reason to prefer one option over the others, but I think I'd probably go with copying over the I agree that showing the app id in the UI would be helpful for this situation. In the meantime, you can also get it from the CLI using |
Beta Was this translation helpful? Give feedback.
Hey @colvin, I think any of the options you mention could potentially work: forwarding the ENVKEY to the container as an env var, copying the file over from
~/.envkey/apps
, or generating a separate local development ENVKEY.Off the top of my head, I can't think of a particularly strong reason to prefer one option over the others, but I think I'd probably go with copying over the
~/.envkey/apps
file into the container.I agree that showing the app id in the UI would be helpful for this situation. In the meantime, you can also get it from the CLI using
envkey apps --json-pretty