send message to slack without token
Anyone know how to send a message to slack without token anywhere in the code?
Slack token looks like this:
I'm not allowed to have anywhere in the code or in json file. I know similar function can be achieved in python via the use of BaseHook and getting password from slack conn id. Is there way to send a message to slack in Java as well?
3 Replies
⌛
This post has been reserved for your question.
Hey @VaygrEmpire! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
resolved by sending token from airflow dag with xcom variable to scala class, then connect to HttpPost
Post Closed
This post has been closed by <@205489120984825857>.