# Pricing API

**Environment Variables**

These are the environment variables used by the application:

|    | Variable                     | Required                                       | Default | Description                                                                                   |
| -- | ---------------------------- | ---------------------------------------------- | ------- | --------------------------------------------------------------------------------------------- |
| 1  | POSTGRES\_DB                 | Yes                                            |         |                                                                                               |
| 2  | POSTGRES\_USER               | Yes                                            |         |                                                                                               |
| 3  | POSTGRES\_PASSWORD           | Yes                                            |         |                                                                                               |
| 4  | POSTGRES\_HOST               | Yes                                            |         |                                                                                               |
| 5  | POSTGRES\_PORT               | No                                             | 5432    |                                                                                               |
| 6  | PRICING\_API\_KEY            | Yes                                            |         | API key used for authorization                                                                |
| 7  | GOOGLE\_API\_KEY             | If pricing mode is 'all' or includes 'gcp'     |         |                                                                                               |
| 8  | ENV                          | No                                             |         | Options: `production`, `development`, `test`                                                  |
| 9  | BILLING\_ENCRYPT\_PASS       | No                                             |         | For en-/decrypting billing integration data                                                   |
| 10 | BILLING\_ENCRYPT\_SALT       | No                                             |         | For en-/decrypting billing integration data                                                   |
| 11 | PRICING\_API\_MODE           | No                                             | `all`   | `all`, `disable`, any number of \[`gcp`, `azure`, `aws`, `custom`, `alibaba`] comma-separated |
| 12 | ALIBABA\_ACCESS\_KEY\_ID     | If pricing mode is 'all' or includes 'alibaba' |         | Specifies the Access Key for the associated Alibaba account                                   |
| 13 | ALIBABA\_SECRET\_ACCESS\_KEY | If pricing mode is 'all' or includes 'alibaba' |         | Specifies the Secret Key for the associated Alibaba account                                   |
