skip to Main Content

How to Iterate Json key value pair and get the value and store in another json using Bash Script with JQ utility – Amazon web services

Im writing bash script for AWS Secret Manager . Question: I have one aws secret manager it will contain multiple secret Example: aws secretsmanager get-secret-value --secret-id Example | jq -r ".SecretString" input.json {"Username":"admin","Password":"admin","Endpoint":"localhost","DatabaseName":"example","Port":"3306"} Using this command got a json output…

VIEW QUESTION
Back To Top
Search