# IMessageQueueAuthConnection interface · @imqueue/core

Source: https://imqueue.org/api/core/latest/core.imessagequeueauthconnection/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/core 3.3.2 — generated reference, not hand-written

Optional credentials for a queue host, forwarded to the Redis client as `username` and `password`.

Supply both for a Redis ACL user, or just `password` for a `requirepass`-only server. Omit both to connect unauthenticated, which is the default.

**Signature:**

```typescript
export interface IMessageQueueAuthConnection 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [password?](https://imqueue.org/api/core/latest/core.imessagequeueauthconnection.password/) |  | string | _(Optional)_ Password for the queue host. |
| [username?](https://imqueue.org/api/core/latest/core.imessagequeueauthconnection.username/) |  | string | _(Optional)_ Redis ACL user name. Omit for a server that only uses `requirepass`. |

