How to use connector secrets in Camunda 8 Self Managed

Hi,
I am running Camunda 8 as self managed on my windows machine, can anyone explain how can I use the connector secrets in Camunda Self managed?

Hi @naren,
Assuming that You have installed camunda though a docker compose
In your compose file Installation Directory You can find a file named connector-secrets.txt (If not create one)
In txt file add secrets per line in the format NAME=VALUE

Hi @Praveen_Kumar_Reddy,
We have not installed camunda through a docker compose, but in a Manual process.

Hi @naren,

The easiest way to load secrets are through environment variables.

export MY_SECRET="mySecretValue"
java -jar <connector runtime>

Hope this helps.

how could I install Secret Managing UI like SaaS Model?

1 Like

Hi @msjo

Unfortunately, there is no secret management UI available for installation.

Hi
any idea how to access secrets in self managed in manual setup as my running camunda in windows for development purpose . can we define all secrets in one file and use those?

Thanks
Pavan

1 Like

Hi @Pavan_Kumar_V ,

And welcome to the Camunda community :slight_smile:

Currently, there is no way to do this in our helm chart. A potential workaround for you would be to provide separate yaml files like so:

connectors-env.yaml:

connectors:
  env:
     - name: VAR1
       value: VALUE1

Then you can combine this separate file with others like so:

helm install camunda camunda/camunda-platform -f main-values.yaml -f connectors-env.yaml -n camunda

You can also have a look at the Self-Managed documentation there.

Thank you,
Jonathan

1 Like

Hi @jroques ,

I installed camunda with zip files . Is their any way to add secerts in this scenarios. if we are not doing with yaml files

Thanks

I see, then you might be able to do it.

I didn’t try but if you load your env variables from a file as it’s explained here, and then run the java -cp ... command in your shell, the env vars should be picked up by the Runtime.

Let me know if it worked, please.

Jonathan