I use Livy REST API to submit Spark app.
{
“file”: <application-jar>,
“className”: “<main-class>”,
“args”: my_args,
“conf”: my_conf
}
my_args = [args1, args2, ...]
my_conf = {'foo1': 'bar1', 'foo2': 'bar2'...}
I want my_conf (json secrets) to store in AWS SSM parameter store and to use it from parameter store when my python script using Livy submits spark app. How to store and get(get in python the same json) my_conf to/from parameter store?