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 help

Examples

Interactive Login

$ dpsctl login
Username: alice
Password: [hidden]
Login successful

Login with Flags

$ dpsctl login --username alice --password mypassword
Login successful

Login with Environment Variables

$ export dpsctl_USERNAME=alice
$ export dpsctl_PASSWORD=mypassword
$ dpsctl login
Login successful

Notes

  • Credentials are stored in ${HOME}/.dpsctl/credentials.yaml by default
  • The credentials file path can be customized with --credentials-path flag
  • Tokens are automatically refreshed when expired
  • For automation, consider using automation accounts