Sie sind auf Seite 1von 3

3/15/2020 Conjur CLI Setup | CyberArk Docs

Docs > Setup > Conjur CLI Setup

Conjur CLI Setup

The Conjur CLI implements the Conjur REST API, providing an


alternate interface for managing DAP resources, including
roles, privileges, policy, and secrets.

Start the Conjur CLI


You can start the Conjur CLI either as a Docker container or as
a Ruby gem.

Docker container
The following command starts a highly secure ephemeral
container for the CLI based on the latest pulled DockerHub
image.

Copy to clipboard $ docker run --rm -it --name


conjur-client --link <container-name>
cyberark/conjur-cli:5

Variable Description

<container- If local, use the name of the DAP Server.


name>
If you are running the Conjur CLI on a separate
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/Latest/en/Content/Tools/CLI_Install_CLI.htm?Highlight=Docker 1/3
3/15/2020 Conjur CLI Setup | CyberArk Docs
If you are running the Conjur CLI on a separate
Variable machine the --link argument is not required.
Description
To understand how to persist identity data so that subsequent
sessions are quicker to start up, see the CLI readme.

Ruby Gem
If you have a Ruby environment, you may choose to install the
Ruby gem. See the CLI readme .

Initialize the Conjur CLI


Enter the following command at the bash prompt:

Copy to clipboard conjur init --url <conjur-


appliance-hostname> --account
<organizational-account>

Variable Description

<conjur- The URL of the DAP Server in the following


appliance- format https://<host-name> .
hostname>

<organizational- The organizational account assigned to this


account> DAP Server during configuration.

Authenticate to the client


1. Enter the following command at the bash prompt:

Copy to clipboard conjur authn login <user-


name>
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/Latest/en/Content/Tools/CLI_Install_CLI.htm?Highlight=Docker 2/3
3/15/2020 Conjur CLI Setup | CyberArk Docs

Variable Description

<user- A valid DAP username. You can use the built-


name> in admin user.

2. Enter the user password when prompted.


3. For a list of valid commands, enter

Copy to clipboard conjur --help

or, see the Conjur CLI Reference.

EXPLORE CONNECT LEARN CONTACT


CYBERARK TECHNICAL COMMUNITY RESOURCES SEND US FEEDBACK

CYBERARK DOCS TUTORIALS SUPPORT

CONJUR OPEN SOURCE DOCS

FOLLOW US

Copyright © 1999-2020 CyberArk Software Ltd. All rights reserved. | Terms and Conditions | Privacy Policy | Acknowledgments | End of Life Policy

Build 4.2.6 [15 March 2020 11:34:57 AM]

https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/Latest/en/Content/Tools/CLI_Install_CLI.htm?Highlight=Docker 3/3

Das könnte Ihnen auch gefallen