Add dotenv output format for aws ssm get-parameters-by-path
#8599
Labels
closing-soon
This issue will automatically close in 4 days unless further comments are made.
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
ssm
Describe the feature
Add a
--dotenv
flag (or maybe an--output dotenv
format option) to format the output of theget-parameters-by-path
command in dotenv format.Use Case
Environment variables are often stored in the SSM Parameter Store. Fetching them out of the store and formatting them in dotenv format is common but not trivial and requires either many steps or a very complicated chain of terminal commands. The dotenv format is widely adopted by tools and mainstream IDEs for configuring environment variables for developers.
Proposed Solution
No response
Other Information
Use awsparams with the
--dotenv
flagOR with linux native tools and the aws cli
Acknowledgements
CLI version used
aws-cli/2.12.6 Python/3.11.4 Darwin/23.1.0 exe/x86_64 prompt/off
Environment details (OS name and version, etc.)
macOS 14.1.2
The text was updated successfully, but these errors were encountered: