Merged in feature/IO-2921-CARSTAR-Canada-Chatter-Integration (pull request #1830)
IO-2921 CHATTER correct secertmanager call from undefined variable to string Approved-by: Dave Richer
This commit is contained in:
@@ -154,7 +154,7 @@ exports.default = async (req, res) => {
|
|||||||
async function getPrivateKey() {
|
async function getPrivateKey() {
|
||||||
// Connect to AWS Secrets Manager
|
// Connect to AWS Secrets Manager
|
||||||
const client = new SecretsManagerClient({ region: "ca-central-1" });
|
const client = new SecretsManagerClient({ region: "ca-central-1" });
|
||||||
const command = new GetSecretValueCommand({ SecretId: CHATTER_PRIVATE_KEY });
|
const command = new GetSecretValueCommand({ SecretId: "CHATTER_PRIVATE_KEY" });
|
||||||
|
|
||||||
logger.log("chatter-get-private-key", "DEBUG", "api", null, null);
|
logger.log("chatter-get-private-key", "DEBUG", "api", null, null);
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user