# OpcUaUsernameAuth

## pydantic model OpcUaUsernameAuth[source]

Bases: `_ConfigModel`

Read a username identity’s password from the environment at open time.

### field mode: Literal['username'] = 'username'

### field username: str [Required]

Constraints:
:   - **min_length** = 1

### field password_env: str [Required]

Constraints:
:   - **min_length** = 1
