> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# E_MANIFEST_GIT_USERINFO

> A git dependency URL embeds credentials (a user:password@ part before the host).

A `git` dependency URL embeds credentials (a `user:password@` part before the host). It is rejected so the secret never reaches the lockfile or git history; pass credentials with `--auth` or `--auth-file` instead.

## How to fix it

Strip the credentials from the URL in `akua.toml`:

```toml
[dependencies]
upstream = { git = "https://github.com/myco/private", tag = "v1" }
```

Then pass them at the call site, keyed by URL prefix (the longest matching prefix wins):

```sh
akua pkg vendor add upstream --auth github.com/myco=alice:$GH_TOKEN
```

## Shape

```json
{
  "level": "error",
  "code": "E_MANIFEST_GIT_USERINFO",
  "message": "...",
  "docs": "https://docs.akua.dev/akua/errors/E_MANIFEST_GIT_USERINFO"
}
```

## Related topics

> [card] [Error codes](https://docs.akua.dev/akua/errors.md)
>
> What each structured error means and how to resolve it.

> [card] [akua pkg commands](https://docs.akua.dev/akua/cli.md)
>
> Every command, the universal flags and the exit codes.
