DLM Administration
Also available as:
PDF
loading table of contents...

CLI authentication

Logging into the DLM CLI system enables you to run all the supported CLI operations.

Unlike in DLM UI, as a CLI System Administrator, you can execute all the supported CLI commands. Authorization is not supported; any CLI administrator can run the available commands.

dp login

This command enables you to log in to the DataPlane platform where the running Data Lifecycle Manager instance is available.

This command will also create a Knox token to be used for further calls to DataPlane/DLM app. The Knox token is valid for about two hours by default and shall be auto-renewed if the token has expired using the credentials in .dp_login file. The token file is stored in local filesystem where CLI is installed in the file <user home>/.dp_token.

Usage

dp login [command options] [arguments…]

Options

Name Description
-u Username for logging into Dataplane Platform
-p Dataplane user password
-url URL of Dataplane instance or endpoint

Example

dp login -u <dp user name> -p <user password> -url <dp endpoints>

Once successfully logged in, you can verify if .dp_cookie and .dp_login files are available in the local filesystem.

dp logout

This command enables you to log out of the DataPlane platform where the running Data Lifecycle Manager instance is available.

Usage

dp logout

Example

dp logout

Once successfully logged out, .dp_cookie and .dp_login files must not be available in the local filesystem.