Configuring the Data Lake Command Line Interface

This section explains how to configure settings that the Data Lake Command Line Interface uses when interacting with your Data Lake, such as your security credentials and the Data Lake API endpoint.

Environment Variables

The following variables are required to be configured for the Data Lake CLI:

DATALAKE_ENDPOINT_HOST - The hostname of the Data Lake API.

DATALAKE_ACCESS_KEY - Data Lake access key.

DATALAKE_SECRET_ACCESS_KEY - Data Lake secret access key.

The values for each of these environment variables can be located on your Profile in the Data Lake management console. For more information on obtaining this information, see Getting Set Up with the Data Lake Command Line Interface.

The following example shows how you would configure environment variables for your user.

Linux or OS X

$ export DATALAKE_ENDPOINT_HOST=samplek19ruh.execute-api.us-east-1.amazonaws.com
$ export DATALAKE_ACCESS_KEY=SJxiA_EXAMPLEKEY
$ export DATALAKE_SECRET_ACCESS_KEY=f10e347df150638393502dEXAMPLEKEY

Windows

$ setx DATALAKE_ENDPOINT_HOST samplek19ruh.execute-api.us-east-1.amazonaws.com
$ setx DATALAKE_ACCESS_KEY SJxiA_EXAMPLEKEY
$ setx DATALAKE_SECRET_ACCESS_KEY f10e347df150638393502dEXAMPLEKEY