+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DataSourceSettings"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## DataSourceSettings interface
Data Source instance edit model. This is returned from: /api/datasources
Signature
```typescript
export interface DataSourceSettings
```
Import
```typescript
import { DataSourceSettings } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [access](#access-property) | string
| |
| [basicAuth](#basicauth-property) | boolean
| |
| [basicAuthPassword](#basicauthpassword-property) | string
| |
| [basicAuthUser](#basicauthuser-property) | string
| |
| [database](#database-property) | string
| |
| [id](#id-property) | number
| |
| [isDefault](#isdefault-property) | boolean
| |
| [jsonData](#jsondata-property) | T
| |
| [name](#name-property) | string
| |
| [orgId](#orgid-property) | number
| |
| [password](#password-property) | string
| |
| [readOnly](#readonly-property) | boolean
| |
| [secureJsonData](#securejsondata-property) | S
| |
| [secureJsonFields](#securejsonfields-property) | KeyValue<boolean>
| |
| [type](#type-property) | string
| |
| [typeLogoUrl](#typelogourl-property) | string
| |
| [url](#url-property) | string
| |
| [user](#user-property) | string
| |
| [version](#version-property) | number
| |
| [withCredentials](#withcredentials-property) | boolean
| |
### access property
Signature
```typescript
access: string;
```
### basicAuth property
Signature
```typescript
basicAuth: boolean;
```
### basicAuthPassword property
Signature
```typescript
basicAuthPassword: string;
```
### basicAuthUser property
Signature
```typescript
basicAuthUser: string;
```
### database property
Signature
```typescript
database: string;
```
### id property
Signature
```typescript
id: number;
```
### isDefault property
Signature
```typescript
isDefault: boolean;
```
### jsonData property
Signature
```typescript
jsonData: T;
```
### name property
Signature
```typescript
name: string;
```
### orgId property
Signature
```typescript
orgId: number;
```
### password property
Signature
```typescript
password: string;
```
### readOnly property
Signature
```typescript
readOnly: boolean;
```
### secureJsonData property
Signature
```typescript
secureJsonData?: S;
```
### secureJsonFields property
Signature
```typescript
secureJsonFields?: KeyValue;
```
### type property
Signature
```typescript
type: string;
```
### typeLogoUrl property
Signature
```typescript
typeLogoUrl: string;
```
### url property
Signature
```typescript
url: string;
```
### user property
Signature
```typescript
user: string;
```
### version property
Signature
```typescript
version?: number;
```
### withCredentials property
Signature
```typescript
withCredentials: boolean;
```