Edit in GitHubLog an issue

CLI and SDKs

In addition to direct HTTP usage of the Cloud Manager API, there are open source tools and libraries built on top of the API which can be used in integration projects. In addition to being directly usable, they are also good examples of how to use the API. More detailed information can be found on each respective project's website.

Note that many of these require that an API Integration Project to be created in the Adobe Developer Console before use.

Command Line Interface

The Cloud Manager CLI is a plugin for the general-purpose Adobe I/O CLI (referred to as aio). The CLI can be used in both direct usage and within shell scripts.

Example Usage

Copied to your clipboard
$ aio cloudmanager:list-programs

Node.js SDK

The Cloud Manager Node.js SDK is used inside the Command Line Interface, but is also independently usable for other Node.js applications, e.g. in Adobe App Builder or Electron applications.

Example Usage

Copied to your clipboard
const client = await sdk.init('orgId', 'x-api-key', 'valid auth token')
const programs = await client.listPrograms()

Java SDK

The Cloud Manager Java SDK provides a Java interface on top of the Cloud Manager API and enables integration in JVM-based applications.

Example Usage

Copied to your clipboard
CloudManagerApi api = new CloudManagerApiImpl("orgId", "x-api-key", "valid auth token");
List<EmbeddedProgram> client.listPrograms();

GitHub Actions

The Node.js SDK is wrapped into a GitHub Action for cases when it is appropriate to create a pipeline execution as a step in a GitHub Action-based workflow.

Example Usage

Copied to your clipboard
- name: Create Execution
uses: adobe/aio-cloudmanager-create-execution-action@v1.0.5
with:
CLIENTID: ${{ secrets.CM_CLIENT_ID }}
CLIENTSECRET: ${{ secrets.CM_CLIENT_SECRET }}
TECHNICALACCOUNTID: ${{ secrets.CM_TA_EMAIL }}
IMSORGID: ${{ secrets.CM_ORG_ID }}
KEY: ${{ secrets.CM_PRIVATE_KEY }}
PIPELINEID: ${{ secrets.CM_PIPELINE_ID }}
PROGRAMID: ${{ secrets.CM_PROGRAM_ID }}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.