Home / node / BaseClient / interfaces / ServerCredentials @valkey/valkey-glide
@valkey/valkey-glide / BaseClient / ServerCredentials
Interface: ServerCredentials
Represents the credentials for connecting to a server.
Properties
password
password:
string
The password that will be used for authenticating connections to the Valkey servers.
username?
optional
username:string
The username that will be used for authenticating connections to the Valkey servers. If not supplied, "default" will be used.