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

# configure

> Configure rscli credentials and settings

Configure rscli credentials and settings

### Synopsis

Configure rscli credentials and settings.

rscli can be configured using environment variables or a config file.

## Environment Variables

| Variable       | Description                                                            |
| -------------- | ---------------------------------------------------------------------- |
| RS\_SECRET\_ID | Your Reysys API secret ID (required)                                   |
| RS\_SECRET     | Your Reysys API secret (required)                                      |
| RS\_BASE\_URL  | API base URL (default: [http://localhost:9670](http://localhost:9670)) |

## Config File

Create a config file at \~/.reysys/config.yaml or ./config.yaml:

```yaml theme={null}
secret_id: your-secret-id
secret: your-secret
base_url: https://api.reysys.com
```

## Priority

Environment variables take precedence over config file values.

## Example

```shell theme={null}
# Using environment variables
export RS_SECRET_ID=my-id
export RS_SECRET=my-secret
rscli account get-account-information

# Using config file
mkdir -p ~/.reysys
cat > ~/.reysys/config.yaml << EOF
secret_id: my-id
secret: my-secret
EOF
rscli account get-account-information
```

```
rscli configure [flags]
```

### Options

```
  -h, --help   help for configure
```
