Skip to content

Commit e83dec8

Browse files
committed
add aws-configure to makefile. Also log secrets for debugging
1 parent 2b891cd commit e83dec8

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ compile-node:
1010

1111
compile: compile-node
1212

13+
aws-configure:
14+
aws configure sso --region eu-west-2
15+
1316
aws-login:
1417
aws sso login --sso-session sso-session
1518

artillery/helper/psu.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ export async function getSharedAuthToken(vuContext) {
114114
const api_key = process.env.psu_api_key
115115
const kid = process.env.psu_kid
116116

117+
logger.info("Secrets:", {privateKey, api_key, kid})
118+
117119
// And use them to fetch the access token
118120
const response = await getAccessToken(logger, vuContext.vars.target, privateKey, api_key, kid)
119121

0 commit comments

Comments
 (0)