The password that will be used for authenticating connections to the Valkey servers. (mutually exclusive with iamConfig).
Optionalusername?: stringThe username that will be used for authenticating connections to the Valkey servers. If not supplied, "default" will be used.
IAM config (mutually exclusive with password). The client will automatically generate and refresh the authentication token based on the provided configuration.
Username is REQUIRED for IAM (Valkey AUTH
Represents the credentials for connecting to a server.