> ## 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.

# createCredential

<div className="kinetica-doxygen">
  <div id="ab85b0170943d934bb0e67d1b49c54f06" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab85b0170943d934bb0e67d1b49c54f06">◆ </a></span>createCredential() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialResponse">CreateCredentialResponse</a> kinetica.Kinetica.createCredential </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialRequest">CreateCredentialRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Create a new <a href="/content/concepts/credentials/" target="_top">credential</a>. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L17881">17881</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a16e295e2940aa56d0cc4cadef3c3b3d9" />

  <h2 className="memtitle"><span className="permalink"><a href="#a16e295e2940aa56d0cc4cadef3c3b3d9">◆ </a></span>createCredential() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialResponse">CreateCredentialResponse</a> kinetica.Kinetica.createCredential </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">credential\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">type</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">identity</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">secret</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Create a new <a href="/content/concepts/credentials/" target="_top">credential</a>. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">credential\_name</td>
              <td>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.</td>
            </tr>

            <tr>
              <td className="paramname">type</td>

              <td>
                Type of the credential to be created. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#afc0dc024e4b12232822238b48ab1467d">AWS\_ACCESS\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a226ca52823e5aea133d7974098d2c646">AWS\_IAM\_ROLE</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab03b3b0d65b16b21ad983aba2217ccd5">AZURE\_AD</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a22c2130135ef15bfc29df36b31c936d3">AZURE\_OAUTH</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a49d0444ddc5af7e753e15ab28dadbae2">AZURE\_SAS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#af18da18d3f04b0bcb9f07da65675cf1f">AZURE\_STORAGE\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a9c45ba681a8599b5030b07c1799f4045">CONFLUENT</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab4dd9a20c7a59248c7d2d98d883703cc">DOCKER</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a17b013287aa709e16c62e3ea9134edb2">GCS\_SERVICE\_ACCOUNT\_ID</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a56510eddf31efc89a28982f0d6b1015e">GCS\_SERVICE\_ACCOUNT\_KEYS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab3cb7cfa243120265f65710cdc8c9b18">HDFS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a275ae8dcb1359705009d45ccaccbeb80">JDBC</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a3bb55d9df24cc68837666dcd98c75dd2">KAFKA</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#aa47ff09d908dcbf3fb9f6218b62864ad">NVIDIA\_API\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a84f03658108036bcb04d019a89f8bd1c">OPENAI\_API\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a5e64c9995120ff1cce51561a88bc4b40">REST</a> </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">identity</td>
              <td>User of the credential to be created.</td>
            </tr>

            <tr>
              <td className="paramname">secret</td>
              <td>Password of the credential to be created.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L17996">17996</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a5519dcbbb1489865a4c3ebf987202cdf" />

  <h2 className="memtitle"><span className="permalink"><a href="#a5519dcbbb1489865a4c3ebf987202cdf">◆ </a></span>CreateCredentialAsync() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialResponse">CreateCredentialResponse</a> > kinetica.Kinetica.CreateCredentialAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialRequest">CreateCredentialRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Create a new <a href="/content/concepts/credentials/" target="_top">credential</a>. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L17897">17897</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a4b692360263c57d965d4a1af0fac36fa" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4b692360263c57d965d4a1af0fac36fa">◆ </a></span>CreateCredentialAsync() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1CreateCredentialResponse">CreateCredentialResponse</a> > kinetica.Kinetica.CreateCredentialAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">credential\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">type</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">identity</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">secret</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Create a new <a href="/content/concepts/credentials/" target="_top">credential</a>. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">credential\_name</td>
              <td>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.</td>
            </tr>

            <tr>
              <td className="paramname">type</td>

              <td>
                Type of the credential to be created. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#afc0dc024e4b12232822238b48ab1467d">AWS\_ACCESS\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a226ca52823e5aea133d7974098d2c646">AWS\_IAM\_ROLE</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab03b3b0d65b16b21ad983aba2217ccd5">AZURE\_AD</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a22c2130135ef15bfc29df36b31c936d3">AZURE\_OAUTH</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a49d0444ddc5af7e753e15ab28dadbae2">AZURE\_SAS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#af18da18d3f04b0bcb9f07da65675cf1f">AZURE\_STORAGE\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a9c45ba681a8599b5030b07c1799f4045">CONFLUENT</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab4dd9a20c7a59248c7d2d98d883703cc">DOCKER</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a17b013287aa709e16c62e3ea9134edb2">GCS\_SERVICE\_ACCOUNT\_ID</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a56510eddf31efc89a28982f0d6b1015e">GCS\_SERVICE\_ACCOUNT\_KEYS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#ab3cb7cfa243120265f65710cdc8c9b18">HDFS</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a275ae8dcb1359705009d45ccaccbeb80">JDBC</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a3bb55d9df24cc68837666dcd98c75dd2">KAFKA</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#aa47ff09d908dcbf3fb9f6218b62864ad">NVIDIA\_API\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a84f03658108036bcb04d019a89f8bd1c">OPENAI\_API\_KEY</a> </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1CreateCredentialRequest_1_1Type#a5e64c9995120ff1cce51561a88bc4b40">REST</a> </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">identity</td>
              <td>User of the credential to be created.</td>
            </tr>

            <tr>
              <td className="paramname">secret</td>
              <td>Password of the credential to be created.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L18099">18099</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
