Skip to content

camunda-community-hub/camunda-cloud-go-client

Repository files navigation

Community ExtensionLifecyce: UnmaintainedLifecycle: Needs Maintainer Compatible with: Camunda Platform 8

Camunda Platform 8 Console CLI and Go Client Library

Camunda Platform 8 Console CLI to interact with Camunda Platform 8 Resources.

This repository contains a CLI tool to interact with your Camunda Platform 8 account via the command-line.

This CLI interacts with the Camudna Cloud Management REST API.

This repository also contains a Go Library client to consume the Camunda Platform 8 Management REST APIs from other Go programs.

Usage

asciicast

You can create a Camunda Platform 8 Account here: https://accounts.cloud.camunda.io/signup

Then you need to go to <YOUR USER>(Top right corner) -> Organization Settings -> Cloud Management API and Create a new client. You need to copy and save the Client Id and the Secret Id from that client.

You need to export the following variables for this command to interact with a Camunda Platform 8 Account:

  • export CC_CLIENT_ID=<YOUR CLIENT ID>
  • export CC_CLIENT_SECRET=<YOUR CLIENT SECRET>

Available Commands:

List all clusters cc-ctl clusters get --all

Get cluster from id cc-ctl clusters get --id <cluster_id>

Get cluster from name cc-ctl clusters get --name <cluster_name>

Delete cluster from id cc-ctl clusters delete --id <cluster_id>

Delete cluster from name cc-ctl clusters delete --name <cluster_name>

Create cluster from default configuration cc-ctl clusters create --default --name <cluster_name>

Feedback / Contribute back

This is a super simple project for you to contribute. Feel free to create issues or send PRs with improvements.

Consumers: