here is the documentation of that setting. It's the same as any other setting, so either just set the ELASTIC_APM_SECRET_TOKEN environment variable or use ElasticApm:SecretToken in your config files.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.