using environment credentials if available