[英]List all parameters in AWS SSM Parameter Store
How do I list all parameters in the AWS Systems Manager (SSM) Parameter Store?如何列出 AWS Systems Manager (SSM) Parameter Store 中的所有参数? I am using the AWS CLI.
我正在使用 AWS CLI。
I can store them with aws ssm put-parameter
.我可以用
aws ssm put-parameter
存储它们。 I can fetch them with aws ssm get-parameter
.我可以使用
aws ssm get-parameter
获取它们。 I can list all documents with aws ssm list-documents
, but I do not see a corresponding list-parameters
function.我可以使用
aws ssm list-documents
列出所有文档,但我没有看到相应的list-parameters
函数。
您正在寻找describe-parameters 。
If you need to list parameters' name and know the path you could use the following:如果您需要列出参数的名称并知道路径,您可以使用以下命令:
aws ssm get-parameters-by-path \
--path "/my-common-path" \
--recursive \
--query "Parameters[*].Name"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.