This guide provides instructions for installing, configuring, and using the roxctl
command-line interface (CLI) for Alauda Container Security. The CLI is available for Linux, macOS, Windows, and as a container image.
Supported architectures:
amd64
,arm64
,ppc64le
,s390x
Steps:
Determine your architecture:
Download the binary form the Portal:
Make it executable:
(Optional) Move to a directory in your PATH
:
Supported architectures:
amd64
,arm64
Steps:
Determine your architecture:
Download the binary form the Portal:
Remove extended attributes:
Make it executable:
(Optional) Move to a directory in your PATH
:
Supported architecture:
amd64
Steps:
Download the binary form the Portal:
(Optional) Add the directory containing roxctl.exe
to your system PATH
.
Verify the installation:
After installation, verify your roxctl
version:
Before using roxctl
, set the required environment variables:
If you use an API token for authentication:
Alternatively, you can use the --token-file
option:
Note:
--password
and --token-file
options at the same time.ROX_API_TOKEN
and --token-file
are set, the CLI uses the token file.ROX_API_TOKEN
and --password
are set, the CLI uses the password.You can authenticate using an API token, administrator password (for testing only), or via the roxctl central login
command.
API tokens are recommended for production and automation scenarios. They provide specific access permissions and are valid for up to one year.
To generate an API token:
To use the token:
To view your current authentication status and user profile:
Example output:
Review the output to ensure your authentication and permissions are correct.