forked from docs/doc-exports
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qinweiwei <qinweiwei@huawei.com> Co-committed-by: qinweiwei <qinweiwei@huawei.com>
56 lines
7.4 KiB
HTML
56 lines
7.4 KiB
HTML
<a name="dew_01_0024"></a><a name="dew_01_0024"></a>
|
|
|
|
<h1 class="topictitle1">Adding a Tag</h1>
|
|
<div id="body1520304335388"><p id="dew_01_0024__a88da10c7d5a942fc8f313ad95a0f5e02">Tags are used to identify keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the tags.</p>
|
|
<div class="section" id="dew_01_0024__section7622144917348"><h4 class="sectiontitle">Constraints</h4><p id="dew_01_0024__p178087013352">Tags cannot be added to default keys.</p>
|
|
</div>
|
|
<div class="section" id="dew_01_0024__s4df85e58e3fb4718968ef3a4ac208ba4"><h4 class="sectiontitle">Procedure</h4><ol id="dew_01_0024__o0f208618b4b44ea0b569a0f86947e77f"><li id="dew_01_0024__li1296564718544"><span>Log in to the management console.</span></li><li id="dew_01_0024__li880294292648"><span>Click <span><img id="dew_01_0024__dew_01_0178_image10325154918393" src="en-us_image_0000001284811084.png"></span> in the upper left corner of the management console and select a region or project.</span></li><li id="dew_01_0024__li1279512297175"><span>Click <span><img id="dew_01_0024__image2084331518566" src="en-us_image_0000002479639400.png"></span> on the left and choose <span class="menucascade" id="dew_01_0024__menucascade2843121518568"><b><span class="uicontrol" id="dew_01_0024__uicontrol20843181525619">Security</span></b> > <b><span class="uicontrol" id="dew_01_0024__uicontrol13843161516562">Key Management Service</span></b></span>.</span></li><li id="dew_01_0024__l56f9d4be109b4fe5943518373436010e"><span>Click the alias of the target custom key to view its details.</span></li><li id="dew_01_0024__l4d2ad01f63c84c92af887f3171d1963b"><span>Click <strong id="dew_01_0024__b1657519304419">Tags</strong> to go to the tag management tab.</span></li><li id="dew_01_0024__l0cd7195cd62540ad88a5f73f8169d964"><span>Click <strong id="dew_01_0024__b276391034218">Add Tag</strong>, as shown in <a href="#dew_01_0024__ff809bb6d608c464aa1430d54c02b19be">Figure 1</a>. In the <strong id="dew_01_0024__b14763610164212">Add Tag</strong> dialog box, enter the tag key and tag value. <a href="#dew_01_0024__t2276fe27aa3d4e03a154c9332ff563f6">Table 1</a> describes the parameters.</span><p><div class="fignone" id="dew_01_0024__ff809bb6d608c464aa1430d54c02b19be"><a name="dew_01_0024__ff809bb6d608c464aa1430d54c02b19be"></a><a name="ff809bb6d608c464aa1430d54c02b19be"></a><span class="figcap"><b>Figure 1 </b>Adding a tag</span><p id="dew_01_0024__p7662164033613"></p>
|
|
<br><span><img id="dew_01_0024__image7640122555412" src="en-us_image_0000001677882901.png"></span></div>
|
|
<div class="note" id="dew_01_0024__note148911525189"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dew_01_0024__p19893122181819">If you want to delete a tag from the tag list when adding multiple tags, locate the target tag and click <strong id="dew_01_0024__b777815289165">Delete</strong> on the right.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><a name="dew_01_0024__t2276fe27aa3d4e03a154c9332ff563f6"></a><a name="t2276fe27aa3d4e03a154c9332ff563f6"></a><table cellpadding="4" cellspacing="0" summary="" id="dew_01_0024__t2276fe27aa3d4e03a154c9332ff563f6" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Tag parameters</caption><thead align="left"><tr id="dew_01_0024__r89466a68d27d4826982e0c32f41ba194"><th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.3.2.6.2.3.2.5.1.1"><p id="dew_01_0024__a7a55ed2421f740eab7751daf0827450a"><strong id="dew_01_0024__b28570466083531">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32%" id="mcps1.3.3.2.6.2.3.2.5.1.2"><p id="dew_01_0024__a01724755823747d19ea3b4586620671d"><strong id="dew_01_0024__en-us_topic_0101843928_b842352706193336">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34%" id="mcps1.3.3.2.6.2.3.2.5.1.3"><p id="dew_01_0024__a17657384322d4476bbbac798b4e5186c"><strong id="dew_01_0024__en-us_topic_0101843928_b84235270613118">Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.6.2.3.2.5.1.4"><p id="dew_01_0024__a29bf5c4875a046dbac9c1538a7ab038c"><strong id="dew_01_0024__en-us_topic_0101843928_b84235270610336">Example Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dew_01_0024__r038b16919f2749e1a79c9146dcd61ecb"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.6.2.3.2.5.1.1 "><p id="dew_01_0024__aa0a0f3f6da274c59b2acc8453c62b1a8">Tag key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32%" headers="mcps1.3.3.2.6.2.3.2.5.1.2 "><p id="dew_01_0024__en-us_topic_0101843928_p91159390107">Name of a tag.</p>
|
|
<p id="dew_01_0024__abaa562f9f16d4811ad7215e61a04db01">The same tag (including tag key and tag value) can be used for different custom keys. However, under the same custom key, one tag key can have only one tag value.</p>
|
|
<p id="dew_01_0024__a97a5da675a064289abeb8dfa32624604">A maximum of 20 tags can be added for one custom key.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.6.2.3.2.5.1.3 "><ul id="dew_01_0024__u6541ee1746d64f3e80b05bdbba1010f5"><li id="dew_01_0024__l7a07a3450d7f45ccbb60481f6995d731">Mandatory.</li><li id="dew_01_0024__lddf8b91566d74819a757fb08c87e5512">The tag key must be unique for the same custom key.</li><li id="dew_01_0024__lce3ee6bd91654592b94c8363329e13b4">128 characters limit.</li><li id="dew_01_0024__li342616914125">The value cannot start or end with a space.</li><li id="dew_01_0024__l2e45f3b27fb4457aa13fe0d125f2d503">The following character types are allowed:<ul id="dew_01_0024__ul126881015191010"><li id="dew_01_0024__li13347210131017">English</li><li id="dew_01_0024__li16620102811011">Numbers</li><li id="dew_01_0024__li1345724561016">Special characters: _-@</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.6.2.3.2.5.1.4 "><p id="dew_01_0024__af0e27aa36fa74e34a627f4cfcf4ee4e6">cost</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dew_01_0024__r7132d5376e104100a78e4f668f6eae34"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.6.2.3.2.5.1.1 "><p id="dew_01_0024__a845cc3aea7cb4cdb9192ecef1088ab05">Tag value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32%" headers="mcps1.3.3.2.6.2.3.2.5.1.2 "><p id="dew_01_0024__a814337fa15034faeb7cd22e064f633f9">Value of the tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.3.2.6.2.3.2.5.1.3 "><ul id="dew_01_0024__ue18a9cb3059e43c78ec77f2492539753"><li id="dew_01_0024__lffe13ea786c44a66a41ff175ebc633eb">This parameter can be empty.</li><li id="dew_01_0024__lb1865c5077bf494ba861d61b4436fed1">255 characters limit.</li><li id="dew_01_0024__l6ac8cac57b99437d8e0d0e6e273e99f2">The following character types are allowed:<ul id="dew_01_0024__ul17891151414169"><li id="dew_01_0024__li4660142910374">English</li><li id="dew_01_0024__li3891114151619">Numbers</li><li id="dew_01_0024__li18891814141618">Special characters: _-@</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.6.2.3.2.5.1.4 "><p id="dew_01_0024__af026f1550c374b3481d7e5c004f816d4">100</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="dew_01_0024__l77231ee2706d4578b0fc083792d439dc"><span>Click <strong id="dew_01_0024__b1920713716718">OK</strong>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dew_01_0023.html">Managing Tags</a></div>
|
|
</div>
|
|
</div>
|
|
|