# Unable to Fetch the secrets

**URL:** <https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044>\
**Category:** Camunda 8 Topics\
**Tags:** connectors, camunda-8\
**Created:** [November 27, 2023, 12:25pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044 "2023-11-27T12:25:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [November 27, 2023, 12:25pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/1 "2023-11-27T12:25:48Z")

</div>

Hi Team,  
I am developing the custom outbound connector.  
I added secrets in the connector secrets section. But its not picking as per expectation. I am getting below exception. Could you please help me on it ?

Exception:  
io.camunda.connector.api.error.ConnectorInputException: Secret with name ‘ACCESS\_KEY’ is not available

---

<div class="post-metadata">

**Author:** ![mark.farkas](https://forum.camunda.io/user_avatar/forum.camunda.io/mark.farkas/32/25747_2.png) [@mark.farkas](https://forum.camunda.io/u/mark.farkas)\
**Post date:** [November 27, 2023, 5:34pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/2 "2023-11-27T17:34:34Z")

</div>

Hi @vinothkumar ,  
Could you please share some more information about your setup? Is it SaaS? Or Self-managed? If the latter, then which connector runtime are you using? Do you use the default secret provider or a custom one? How do you add your secrets?

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [November 28, 2023, 6:08am UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/3 "2023-11-28T06:08:26Z")

</div>

I am using Saas Trail.

Under Connector secrets

 ![image](https://forum.camunda.io/uploads/default/original/3X/d/8/d847cdf704a8049e10654a92adb34739772c35cd.png)

Trying to fetch  
 ![image](https://forum.camunda.io/uploads/default/original/3X/8/5/8503dfd1a33132703330afdebb3209e84282229c.png)

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 8, 2023, 12:12pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/4 "2023-12-08T12:12:42Z")

</div>

Hi @mark.farkas ,  
Can you plz give a guide here.

still I am getting below errors when I try to access,

io.camunda.connector.api.error.ConnectorInputException: Secret with name ‘AWS\_ACCESS\_KEY’ is not available  
at io.camunda.connector.runtime.core.secret.SecretHandler.lambda$new$0(SecretHandler.java:38)  
at java.base/java.util.Optional.orElseThrow(Optional.java:403)  
at io.camunda.connector.runtime.core.secret.SecretHandler.lambda$new$1(SecretHandler.java:35)  
at io.camunda.connector.runtime.core.secret.SecretUtil.resolveSecretValue(SecretUtil.java:72)  
at io.camunda.connector.runtime.core.secret.SecretUtil.lambda$replaceSecretsWithParentheses$0(SecretUtil.java:50)  
at io.camunda.connector.runtime.core.ConnectorUtil.replaceTokens(ConnectorUtil.java:93)  
at io.camunda.connector.runtime.core.secret.SecretUtil.replaceSecretsWithParentheses(SecretUtil.java:47)  
at io.camunda.connector.runtime.core.secret.SecretUtil.replaceSecrets(SecretUtil.java:37)  
at io.camunda.connector.runtime.core.secret.SecretHandler.replaceSecrets(SecretHandler.java:42)  
at io.camunda.connector.runtime.core.outbound.JobHandlerContext.getJsonReplacedWithSecrets(JobHandlerContext.java:65)  
at io.camunda.connector.runtime.core.outbound.JobHandlerContext.mapJson(JobHandlerContext.java:71)  
at io.camunda.connector.runtime.core.outbound.JobHandlerContext.bindVariables(JobHandlerContext.java:58)  
at io.cg.camunda.connector.MyConnectorFunction.execute(MyConnectorFunction.java:37)  
at io.camunda.connector.runtime.core.outbound.ConnectorJobHandler.handle(ConnectorJobHandler.java:105)  
at io.camunda.connector.runtime.outbound.jobhandling.SpringConnectorJobHandler.lambda$handle$0(SpringConnectorJobHandler.java:75)  
at io.micrometer.core.instrument.AbstractTimer.record(AbstractTimer.java:247)  
at io.camunda.zeebe.spring.client.actuator.MicrometerMetricsRecorder.executeWithTimer(MicrometerMetricsRecorder.java:52)  
at io.camunda.connector.runtime.outbound.jobhandling.SpringConnectorJobHandler.handle(SpringConnectorJobHandler.java:66)  
at io.camunda.zeebe.client.impl.worker.JobRunnableFactoryImpl.executeJob(JobRunnableFactoryImpl.java:45)  
at io.camunda.zeebe.client.impl.worker.JobRunnableFactoryImpl.lambda$create$0(JobRunnableFactoryImpl.java:40)  
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)  
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)  
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)  
at java.base/java.lang.Thread.run(Thread.java:1589)

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 8, 2023, 3:30pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/5 "2023-12-08T15:30:30Z")

</div>

Hi Team,  
Anyone else can help on this ?

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 17, 2023, 4:04pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/6 "2023-12-17T16:04:09Z")

</div>

Hi @mark.farkas ,  
Any help

---

<div class="post-metadata">

**Author:** ![tharansakthi](https://forum.camunda.io/user_avatar/forum.camunda.io/tharansakthi/32/31779_2.png) [@tharansakthi](https://forum.camunda.io/u/tharansakthi)\
**Post date:** [January 7, 2025, 7:35am UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/7 "2025-01-07T07:35:32Z")

</div>

I have the same issue. The secrets are not accessible even using {{ syntax.

Its a self managed version running in my Mac.

The error is Secret with name ‘CUSTOMER\_APP\_SECRET’ is not available

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [January 7, 2025, 8:33pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/8 "2025-01-07T20:33:22Z")

</div>

Hi @tharansakthi - this topic is more than 1 year old; can you start a new topic for your issue? Please include what version of Camunda you’re running and how you have it deployed (Docker, Kubernetes/Helm, etc.), as well as the relevant configuration for the Connectors Runtime.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [January 7, 2025, 8:33pm UTC](https://forum.camunda.io/t/unable-to-fetch-the-secrets/49044/9 "2025-01-07T20:33:28Z")

</div>

Closed on January 7, 2025, 8:33pm UTC


