> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# anaconda repo admin

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

## Usage

```bash theme={null}
anaconda repo admin [OPTIONS]
```

## Description

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

## Options

<GTable cols="25% 25% 50%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--set <NAME> <VALUE>`</GCell>

      <GCell />

      <GCell>Set a server setting (can be repeated)</GCell>
    </GRow>

    <GRow>
      <GCell>`--get <NAME>`</GCell>

      <GCell />

      <GCell>Get a setting value by name</GCell>
    </GRow>

    <GRow>
      <GCell>`--show`</GCell>

      <GCell />

      <GCell>Show all variables</GCell>
    </GRow>

    <GRow>
      <GCell>`--ident_enabled`</GCell>

      <GCell />

      <GCell>Enable Anaconda Ident</GCell>
    </GRow>

    <GRow>
      <GCell>`--ident_disabled`</GCell>

      <GCell />

      <GCell>Disable Anaconda Ident</GCell>
    </GRow>

    <GRow>
      <GCell>`--ident-enforce-date <DATE>`</GCell>

      <GCell />

      <GCell>Set date from when conda ident is mandatory</GCell>
    </GRow>

    <GRow>
      <GCell>`--ident_tokens <TOKENS>`</GCell>

      <GCell />

      <GCell>Comma-separated list of token types for Anaconda Ident. Values: `client_token`, `session_token`, `environment_token`, `username`, `hostname`, `environment`, `organization`</GCell>
    </GRow>

    <GRow>
      <GCell>`-h, --help`</GCell>

      <GCell />

      <GCell>Show help for this command</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Show all admin settings**

```bash theme={null}
anaconda repo admin --show
```

**Get a specific setting**

```bash theme={null}
anaconda repo admin --get setting_name
```

**Set a server setting**

```bash theme={null}
anaconda repo admin --set setting_name value
```

**Enable Anaconda Ident**

```bash theme={null}
anaconda repo admin --ident_enabled
```
