https://pulumi.com logo
s

steep-beach-52652

11/19/2021, 9:55 AM
Copy code
secrets = json.loads(subprocess.getoutput("aws secretsmanager list-secrets"))
b

brave-planet-10645

11/19/2021, 10:52 AM
We have some methods that you can use to get information from AWS, but it looks like you can't list secrets. (this is what I'm referring to) I would use something like boto3 if you're making calls to AWS to get information like this