List all AWS Secrets Manager Secrets and Get 1 Secret code: NodeJS + AWS SDK Example
Example code from my project MyChefAI.com I am working on right now. Hopefully if you are crawling google for a good example of listing secrets or pulling a given secret from AWS Secrets manager with NodeJS this helps you. async function listAllSecrets(nextToken) { const params = { MaxResults: 50 }; if (nextToken) { params.NextToken = nextToken; } try { const data = await secretsManager.listSecrets(params).promise(); for (const secret of data.SecretList) { console....