I'm trying to test an API that needs AWS credentials (AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
and AWS_SESSION_TOKEN
).
Right now I'm setting them explicitly in the Postman environment, but I need to do this every time I'm refreshing my credentials.
So I'm looking for a way to automatically add these and found Postman pre-request scripts.
Unfortunately there is no process.env
and also no fs.readFileSync
(to read ~/.aws/credentials
).
Is there another way to pass information from outside Postman?