- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on
02-28-2023
12:58 PM
- edited on
03-01-2023
08:02 AM
by
VidyaSargur
If you've ever wanted to automate CDP, the CDP CLI is the tool to use. Anything from pulling Virtual Warehouse details to spinning up a new Virtual Warehouse, the CDP CLI is a powerful tool. Not only Data Warehouse driven, the CDP CLI encompasses all pieces of CDP.
CML is an IDE for all things. Working on a project from within CML should be a simple and straightforward process. If you're creating an application that will interact with CDP in one way or another, the CDP CLI can be installed in less than sixty seconds. Once installed within your CML Project, you'll have the full power of the CDP CLI at your fingertips.
Step 1: Within your session launch the terminal access
Step 2: Within your session Terminal, type pip install cdpcli and click enter
pip install cdpcli
Step 3: Generate an API Access Key (if you don't already have one)
https://docs.cloudera.com/cdp-public-cloud/cloud/cli/topics/mc-cli-generating-an-api-access-key.html
You'll receive a cdp_access_key_id and cdp_private_key
Step 4: Within your session Terminal, type cdp configure
cdp configure
You'll input your CDP Access Key ID and CDP Private Key, you can leave the CDP Region [None] and CDP Endpoint URL [None]
That's it! Now you can run all the CDP CLI commands within your CML Project! As I said, you're done in sixty seconds!
Created on 03-01-2023 04:14 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Nice and Quick! Excellent!