---
url: https://relizy.dev/typedoc/interfaces/TokensConfig.md
---
[relizy](../index.md) / TokensConfig

# Interface: TokensConfig

Defined in: [packages/relizy/src/types.ts:1977](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1977)

API tokens configuration

## Properties

### ai?

> `optional` **ai?**: `object`

Defined in: [packages/relizy/src/types.ts:2012](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L2012)

AI provider credentials

#### claude-code?

> `optional` **claude-code?**: `object`

##### claude-code.apiKey?

> `optional` **apiKey?**: `string`

##### claude-code.oauthToken?

> `optional` **oauthToken?**: `string`

***

### github?

> `optional` **github?**: `string`

Defined in: [packages/relizy/src/types.ts:1987](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1987)

GitHub token for creating releases
Environment variables, in this order: RELIZY_GITHUB_TOKEN, GITHUB_TOKEN, GH_TOKEN

***

### gitlab?

> `optional` **gitlab?**: `string`

Defined in: [packages/relizy/src/types.ts:1992](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1992)

GitLab token for creating releases
Environment variables, in this order: RELIZY_GITLAB_TOKEN, GITLAB_TOKEN, GITLAB_API_TOKEN, CI_JOB_TOKEN

***

### registry?

> `optional` **registry?**: `string`

Defined in: [packages/relizy/src/types.ts:1982](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1982)

Registry token for publishing
Environment variables, in this order: RELIZY_NPM_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN

***

### slack?

> `optional` **slack?**: `string`

Defined in: [packages/relizy/src/types.ts:2008](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L2008)

Slack bot token for posting messages
Environment variables, in this order: RELIZY_SLACK_TOKEN, SLACK_TOKEN

***

### twitter?

> `optional` **twitter?**: `object`

Defined in: [packages/relizy/src/types.ts:1998](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1998)

Twitter API credentials for posting tweets
Environment variables: RELIZY_TWITTER_API_KEY, then TWITTER_API_KEY, and the same for
API_KEY_SECRET, ACCESS_TOKEN and ACCESS_TOKEN_SECRET

#### accessToken?

> `optional` **accessToken?**: `string`

#### accessTokenSecret?

> `optional` **accessTokenSecret?**: `string`

#### apiKey?

> `optional` **apiKey?**: `string`

#### apiKeySecret?

> `optional` **apiKeySecret?**: `string`
