Hi. Is there a way to create a Secret dynamically, as a step in a flow?
I submitted a PR for SendGrid.SendEmail some time ago. I based it on other tasks in the task library, so I had the secret
name passed as an argument, instead of the secret
value.
Now I have a GCP Secret named
shared_credentials
with contents
{"sendgrid-api-key": "abc", "some-other-api-key": "efg", ...}
,
Is there a way to read the
sendgrid-api-key
value from
shared_credentials
, then create a temporary secret in the flow named
SENDGRID_API_KEY
, as required by the SendGrid task?
Or other ideas to use the value
inside of the secret?