# Interface: DatabaseCredential

Database credentials with OAuth token for Postgres connection

## Properties[​](#properties "Direct link to Properties")

### expire\_time[​](#expire_time "Direct link to expire_time")

```ts
expire_time: string;

```

Token expiration time in UTC (ISO 8601 format) Tokens expire after 1 hour from generation

#### Example[​](#example "Direct link to Example")

```ts
"2026-02-06T17:07:00Z"

```

***

### token[​](#token "Direct link to token")

```ts
token: string;

```

OAuth token to use as the password when connecting to Postgres
