Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar

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

lanch_terminal_access.png

 

 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!

cdp_cli_in_sixty_seconds.jpeg

2,562 Views
Comments
avatar

Nice and Quick!  Excellent!

Version history
Last update:
‎04-21-2026 12:43 AM
Updated by: