How to suppress irrelevant warnings about AWS credentials #224
Closed
Description
I'm using this library via the Netlify CLI to locally run serverless Netlify functions.
In the console I'm seeing these two warning lines for every function invocation:
warning Using both auth systems: aws_access_key/id and secret_access_token !
warning Using both auth systems: aws_access_key/id and secret_access_token !
I've tracked down the origin of these warnings and my AWS credentials file indeed contains entries for AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
and AWS_SESSION_TOKEN
for the default profile. However, I'm using these credentials to access AWS and they are not relevant for locally running the Netlify functions.
Is there a way to suppress these warnings?
Metadata
Assignees
Labels
No labels