Skip to main content
Key commands:Run cone help in your terminal to show all available commands.Run cone <command> --help or cone <command> -h for help with a specific command.

Overview

Cone interacts with the C1 API to manage access to entitlements. Usage:

Global flags

To see Cone’s current version number, run cone --version or cone -v.

AWS

AWS SSO integration commands. Cone can configure AWS CLI profiles backed by C1 access controls and fetch temporary credentials via AWS SSO. For a full walkthrough, see Using Cone with AWS SSO. Usage:

setup

Scans C1 for all AWS permission set entitlements available to you and creates corresponding profiles in ~/.aws/config. Each profile uses credential_process to call cone aws credentials when the AWS CLI needs credentials. On first run, provide your SSO start URL and regions. These are saved to ~/.conductorone/config.yaml for future runs. Usage:
Example:

setup show

Display current AWS SSO configuration (SSO URL, SSO region, default region).

credentials

Retrieve temporary AWS credentials for an AWS SSO profile managed by Cone. This command checks C1 for an active grant. If you don’t have access, it automatically submits an access request, polls for up to 90 seconds for auto-approval, and returns credentials if approved. If the request requires manual approval, it tells you the request is pending. Can be used directly or as an AWS credential_process. Usage:
Example:

Completion

Generate the autocompletion script for cone for the specified shell. Usage:

bash

Generate the autocompletion script for Bash. Usage:
This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your operating system’s package manager. To load completions in your current shell session: source <(cone completion bash) To load completions for every new session, execute once: For Linux: cone completion bash > /etc/bash_completion.d/cone For macOS: cone completion bash > $(brew --prefix)/etc/bash_completion.d/cone You will need to start a new shell for this setup to take effect.

fish

Generate the autocompletion script for Fish. Usage:
To load completions in your current shell session: cone completion fish | source To load completions for every new session, execute once: cone completion fish > ~/.config/fish/completions/cone.fish You will need to start a new shell for this setup to take effect.

powershell

Generate the autocompletion script for PowerShell. Usage:
To load completions in your current shell session: cone completion powershell | Out-String | Invoke-Expression To load completions for every new session, add the output of the above command to your PowerShell profile.

zsh

Generate the autocompletion script for Zsh. Usage:
If shell completion is not already enabled in your environment you must enable it. You can execute the following once: echo "autoload -U compinit; compinit" >> ~/.zshrc To load completions in your current shell session: source <(cone completion zsh) To load completions for every new session, execute once: For Linux: cone completion zsh > "${fpath[1]}/_cone" For macOS: cone completion zsh > $(brew --prefix)/share/zsh/site-functions/\_cone You will need to start a new shell for this setup to take effect.

Drop

Create a revoke access ticket for an entitlement by alias. Usage:

Generate-alias

Generate aliases for entitlements in C1. This command scans entitlements, generates aliases based on a configurable schema, and updates them via the C1 API. Usage:
Schemas: Examples:

Get

Create an access request for an entitlement by alias. Some entitlements may require custom form fields to be filled out when making an access request. If form fields are required, you will be prompted interactively to provide them, or you can provide them via the --form-data flag as JSON. See Custom form fields for more details. Usage:

Custom form fields

Some entitlements are configured with custom form fields that must be filled out when requesting access. These fields allow administrators to collect additional information needed for the access request, such as a reason, project name, or other context-specific data. Interactive mode: When you run cone get without providing form data and the entitlement requires custom fields, Cone will interactively prompt you to enter values for each field. Fields may have default values that you can accept or override. Non-interactive mode: When using the -i or --non-interactive flag, you must provide all required form field values using the --form-data flag. Any fields with default values will automatically use those defaults if not explicitly provided. Providing form data via flag: Use the --form-data flag to provide form field values as a JSON object:
Supported field types:
  • String fields: Text values, may have validation rules for minimum/maximum length
  • Boolean fields: true or false values
  • Integer fields: Numeric values, may have validation rules for min/max values
  • String list fields: Arrays of string values, provided as JSON arrays (e.g., ["value1","value2"])
Example with form data:

Get-user

Get a user by ID. Usage:

Has

Check if the current user has a specific entitlement for an app. Usage:

Help

Help provides help for any CLI command. Type cone help [path to command] for full details. Usage:

Login

Authenticate to C1, creating the config.yaml file if it doesn’t exist. Usage:
Usage:

Task

A group of commands related to interacting with tasks directly. Usage:

approve

Mark a task as approved. Usage:

comment

Adds the specified comment to a task. Usage:

deny

Mark a task as denied. Usage:

escalate

Escalate an access request task to emergency access. Usage:

get

Gets a task by ID. Usage:

search

Search for tasks using various filters. Usage:

Virtual-entitlements

Create virtual (manually-managed) resource types, resources, and entitlements on a C1 app. Usage:

create

Create virtual entitlements on an app. You can specify resources and entitlements via CLI flags or a YAML file. Usage:
YAML file format:

Whoami

Information about the current user. Usage: