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

# gpudb::AlterCredentialRequest

> gpudb::AlterCredentialRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a19066a22f5900356bc3548de446d3479">GPUdb::alterCredential</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/alter__credential_8h_source">gpudb/protocol/alter\_credential.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:ab88f56d896e75c4939ad59e21caba154" id="r_ab88f56d896e75c4939ad59e21caba154">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ab88f56d896e75c4939ad59e21caba154">AlterCredentialRequest</a> ()</td>
      </tr>

      <tr className="memdesc:ab88f56d896e75c4939ad59e21caba154">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest" title="A set of parameters for GPUdb::alterCredential.">AlterCredentialRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:ab88f56d896e75c4939ad59e21caba154">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a0822274f6a98b227a96625ed72304c55" id="r_a0822274f6a98b227a96625ed72304c55">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a0822274f6a98b227a96625ed72304c55">AlterCredentialRequest</a> (const std::string \&credentialName\_, const std::map\< std::string, std::string > \&credentialUpdatesMap\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a0822274f6a98b227a96625ed72304c55">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest" title="A set of parameters for GPUdb::alterCredential.">AlterCredentialRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a0822274f6a98b227a96625ed72304c55">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:ae55f43d173a5a61409b3219564f7e871" id="r_ae55f43d173a5a61409b3219564f7e871">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ae55f43d173a5a61409b3219564f7e871">credentialName</a></td>
      </tr>

      <tr className="memdesc:ae55f43d173a5a61409b3219564f7e871">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the credential to be altered. <br /></td>
      </tr>

      <tr className="separator:ae55f43d173a5a61409b3219564f7e871">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a71f7583e3c59ae21500a6dcc71833899" id="r_a71f7583e3c59ae21500a6dcc71833899">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a71f7583e3c59ae21500a6dcc71833899">credentialUpdatesMap</a></td>
      </tr>

      <tr className="memdesc:a71f7583e3c59ae21500a6dcc71833899">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Map containing the properties of the credential to be updated. <br /></td>
      </tr>

      <tr className="separator:a71f7583e3c59ae21500a6dcc71833899">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a4d8621b8b982226db6fdabda89de3e96" id="r_a4d8621b8b982226db6fdabda89de3e96">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4d8621b8b982226db6fdabda89de3e96">options</a></td>
      </tr>

      <tr className="memdesc:a4d8621b8b982226db6fdabda89de3e96">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a4d8621b8b982226db6fdabda89de3e96">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a19066a22f5900356bc3548de446d3479">GPUdb::alterCredential</a>. </p>
      <p>Alter the properties of an existing <a href="/content/concepts/credentials/" target="_top">credential</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#ab88f56d896e75c4939ad59e21caba154">◆ </a></span>AlterCredentialRequest() <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">gpudb::AlterCredentialRequest::AlterCredentialRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </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>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest" title="A set of parameters for GPUdb::alterCredential.">AlterCredentialRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a0822274f6a98b227a96625ed72304c55">◆ </a></span>AlterCredentialRequest() <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">gpudb::AlterCredentialRequest::AlterCredentialRequest </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>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AlterCredentialRequest" title="A set of parameters for GPUdb::alterCredential.">AlterCredentialRequest</a> object with the specified parameters. </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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00108">108</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#ae55f43d173a5a61409b3219564f7e871">◆ </a></span>credentialName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::AlterCredentialRequest::credentialName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the credential to be altered. </p>
        <p>Must be an existing credential. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00119">119</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a71f7583e3c59ae21500a6dcc71833899">◆ </a></span>credentialUpdatesMap</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::AlterCredentialRequest::credentialUpdatesMap</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Map containing the properties of the credential to be updated. </p>
        <p>Error if empty. </p>

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

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00165">165</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a4d8621b8b982226db6fdabda89de3e96">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::AlterCredentialRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__credential_8h_source#l00170">170</a> of file <a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/alter__credential_8h_source">alter\_credential.h</a></li>
    </ul>
  </div>
</div>
