Difficulty: Beginner
Estimated Time: 15-30 mins

In this scenario, we will communicate with CyberArk Conjur using REST API calls.

Cool! You have learnt how to communicate with CyberArk Conjur using REST API

Conjur REST API

Step 1 of 4

Install Conjur

Let's set up the environment

Client

We will use curl as the HTTPS client to communicate with CyberArk Conjur using REST API calls.

To verify, we can display its usage by curl --help

Server

We will install a Conjur OSS environment as the server. It will take a few moments.

wget https://raw.githubusercontent.com/QuincyChengAtWork/katacoda-scenarios/master/conjur-rest-api-v5/assets/setupConjur.sh
wget https://raw.githubusercontent.com/QuincyChengAtWork/katacoda-scenarios/master/conjur-rest-api-v5/assets/showSettings.sh
chmod +x *.sh
source ./setupConjur.sh https://[[HOST_SUBDOMAIN]]-8080-[[KATACODA_HOST]].environments.katacoda.com/

In the end of the installation, an admin account will be created and the API key for admin will be displayed. For demo purpose, we will keep it in conjur_admin environment variable. In production, please keep it safe.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]