dpsctl login
dpsctl login Usage Guide
Login to the DPS server and store authentication credentials.
Usage
dpsctl login [options]Flags
Includes global dpsctl options.
--username value, -u value The username to use to authenticate to DPS
--password value, -p value The password to use to authenticate to DPS
--credentials-path value Path to credentials file (default: ${HOME}/.dpsctl/credentials.yaml)
--help, -h show helpExamples
Interactive Login
$ dpsctl login
Username: alice
Password: [hidden]
Login successfulLogin with Flags
$ dpsctl login --username alice --password mypassword
Login successfulLogin with Environment Variables
$ export dpsctl_USERNAME=alice
$ export dpsctl_PASSWORD=mypassword
$ dpsctl login
Login successfulNotes
- Credentials are stored in
${HOME}/.dpsctl/credentials.yamlby default - The credentials file path can be customized with
--credentials-pathflag - Tokens are automatically refreshed when expired
- For automation, consider using automation accounts