How to store SPLUNK_ACCESS_TOKEN use by OTEL library in spring boot application #846
Unanswered
furkanali0325
asked this question in
Q&A
Replies: 1 comment
-
Hey @furkanali0325 , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I have a spring boot application, in which I have imported the Splunk OTEL library(Splunk open telemetry jar file [https://github.com/signalfx/splunk-otel-java][1]) for tracing and matrices.
So a Splunk authentication token i.e Splunk access token is needed to export data directly to Splunk Observability Cloud. Currently, I have exposed the Splunk access token in Kubernetes.yaml file as an env variable.
But I don't want to expose this token by using Kubernetes.yaml or using a properties file.
So I just want to know, is there any other way to expose or store the splunk_acces_token apart from Kubernetes.yaml or properties file?
For example: there is a flag variable "OTEL_JAVAAGENT_ENABLED" used by the Splunk OTEL library and I have stored this value to "true" in kubernetes.yaml file. So by this config OTEL jar is able to access it.
Beta Was this translation helpful? Give feedback.
All reactions