---
title: "Driver Config"
description: "Optimize cloud authentication with efficient driver config caching and automatic access token renewal. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/developers/app-server/services/driver-config"
---

# Driver Config

Service that connects to the Cloud CMS API to authenticate on behalf of a logged in user. A driver config cache is retained for efficiency as well as to assist with automatic re-acquisition of access tokens when they expire.

The `gitanaConfig` variable is appended to the `req` object once this service completes.

## Configuration

```
{
    "driverConfig": {
        "enabled": true
    }
}
```
