Using AWS Parameter store to store password and fetching it

Store passwords in Parameter store (refer https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html) Code for accessing parameter store from a nodeJs application: // create system manager object with proxy setup const SSM = new AWS.SSM({ httpOptions: {proxy: `http://${process.env.PROXY_HOST}:${process.env.PROXY_PORT}`}}); let getSSMData = async () => { try { let dbPassword; let response = await SSM.getParameters({ Names: [‘some_parameter_key’], WithDecryption: true }).promise(); dbPassword =Continue reading “Using AWS Parameter store to store password and fetching it”