-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Type: EnhancementMost issues will probably ask for additions or changes.Most issues will probably ask for additions or changes.
Description
Describe your feature request
Today, if we want to pass variables to Dynamic Secret Files, we have to hard-code the secret in the model. This can lead to some secrets being pushed to Github, for example.
A simple feature is to allow env variables to pass the secret to Dynamic Secret Files. Until such time as it is directly possible to retrieve secrets via third-party solutions.
Describe the use case of the feature
Handle env variables in dynamic variables field :
Example:
dynamic:
- template: path/login.yaml
input: "https://foorbar.com/login"
variables:
- key: username
value: $FOO_BAR_USERNAME
- key: password
value: $FOO_BAR_PASSWORD
type: bearertoken
domains:
- ".*"
token: "{{jwt_bearer}}"Describe alternatives you've considered
No response
Additional context
I made a very simple PR for this feature. #5835
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: EnhancementMost issues will probably ask for additions or changes.Most issues will probably ask for additions or changes.