How to Add Environment Variables to Camunda Standalone?

I have a notification process this process gets an access token and then creates a notification by sending an API request to my microservice [workflow microservice]
now I add the variable connectionVariable [as map], but this is not secure, how can I add these variables as environment variables?
or are there another way to fixed this issue

Hi @Ayah_Alrifai
I would use some external secrets manager(HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, etc.) to store sensitive data and retrieve the secrets from a vault during runtime.

Regards,
Alex

how can I retrieve these data inside bpmn file?

I think the most straightforward way would be to use a Service Task with a JavaDelegate class. The JavaDelegate class will handle the logic to connect to the secrets manager and retrieve the data during process execution.

You might want to review this user guide Delegation Code | docs.camunda.org

Regards,
Alex

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.