Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure default infrastructure and secrets file for a CLI profile #547

Open
cdbartholomew opened this issue Oct 6, 2023 · 1 comment

Comments

@cdbartholomew
Copy link
Member

I often use a different CLI profile for each LangStream environment, local dev, remote test, and remote production. In most cases, I use a different infrastructure and secrets file for each of those profiles with a name like secrets-prod.yaml. It would be handy to be able to associate a default infra and secrets file with the CLI profile I am using. Then I would be able to deploy/update my app without having to specify those options. Of course, I would want to be able to override the default with the command line options.

A few thoughts on how this might work:

  • A set command that accepts an infra/secrets file and saves it as part of my profile
  • A get command to retrieve the default files so I can view them or save them as a file
  • An edit command would let me edit the default file in place (nice to have)
  • A mechanism to specify the file in base64 encoding so it can be completely specified using a command line (for automation tooling, nice to have)
@eolivelli
Copy link
Member

Makes sense to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants