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

# alterCredential

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

  <h2 className="memtitle"><span className="permalink"><a href="#a19066a22f5900356bc3548de446d3479">◆ </a></span>alterCredential() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> gpudb::GPUdb::alterCredential </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest">AlterCredentialRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alter the properties of an existing <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="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest">Request</a> 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"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ad9f46493013dfadf7407f4eb354c2471" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> & gpudb::GPUdb::alterCredential </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest">AlterCredentialRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alter the properties of an existing <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="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="adaa26ea985ede026372964285b8db9dc" />

  <h2 className="memtitle"><span className="permalink"><a href="#adaa26ea985ede026372964285b8db9dc">◆ </a></span>alterCredential() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> gpudb::GPUdb::alterCredential </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">credentialName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">credentialUpdatesMap</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alter the properties of an existing <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="paramdir">\[in]</td>
              <td className="paramname">credentialName</td>
              <td>Name of the credential to be altered. Must be an existing credential. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credentialUpdatesMap</td>

              <td>
                Map containing the properties of the credential to be updated. Error if empty.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#acbe58f4fbab362cc8dd4dc7b8ac626e4">alter\_credential\_type</a>: New type for the credential. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae67665ea5874ca7df26c5680efe4000c">alter\_credential\_aws\_access\_key</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab67b8cae15ecf35bb8b2fa65317e1a22">alter\_credential\_aws\_iam\_role</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aebc258c34bf76a0e4be4b61b2440d666">alter\_credential\_azure\_ad</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaa61269bb8fd21c529a03d88e3a5ac29">alter\_credential\_azure\_oauth</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1508ac782c4bd1df830ee4cf9aa8290b">alter\_credential\_azure\_sas</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aba09141c1f9dd528dbfb72354b0c29a6">alter\_credential\_azure\_storage\_key</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af7eeef1e95b631e703b20e3820dd2b63">alter\_credential\_docker</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa5e72fbc6fb943c44ab3adb277e65571">alter\_credential\_gcs\_service\_account\_id</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab02740e0e0b5476b34d5417721dd8d34">alter\_credential\_gcs\_service\_account\_keys</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a04eedf0337df007b400a5fe1e6ce09bf">alter\_credential\_hdfs</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a24e6eb6993d62427e64566f75a3995d4">alter\_credential\_kafka</a> </li>
                    </ul>
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac5f5b53121bae47344de94dc9ff9d5ea">alter\_credential\_identity</a>: New user for the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4b27737f5ba83040a2fe706038113112">alter\_credential\_secret</a>: New password for the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">alter\_credential\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">schema\_name</a> is empty, then the user's default schema will be used. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>Optional parameters.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ab10b0b8b3f630025364dba27f0f565ba" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab10b0b8b3f630025364dba27f0f565ba">◆ </a></span>alterCredential() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> & gpudb::GPUdb::alterCredential </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">credentialName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">credentialUpdatesMap</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">AlterCredentialResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alter the properties of an existing <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="paramdir">\[in]</td>
              <td className="paramname">credentialName</td>
              <td>Name of the credential to be altered. Must be an existing credential. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credentialUpdatesMap</td>

              <td>
                Map containing the properties of the credential to be updated. Error if empty.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#acbe58f4fbab362cc8dd4dc7b8ac626e4">alter\_credential\_type</a>: New type for the credential. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae67665ea5874ca7df26c5680efe4000c">alter\_credential\_aws\_access\_key</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab67b8cae15ecf35bb8b2fa65317e1a22">alter\_credential\_aws\_iam\_role</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aebc258c34bf76a0e4be4b61b2440d666">alter\_credential\_azure\_ad</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaa61269bb8fd21c529a03d88e3a5ac29">alter\_credential\_azure\_oauth</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1508ac782c4bd1df830ee4cf9aa8290b">alter\_credential\_azure\_sas</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aba09141c1f9dd528dbfb72354b0c29a6">alter\_credential\_azure\_storage\_key</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af7eeef1e95b631e703b20e3820dd2b63">alter\_credential\_docker</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa5e72fbc6fb943c44ab3adb277e65571">alter\_credential\_gcs\_service\_account\_id</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab02740e0e0b5476b34d5417721dd8d34">alter\_credential\_gcs\_service\_account\_keys</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a04eedf0337df007b400a5fe1e6ce09bf">alter\_credential\_hdfs</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a24e6eb6993d62427e64566f75a3995d4">alter\_credential\_kafka</a> </li>
                    </ul>
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac5f5b53121bae47344de94dc9ff9d5ea">alter\_credential\_identity</a>: New user for the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4b27737f5ba83040a2fe706038113112">alter\_credential\_secret</a>: New password for the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">alter\_credential\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a0d660e03d2141d2dafeeba4f825f99e5">schema\_name</a> is empty, then the user's default schema will be used. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>Optional parameters. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
