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

# gable auth pip

Retrieve temporary credentials for Gable's Python package repository

## Usage

```bash theme={null}
gable auth pip [OPTIONS]
```

## Options

| Option           | Type    | Required | Default        | Description                                                                                                                                                                        |                                                                                                                 |
| ---------------- | ------- | -------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `-o`, `--output` | `conf`  | `json`   |                | conf                                                                                                                                                                               | Format of the output. Options are: conf (default), which you can echo directly into your pip.conf file, or json |
| `-w`, `--write`  | boolean |          | true           | If specified, writes credentials to \~/.gable/.env file. Default is True.                                                                                                          |                                                                                                                 |
| `-f`, `--file`   | text    |          | \~/.gable/.env | The file to write credentials to if --write flag is set. Default is \~/.gable/.env.                                                                                                |                                                                                                                 |
| `--endpoint`     | text    |          |                | Customer API endpoint for Gable, in the format [https://api.company.gable.ai/](https://api.company.gable.ai/). Can also be set with the GABLE\_API\_ENDPOINT environment variable. |                                                                                                                 |
| `--api-key`      | text    |          |                | API Key for Gable. Can also be set with the GABLE\_API\_KEY environment variable.                                                                                                  |                                                                                                                 |
