创建Secret

<p class="shortdesc">本文主要介绍如何创建Secret。</p> <section class="section prereq" id="createS__prereq_sxx_mzb_vvb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div> <p class="p">您已成功创建业务集群,可参考<a class="xref" href="/ssr/help/compute/caas/Operation_Guide.Cluster_Management.worker.create" target="_blank" rel="external noopener">创建业务集群</a>,且集群状态为<strong class="ph b">运行中</strong>。</p> </section> <section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/caas/overview" target="_blank" rel="external noopener">容器服务CaaS控制台</a>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">配置中心</span><abbr> > </abbr><span class="ph uicontrol">Secret</span></span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">单击页面右上角的<span class="ph uicontrol">创建</span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">根据如下信息,创建Secret。</span> <div class="itemgroup info"> <table class="table" id="createS__table_dkp_stt_fvb"><caption></caption><colgroup><col style="width:22.935779816513765%"><col style="width:77.06422018348624%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry colsep-1 rowsep-1" id="createS__table_dkp_stt_fvb__entry__1"> <p class="p"> 配置项 </p> </th> <th class="entry colsep-1 rowsep-1" id="createS__table_dkp_stt_fvb__entry__2"> <p class="p"> 说明 </p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">地域</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">选择创建Secret的地域。</p> </td> </tr> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">所属集群</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">选择Secret所属的业务集群。 </p> </td> </tr> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">名称</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">设置Secret的名称。</p> <div class="note note note_note"><span class="note__title">说明:</span> 名称长度需为4~24个字符,只能包含小写字母、数字及分隔符(“-“)。必须以小写字母开头,以数字或小写字母结尾。</div> </td> </tr> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">描述</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">设置Secret的描述信息,便于后续统一管理。 </p> </td> </tr> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">配置数据</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">设置配置数据的名称和内容信息,用于密码、token或者秘钥等加密配置文件。</p> </td> </tr> <tr class="row"> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__1 "> <p class="p">配置标签</p> </td> <td class="entry colsep-1 rowsep-1" headers="createS__table_dkp_stt_fvb__entry__2 "> <p class="p">设置配置标签的名称和内容。</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">创建</span>。</span> </li></ol></section> <section class="section result"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div> <p class="p">在<span class="ph uicontrol">Secret</span>页面,可以查看到已成功创建的秘钥。</p> </section>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题