AWS SDK for Node.js throws CredentialsProviderError, even with a local DynamoDB, when ~/.aws/credentials has no default profile. Set AWS_PROFILE to fix it.