> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Axios

## Interfaces

### AuthInterceptorOptions

Defined in: [hooks/axios/withAuth.ts:10](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L10)

#### Properties

##### apiKeyId

```ts theme={null}
apiKeyId: string;
```

Defined in: [hooks/axios/withAuth.ts:18](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L18)

The API key ID

Examples:
'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
'organizations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apiKeys/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

##### apiKeySecret

```ts theme={null}
apiKeySecret: string;
```

Defined in: [hooks/axios/withAuth.ts:27](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L27)

The API key secret

Examples:
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==' (Edwards key (Ed25519))
'-----BEGIN EC PRIVATE KEY-----\n...\n...\n...==\n-----END EC PRIVATE KEY-----\n' (EC key (ES256))

##### walletSecret?

```ts theme={null}
optional walletSecret: string;
```

Defined in: [hooks/axios/withAuth.ts:30](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L30)

The Wallet Secret

##### source?

```ts theme={null}
optional source: string;
```

Defined in: [hooks/axios/withAuth.ts:33](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L33)

The source of the request

##### sourceVersion?

```ts theme={null}
optional sourceVersion: string;
```

Defined in: [hooks/axios/withAuth.ts:36](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L36)

The version of the source of the request

##### expiresIn?

```ts theme={null}
optional expiresIn: number;
```

Defined in: [hooks/axios/withAuth.ts:39](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L39)

Optional expiration time in seconds (defaults to 120)

##### debug?

```ts theme={null}
optional debug: boolean;
```

Defined in: [hooks/axios/withAuth.ts:42](https://github.com/coinbase/cdp-sdk/blob/59b6f4f714b6e359fb2390fa1df724c8c5419568/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L42)

Whether to log request/response details

## Functions

* [withAuth](/sdks/cdp-sdks-v2/typescript/auth/Axios/withAuth)
