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

# CreateCredentialRequest

> CreateCredentialRequest — Kinetica JavaScript API

interface CreateCredentialRequest \{\
&#x20;[credential\_name](#credential_name): string;\
&#x20;[identity](#identity): string;\
&#x20;[options](#options)?: Record\<string, string>;\
&#x20;[secret](#secret): string;\
&#x20;[type](#type): string;\
}

<ul>
  <li>Defined in [src/types.ts:1490](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1490)</li>
</ul>

##### Index

### Properties

[credential\_name](#credential_name) [identity](#identity) [options?](#options) [secret](#secret) [type](#type)&#x20;

## Properties

### credential\_name

credential\_name: string

Name of the credential to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match an existing credential name.

<ul>
  <li>Defined in [src/types.ts:1492](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1492)</li>
</ul>

### identity

identity: string

User of the credential to be created.

<ul>
  <li>Defined in [src/types.ts:1496](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1496)</li>
</ul>

### `Optional`options

options?: Record\<string, string>

Optional parameters.

<ul>
  <li>Defined in [src/types.ts:1500](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1500)</li>
</ul>

### secret

secret: string

Password of the credential to be created.

<ul>
  <li>Defined in [src/types.ts:1498](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1498)</li>
</ul>

### type

type: string

Type of the credential to be created.

<ul>
  <li>Defined in [src/types.ts:1494](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1494)</li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.