Skip to main content

Usage

anaconda repo admin [--set <NAME> <VALUE>] [--get <NAME>] [--show] [--ident_enabled | --ident_disabled] [--ident-enforce-date <DATE>] [--ident_tokens <TOKENS>]
Replace <NAME> and <VALUE> with the setting name and value (for —set).
Replace <NAME> with the setting name (for —get).
Replace <DATE> with the date from when Anaconda Ident is mandatory.
Replace <TOKENS> with a comma-separated list of token types for Anaconda Ident.

Description

Manages Package Security Manager (PSM) admin settings. Requires administrator privileges. Use it to get/set server settings, show all variables, and configure Anaconda Ident (enable/disable, enforce date, token types).

Options

Option
Default
Description
--set <NAME> <VALUE>
Set a server setting (can be repeated)
--get <NAME>
Get a setting value by name
--show
Show all variables
--ident_enabled
Enable Anaconda Ident
--ident_disabled
Disable Anaconda Ident
--ident-enforce-date <DATE>
Set date from when conda ident is mandatory
--ident_tokens <TOKENS>
Comma-separated list of token types for Anaconda Ident. Values: client_token, session_token, environment_token, username, hostname, environment, organization
-h, --help
Show help for this command

Examples

Show all admin settings
anaconda repo admin --show
Get a specific setting
anaconda repo admin --get setting_name
Set a server setting
anaconda repo admin --set setting_name value
Enable Anaconda Ident
anaconda repo admin --ident_enabled