ssm get_parameters() module doesn's support kms key as input
See original GitHub issueI’d like to use a kms key id (alias/key_id) when using the boto3 ssm module get_parameters()
, but it doesn’t support this parameter.
http://boto3.readthedocs.io/en/latest/reference/services/ssm.html#SSM.Client.get_parameters
I’d like to help to add the feature but search the keyword get_parameter
in this boto/boto3
repository, I don’t get the result, where is the file I can update?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
How AWS Systems Manager Parameter Store uses AWS KMS
Parameter Store supports only symmetric KMS keys. You cannot use an asymmetric KMS key to encrypt your parameters. For help determining whether a...
Read more >class SSM. Client - Boto3 Docs 1.26.32 documentation - AWS
A low-level client representing Amazon Simple Systems Manager (SSM) ... State Manager doesn't support running associations that use a new version of a ......
Read more >cloudposse/ssm-iam-role/aws - Terraform Registry
Provisions a KMS key to encrypt SSM Parameter Store secrets using terraform-aws-kms-key module; Performs Kops cluster lookup to find the ...
Read more >Mock promisified AWS service operation calls with Jest - ITNEXT
SSM and KMS play nicely together as the most of AWS services. ... with the promise key and mock the value of the...
Read more >ssm - Go Packages
Package ssm provides the API client, operations, and parameter types for Amazon Simple ... If you change the KMS key alias for the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ozbillwang it does not go through all the KMS keys. SSM knows which key was used to encrypt the parameter and will only try that key. You can verify this by running
aws ssm describe-parameters
. The get_parameters function does not need a KeyId argument because it will be able to automatically use the KeyId stored on the parameter itself.The get_parameters function also does not need a Region argument. If you need to read from multiple regions you can create multiple client objects. Example:
I am fine now, this issue can be closed.
Thanks