Highlighted

Setting Up Adobe I/O CLI for Cloud Manager | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

21-09-2020

BlogImage.jpg

Setting Up Adobe I/O CLI for Cloud Manager by Adobe Tech Blog

Abstract

If you are an Adobe Managed Service (AMS) customer, this Cloud Manager plugin for Adobe I/O CLI will come in very handy to interact with the same underlying capabilities exposed through the web UI in a fully programmatic fashion. It also enables you with some additional capabilities like setting up pipeline variables, environment variables, cancel running pipelines etc. With the release of Authenticated Performance Testing support in cloud manager, setting up Adobe I/O CLI is a prerequisite in a order to use this feature.

An integration must be created in the Adobe I/O Console which has the Cloud Manager service. This is the layer which handles the authentication.
Below are the step by step instructions on setting up Adobe I/O CLI cloud manager plugin from scratch.

Setting up your workstation
* Install Node.js

Ensure Node.js is installed (Node.js 10.0+) as Adobe I/O CLI is an npm module. Below is how you can install Node.js using Homebrew:
1. Open your Terminal/Command Prompt
2. Execute the command: brew install node
3. Verify Node.js is installed, using the command: node -v
4. Verify npm is installed, using the command: npm -v

For Windows, download and install Node.js from the link directly.
* Install Adobe I/O CLI
$ npm install -g @adobe/aio-cli
$ aio (-v|--version|version)
@adobe/aio-cli/3.7.0 darwin-x64 node-v12.18.0
$ aio --help [COMMAND]
USAGE
$ aio COMMAND
...
The complete list of aio cli commands can be found here.
* Install Cloud Manager plugin for Adobe I/O
$ aio plugins:install @adobe/aio-cli-plugin-cloudmanager
$ aio plugins:update
Setup the Adobe I/O CLI authentication

In order for the Adobe I/O CLI to communicate with Cloud Manager, a Cloud Manager integration must be created in Adobe I/O Console, and credentials must be obtained to successfully authenticate.

Read Full Blog

Setting Up Adobe I/O CLI for Cloud Manager

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager