-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pass in values from flags as template values to export --template mechanism #2246
Labels
good first issue
Good for newcomers
Comments
@vish198910 I am not working on this |
@vish198910 Assigned to you then |
Noted @akhilmhdh , I'm on it. |
@vishnusharma10 are you still working on this issue |
yes I am working on it over the weekends @saloni0419 . I was not well for past 2 weeks so couldn't proceed much due to that reason. |
Hello @vishnusharma10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
Using the
export
--template
feature, it would be great if I could pass in the values forprojectId
,environmentSlug
, andfolderPath
as values from the flags called on the export command as opposed to only being able to specify those within the template file itself. Ideally I could specify in the file something like this...And those would get pulled from the export call if I had something like
infisical export --template="/some/template/file" --projectId=some-uuid --env=dev --path="/api"
Why would it be useful?
This would be specifically helpful for use with CI as often the values for those are pulled from something like Github secrets.
Additional context
Currently the way to do something like this using a template that you need the values to be pulled from CI would be to either write the file each time using CI steps, or have multiple files that you simple hard code the values into and have CI specify a different path for the template depending on the need.
The text was updated successfully, but these errors were encountered: