diff --git a/docs/swr/umn/ALL_META.TXT.json b/docs/swr/umn/ALL_META.TXT.json index 5c5632b44..79e4ec1a3 100644 --- a/docs/swr/umn/ALL_META.TXT.json +++ b/docs/swr/umn/ALL_META.TXT.json @@ -111,13 +111,13 @@ "githuburl":"" }, { - "uri":"swr_03_0020.html", - "node_id":"swr_03_0020.xml", + "uri":"swr_03_0005.html", + "node_id":"swr_03_0005.xml", "product_code":"swr", "code":"7", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "des":"If you need to grant your enterprise personnel permission to access your SWR resources, use Identity and Access Management (IAM). IAM provides identity authentication, fi", "doc_type":"usermanual", - "kw":"Permissions", + "kw":"Permissions,Service Overview,User Guide", "search_title":"", "metedata":[ { @@ -128,29 +128,11 @@ "title":"Permissions", "githuburl":"" }, - { - "uri":"swr_03_0021.html", - "node_id":"swr_03_0021.xml", - "product_code":"swr", - "code":"8", - "des":"By default, new IAM users do not have any permissions granted. You need to add them to one or more groups and attach permissions policies or roles to these groups. In thi", - "doc_type":"usermanual", - "kw":"SWR Permissions,Permissions,User Guide", - "search_title":"", - "metedata":[ - { - "prodname":"swr", - "documenttype":"usermanual" - } - ], - "title":"SWR Permissions", - "githuburl":"" - }, { "uri":"swr_03_0006.html", "node_id":"swr_03_0006.xml", "product_code":"swr", - "code":"9", + "code":"8", "des":"SWR works with other cloud services and requires permissions to access them. For details, see Figure 1.Cloud Container Engine (CCE)CCE is a high-performance, high-reliabi", "doc_type":"usermanual", "kw":"Related Services,Service Overview,User Guide", @@ -168,7 +150,7 @@ "uri":"swr_01_0009.html", "node_id":"swr_01_0009.xml", "product_code":"swr", - "code":"10", + "code":"9", "des":"SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applicatio", "doc_type":"usermanual", "kw":"Overview,User Guide", @@ -176,7 +158,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Overview", @@ -186,7 +172,7 @@ "uri":"swr_01_0070.html", "node_id":"swr_01_0070.xml", "product_code":"swr", - "code":"11", + "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Permissions Management", @@ -194,7 +180,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Permissions Management", @@ -204,7 +194,7 @@ "uri":"swr_01_0072.html", "node_id":"swr_01_0072.xml", "product_code":"swr", - "code":"12", + "code":"11", "des":"This section describes how to use IAM for fine-grained permission management on your SWR resources. With IAM, you can:Create IAM users for employees based on your enterpr", "doc_type":"usermanual", "kw":"Configuring IAM Permissions,Permissions Management,User Guide", @@ -212,7 +202,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Configuring IAM Permissions", @@ -222,7 +216,7 @@ "uri":"swr_01_0015.html", "node_id":"swr_01_0015.xml", "product_code":"swr", - "code":"13", + "code":"12", "des":"To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Administrator or Tenant Administrator permission, you become an admin use", "doc_type":"usermanual", "kw":"Read,Write,Manage,Configuring Image Permissions,Permissions Management,User Guide", @@ -230,7 +224,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Configuring Image Permissions", @@ -240,7 +238,7 @@ "uri":"swr_01_0006.html", "node_id":"swr_01_0006.xml", "product_code":"swr", - "code":"14", + "code":"13", "des":"A container engine is an open-source engine which allows you to create a lightweight, portable, and self-sufficient container for any application.A container engine is on", "doc_type":"usermanual", "kw":"Dockerfile,Nginx image,Nginx image,Edit Dockerfile,.tar,.tar.gz,Basics of Docker,User Guide", @@ -248,7 +246,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Basics of Docker", @@ -258,7 +260,7 @@ "uri":"swr_01_0014.html", "node_id":"swr_01_0014.xml", "product_code":"swr", - "code":"15", + "code":"14", "des":"Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or departme", "doc_type":"usermanual", "kw":"Organization Management,User Guide", @@ -266,7 +268,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Organization Management", @@ -276,7 +282,7 @@ "uri":"swr_01_0028.html", "node_id":"swr_01_0028.xml", "product_code":"swr", - "code":"16", + "code":"15", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Image Management", @@ -284,7 +290,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Image Management", @@ -294,7 +304,7 @@ "uri":"swr_01_0011.html", "node_id":"swr_01_0011.xml", "product_code":"swr", - "code":"17", + "code":"16", "des":"You can run docker push (Docker) or ctr push (containerd) on the server where the container engine client is installed to push an image to SWR.If you use Docker, the Dock", "doc_type":"usermanual", "kw":"Push the image to the image repository,Uploading an Image Through a Container Engine Client,Image Ma", @@ -302,7 +312,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Uploading an Image Through a Container Engine Client", @@ -312,25 +326,29 @@ "uri":"swr_01_1000.html", "node_id":"swr_01_1000.xml", "product_code":"swr", - "code":"18", - "des":"This section describes how to obtain a Docker login command that is valid for a year.For security purposes, you are advised to obtain the command in a development environ", + "code":"17", + "des":"Keep the above commands secure.For security purposes, you are advised to obtain the commands in a development environment.This section describes how to obtain a Docker lo", "doc_type":"usermanual", - "kw":"obtain the login key,Obtaining a Long-Term Valid Docker Login Command,Image Management,User Guide", + "kw":"obtain the login key,Obtaining a Long-Term Docker Login Command,Image Management,User Guide", "search_title":"", "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], - "title":"Obtaining a Long-Term Valid Docker Login Command", + "title":"Obtaining a Long-Term Docker Login Command", "githuburl":"" }, { "uri":"swr_01_1001.html", "node_id":"swr_01_1001.xml", "product_code":"swr", - "code":"19", + "code":"18", "des":"This section describes how to obtain a containerd pull/push command that is permanently valid.For security purposes, you are advised to obtain the commands in a developme", "doc_type":"usermanual", "kw":"Obtaining a Long-Term Valid containerd Pull/Push Command,Image Management,User Guide", @@ -338,7 +356,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Obtaining a Long-Term Valid containerd Pull/Push Command", @@ -348,7 +370,7 @@ "uri":"swr_01_0017.html", "node_id":"swr_01_0017.xml", "product_code":"swr", - "code":"20", + "code":"19", "des":"To use an image stored in a repository, you need to pull it from the repository first. Then, you can use this image to deploy containerized applications in CCE or CCI. Pu", "doc_type":"usermanual", "kw":"Pulling an Image,Image Management,User Guide", @@ -356,7 +378,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Pulling an Image", @@ -366,7 +392,7 @@ "uri":"swr_01_0016.html", "node_id":"swr_01_0016.xml", "product_code":"swr", - "code":"21", + "code":"20", "des":"After uploading an image, you can set image attributes, including its type (public or private) and description.Public images can be pulled by all users; whereas the acces", "doc_type":"usermanual", "kw":"set image attributes,type (public or private) and description,Setting Image Attributes,Image Managem", @@ -374,7 +400,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Setting Image Attributes", @@ -384,7 +414,7 @@ "uri":"swr_01_0026.html", "node_id":"swr_01_0026.xml", "product_code":"swr", - "code":"22", + "code":"21", "des":"You can share your private images with other accounts and grant the accounts permissions to pull the images.A user under the account with which you shared the image can t", "doc_type":"usermanual", "kw":"Sharing Private Images,Image Management,User Guide", @@ -392,7 +422,11 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Sharing Private Images", @@ -402,7 +436,7 @@ "uri":"swr_01_0102.html", "node_id":"swr_01_0102.xml", "product_code":"swr", - "code":"23", + "code":"22", "des":"You can add a retention policy to an image in SWR to automatically delete any unused image tags. The policy takes effect immediately after you set it. There are two types", "doc_type":"usermanual", "kw":"Policy Type,Count Limit (Number of days),Count Limit (Number of tags),Tag Filter,Regular Expression ", @@ -410,17 +444,87 @@ "metedata":[ { "prodname":"swr", - "documenttype":"usermanual" + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" } ], "title":"Adding an Image Retention Policy", "githuburl":"" }, + { + "uri":"swr_01_0083.html", + "node_id":"swr_01_0083.xml", + "product_code":"swr", + "code":"23", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Auditing", + "search_title":"", + "metedata":[ + { + "prodname":"swr", + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" + } + ], + "title":"Auditing", + "githuburl":"" + }, + { + "uri":"swr_01_0084.html", + "node_id":"swr_01_0084.xml", + "product_code":"swr", + "code":"24", + "des":"CTS records operations on cloud resources in your account. You can use the logs to perform security analysis, track resource changes, audit, and locate faults.With CTS, y", + "doc_type":"usermanual", + "kw":"SWR Operations Supported by CTS,Auditing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"swr", + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" + } + ], + "title":"SWR Operations Supported by CTS", + "githuburl":"" + }, + { + "uri":"cts_02_0002.html", + "node_id":"cts_02_0002.xml", + "product_code":"swr", + "code":"25", + "des":"After you enable Cloud Trace Service (CTS) and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records (traces", + "doc_type":"usermanual", + "kw":"Viewing CTS Traces in the Trace List,Auditing,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"swr", + "documenttype":"usermanual", + "opensource":"false;true", + "IsMulti":"yes", + "isbot":"yes", + "IsBot":"yes" + } + ], + "title":"Viewing CTS Traces in the Trace List", + "githuburl":"" + }, { "uri":"swr_faq_index.html", "node_id":"swr_faq_index.xml", "product_code":"swr", - "code":"24", + "code":"26", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"FAQs", @@ -438,7 +542,7 @@ "uri":"swr_faq_1001.html", "node_id":"swr_faq_1001.xml", "product_code":"swr", - "code":"25", + "code":"27", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"General FAQs", @@ -456,7 +560,7 @@ "uri":"swr_faq_1011.html", "node_id":"swr_faq_1011.xml", "product_code":"swr", - "code":"26", + "code":"28", "des":"SoftWare Repository for Container (SWR) allows users to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applicat", "doc_type":"usermanual", "kw":"What Is SWR?,General FAQs,User Guide", @@ -474,7 +578,7 @@ "uri":"swr_faq_0021.html", "node_id":"swr_faq_0021.xml", "product_code":"swr", - "code":"27", + "code":"29", "des":"SWR has no limit on the number of images. You can upload any number of images.The bandwidth of SWR dynamically changes based on actual usage.For a public image, you can l", "doc_type":"usermanual", "kw":"About SWR,General FAQs,User Guide", @@ -492,7 +596,7 @@ "uri":"swr_faq_0012.html", "node_id":"swr_faq_0012.xml", "product_code":"swr", - "code":"28", + "code":"30", "des":"The following two approaches are for you to consider. Approach 1 is for images that will only be updated occasionally whereas approach 2 is for images that will be freque", "doc_type":"usermanual", "kw":"How Do I Create a Container Image?,General FAQs,User Guide", @@ -510,7 +614,7 @@ "uri":"swr_faq_0004.html", "node_id":"swr_faq_0004.xml", "product_code":"swr", - "code":"29", + "code":"31", "des":"Run the docker save command to compress the container image into a .tar or .tar.gz package. The command format is as follows:docker save [OPTIONS] IMAGE [IMAGE...][OPTION", "doc_type":"usermanual", "kw":"How Do I Create an Image Package?,General FAQs,User Guide", @@ -528,7 +632,7 @@ "uri":"swr_faq_0014.html", "node_id":"swr_faq_0014.xml", "product_code":"swr", - "code":"30", + "code":"32", "des":"No quotas are imposed on SWR images. You can push as many images as you need.Quotas are imposed on the number of organizations a user can create, as shown in Table 1.", "doc_type":"usermanual", "kw":"Are There Quotas for SWR Resources?,General FAQs,User Guide", @@ -546,7 +650,7 @@ "uri":"swr_faq_2001.html", "node_id":"swr_faq_2001.xml", "product_code":"swr", - "code":"31", + "code":"33", "des":"Symptom: The creation of an organization fails, and a message is displayed indicating that the organization already exists. However, the organization is not found on the ", "doc_type":"usermanual", "kw":"Why Does Organization Creation Fail?,General FAQs,User Guide", @@ -564,7 +668,7 @@ "uri":"swr_faq_2008.html", "node_id":"swr_faq_2008.xml", "product_code":"swr", - "code":"32", + "code":"34", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Logins", @@ -582,7 +686,7 @@ "uri":"swr_faq_0052.html", "node_id":"swr_faq_0052.xml", "product_code":"swr", - "code":"33", + "code":"35", "des":"Clear your browser cache and generate a new login command. The new login command will expire in six hours.", "doc_type":"usermanual", "kw":"What Do I Do If the Temporary Login Command Expired?,Logins,User Guide", @@ -600,7 +704,7 @@ "uri":"swr_faq_0039.html", "node_id":"swr_faq_0039.xml", "product_code":"swr", - "code":"34", + "code":"36", "des":"Currently, SWR does not provide an API for pushing images. You can push images using a container engine client or through the SWR console.SWR has no restriction on the ke", "doc_type":"usermanual", "kw":"Image Push,FAQs,User Guide", @@ -618,7 +722,7 @@ "uri":"swr_faq_2011.html", "node_id":"swr_faq_2011.xml", "product_code":"swr", - "code":"35", + "code":"37", "des":"Currently, SWR does not provide an API for pulling images. You can use a container engine client to pull images. For Docker, run docker pull. For containerd, run crictl p", "doc_type":"usermanual", "kw":"Image Pull,FAQs,User Guide", @@ -636,7 +740,7 @@ "uri":"swr_faq_1003.html", "node_id":"swr_faq_1003.xml", "product_code":"swr", - "code":"36", + "code":"38", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Image Management FAQs", @@ -654,7 +758,7 @@ "uri":"swr_faq_0035.html", "node_id":"swr_faq_0035.xml", "product_code":"swr", - "code":"37", + "code":"39", "des":"Container images cannot be downloaded from the SWR console, but you can run commands to pull them.Obtain the image pull command on the image details page.Run the pull com", "doc_type":"usermanual", "kw":"Can I Pull Images from SWR to a Local PC?,Image Management FAQs,User Guide", @@ -672,7 +776,7 @@ "uri":"swr_faq_2000.html", "node_id":"swr_faq_2000.xml", "product_code":"swr", - "code":"38", + "code":"40", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Troubleshooting", @@ -690,7 +794,7 @@ "uri":"swr_faq_0016.html", "node_id":"swr_faq_0016.xml", "product_code":"swr", - "code":"39", + "code":"41", "des":"Possible causes are as follows:The container engine is not properly installed, in which case the following error is reported:docker: command not foundSolution: Reinstall ", "doc_type":"usermanual", "kw":"Why Does the Login Command Fail to Be Executed?,Troubleshooting,User Guide", @@ -708,7 +812,7 @@ "uri":"swr_faq_0033.html", "node_id":"swr_faq_0033.xml", "product_code":"swr", - "code":"40", + "code":"42", "des":"Problem: When you run the docker pull command to pull an image from SWR, error message \"x509: certificate signed by unknown authority\" is displayed.Possible Causes:A cont", "doc_type":"usermanual", "kw":"Why Does the docker pull Command Fail to Be Executed?,Troubleshooting,User Guide", @@ -726,7 +830,7 @@ "uri":"swr_faq_0038.html", "node_id":"swr_faq_0038.xml", "product_code":"swr", - "code":"41", + "code":"43", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Other FAQs", @@ -744,7 +848,7 @@ "uri":"swr_faq_0040.html", "node_id":"swr_faq_0040.xml", "product_code":"swr", - "code":"42", + "code":"44", "des":"If a CCE workload cannot pull an SWR image and the message indicating \"Not logged in\" is displayed, check whether the YAML file of the workload contains the imagePullSecr", "doc_type":"usermanual", "kw":"Why Does a CCE Workload Cannot Pull an Image from SWR and the Message Indicating \"Not Logged In\" Is ", @@ -762,7 +866,7 @@ "uri":"swr_change_index.html", "node_id":"swr_change_index.xml", "product_code":"swr", - "code":"43", + "code":"45", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", diff --git a/docs/swr/umn/CLASS.TXT.json b/docs/swr/umn/CLASS.TXT.json index 9c2fbdda1..74ac368de 100644 --- a/docs/swr/umn/CLASS.TXT.json +++ b/docs/swr/umn/CLASS.TXT.json @@ -54,23 +54,14 @@ "code":"6" }, { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "desc":"If you need to grant your enterprise personnel permission to access your SWR resources, use Identity and Access Management (IAM). IAM provides identity authentication, fi", "product_code":"swr", "title":"Permissions", - "uri":"swr_03_0020.html", + "uri":"swr_03_0005.html", "doc_type":"usermanual", "p_code":"1", "code":"7" }, - { - "desc":"By default, new IAM users do not have any permissions granted. You need to add them to one or more groups and attach permissions policies or roles to these groups. In thi", - "product_code":"swr", - "title":"SWR Permissions", - "uri":"swr_03_0021.html", - "doc_type":"usermanual", - "p_code":"7", - "code":"8" - }, { "desc":"SWR works with other cloud services and requires permissions to access them. For details, see Figure 1.Cloud Container Engine (CCE)CCE is a high-performance, high-reliabi", "product_code":"swr", @@ -78,7 +69,7 @@ "uri":"swr_03_0006.html", "doc_type":"usermanual", "p_code":"1", - "code":"9" + "code":"8" }, { "desc":"SoftWare Repository for Container (SWR) allows you to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applicatio", @@ -87,7 +78,7 @@ "uri":"swr_01_0009.html", "doc_type":"usermanual", "p_code":"", - "code":"10" + "code":"9" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -96,7 +87,7 @@ "uri":"swr_01_0070.html", "doc_type":"usermanual", "p_code":"", - "code":"11" + "code":"10" }, { "desc":"This section describes how to use IAM for fine-grained permission management on your SWR resources. With IAM, you can:Create IAM users for employees based on your enterpr", @@ -104,8 +95,8 @@ "title":"Configuring IAM Permissions", "uri":"swr_01_0072.html", "doc_type":"usermanual", - "p_code":"11", - "code":"12" + "p_code":"10", + "code":"11" }, { "desc":"To manage SWR permissions, you can use Identity and Access Management (IAM). If you have the SWR Administrator or Tenant Administrator permission, you become an admin use", @@ -113,8 +104,8 @@ "title":"Configuring Image Permissions", "uri":"swr_01_0015.html", "doc_type":"usermanual", - "p_code":"11", - "code":"13" + "p_code":"10", + "code":"12" }, { "desc":"A container engine is an open-source engine which allows you to create a lightweight, portable, and self-sufficient container for any application.A container engine is on", @@ -123,7 +114,7 @@ "uri":"swr_01_0006.html", "doc_type":"usermanual", "p_code":"", - "code":"14" + "code":"13" }, { "desc":"Organizations enable efficient management of images. Organizations are used to isolate image repositories. With each organization being limited to one company or departme", @@ -132,7 +123,7 @@ "uri":"swr_01_0014.html", "doc_type":"usermanual", "p_code":"", - "code":"15" + "code":"14" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -141,7 +132,7 @@ "uri":"swr_01_0028.html", "doc_type":"usermanual", "p_code":"", - "code":"16" + "code":"15" }, { "desc":"You can run docker push (Docker) or ctr push (containerd) on the server where the container engine client is installed to push an image to SWR.If you use Docker, the Dock", @@ -149,17 +140,17 @@ "title":"Uploading an Image Through a Container Engine Client", "uri":"swr_01_0011.html", "doc_type":"usermanual", - "p_code":"16", - "code":"17" + "p_code":"15", + "code":"16" }, { - "desc":"This section describes how to obtain a Docker login command that is valid for a year.For security purposes, you are advised to obtain the command in a development environ", + "desc":"Keep the above commands secure.For security purposes, you are advised to obtain the commands in a development environment.This section describes how to obtain a Docker lo", "product_code":"swr", - "title":"Obtaining a Long-Term Valid Docker Login Command", + "title":"Obtaining a Long-Term Docker Login Command", "uri":"swr_01_1000.html", "doc_type":"usermanual", - "p_code":"16", - "code":"18" + "p_code":"15", + "code":"17" }, { "desc":"This section describes how to obtain a containerd pull/push command that is permanently valid.For security purposes, you are advised to obtain the commands in a developme", @@ -167,8 +158,8 @@ "title":"Obtaining a Long-Term Valid containerd Pull/Push Command", "uri":"swr_01_1001.html", "doc_type":"usermanual", - "p_code":"16", - "code":"19" + "p_code":"15", + "code":"18" }, { "desc":"To use an image stored in a repository, you need to pull it from the repository first. Then, you can use this image to deploy containerized applications in CCE or CCI. Pu", @@ -176,8 +167,8 @@ "title":"Pulling an Image", "uri":"swr_01_0017.html", "doc_type":"usermanual", - "p_code":"16", - "code":"20" + "p_code":"15", + "code":"19" }, { "desc":"After uploading an image, you can set image attributes, including its type (public or private) and description.Public images can be pulled by all users; whereas the acces", @@ -185,8 +176,8 @@ "title":"Setting Image Attributes", "uri":"swr_01_0016.html", "doc_type":"usermanual", - "p_code":"16", - "code":"21" + "p_code":"15", + "code":"20" }, { "desc":"You can share your private images with other accounts and grant the accounts permissions to pull the images.A user under the account with which you shared the image can t", @@ -194,8 +185,8 @@ "title":"Sharing Private Images", "uri":"swr_01_0026.html", "doc_type":"usermanual", - "p_code":"16", - "code":"22" + "p_code":"15", + "code":"21" }, { "desc":"You can add a retention policy to an image in SWR to automatically delete any unused image tags. The policy takes effect immediately after you set it. There are two types", @@ -203,9 +194,36 @@ "title":"Adding an Image Retention Policy", "uri":"swr_01_0102.html", "doc_type":"usermanual", - "p_code":"16", + "p_code":"15", + "code":"22" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"swr", + "title":"Auditing", + "uri":"swr_01_0083.html", + "doc_type":"usermanual", + "p_code":"", "code":"23" }, + { + "desc":"CTS records operations on cloud resources in your account. You can use the logs to perform security analysis, track resource changes, audit, and locate faults.With CTS, y", + "product_code":"swr", + "title":"SWR Operations Supported by CTS", + "uri":"swr_01_0084.html", + "doc_type":"usermanual", + "p_code":"23", + "code":"24" + }, + { + "desc":"After you enable Cloud Trace Service (CTS) and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records (traces", + "product_code":"swr", + "title":"Viewing CTS Traces in the Trace List", + "uri":"cts_02_0002.html", + "doc_type":"usermanual", + "p_code":"23", + "code":"25" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"swr", @@ -213,7 +231,7 @@ "uri":"swr_faq_index.html", "doc_type":"usermanual", "p_code":"", - "code":"24" + "code":"26" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -221,8 +239,8 @@ "title":"General FAQs", "uri":"swr_faq_1001.html", "doc_type":"usermanual", - "p_code":"24", - "code":"25" + "p_code":"26", + "code":"27" }, { "desc":"SoftWare Repository for Container (SWR) allows users to easily manage the full lifecycle of container images and facilitates secure deployment of images for your applicat", @@ -230,8 +248,8 @@ "title":"What Is SWR?", "uri":"swr_faq_1011.html", "doc_type":"usermanual", - "p_code":"25", - "code":"26" + "p_code":"27", + "code":"28" }, { "desc":"SWR has no limit on the number of images. You can upload any number of images.The bandwidth of SWR dynamically changes based on actual usage.For a public image, you can l", @@ -239,8 +257,8 @@ "title":"About SWR", "uri":"swr_faq_0021.html", "doc_type":"usermanual", - "p_code":"25", - "code":"27" + "p_code":"27", + "code":"29" }, { "desc":"The following two approaches are for you to consider. Approach 1 is for images that will only be updated occasionally whereas approach 2 is for images that will be freque", @@ -248,8 +266,8 @@ "title":"How Do I Create a Container Image?", "uri":"swr_faq_0012.html", "doc_type":"usermanual", - "p_code":"25", - "code":"28" + "p_code":"27", + "code":"30" }, { "desc":"Run the docker save command to compress the container image into a .tar or .tar.gz package. The command format is as follows:docker save [OPTIONS] IMAGE [IMAGE...][OPTION", @@ -257,8 +275,8 @@ "title":"How Do I Create an Image Package?", "uri":"swr_faq_0004.html", "doc_type":"usermanual", - "p_code":"25", - "code":"29" + "p_code":"27", + "code":"31" }, { "desc":"No quotas are imposed on SWR images. You can push as many images as you need.Quotas are imposed on the number of organizations a user can create, as shown in Table 1.", @@ -266,8 +284,8 @@ "title":"Are There Quotas for SWR Resources?", "uri":"swr_faq_0014.html", "doc_type":"usermanual", - "p_code":"25", - "code":"30" + "p_code":"27", + "code":"32" }, { "desc":"Symptom: The creation of an organization fails, and a message is displayed indicating that the organization already exists. However, the organization is not found on the ", @@ -275,8 +293,8 @@ "title":"Why Does Organization Creation Fail?", "uri":"swr_faq_2001.html", "doc_type":"usermanual", - "p_code":"25", - "code":"31" + "p_code":"27", + "code":"33" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -284,8 +302,8 @@ "title":"Logins", "uri":"swr_faq_2008.html", "doc_type":"usermanual", - "p_code":"24", - "code":"32" + "p_code":"26", + "code":"34" }, { "desc":"Clear your browser cache and generate a new login command. The new login command will expire in six hours.", @@ -293,8 +311,8 @@ "title":"What Do I Do If the Temporary Login Command Expired?", "uri":"swr_faq_0052.html", "doc_type":"usermanual", - "p_code":"32", - "code":"33" + "p_code":"34", + "code":"35" }, { "desc":"Currently, SWR does not provide an API for pushing images. You can push images using a container engine client or through the SWR console.SWR has no restriction on the ke", @@ -302,8 +320,8 @@ "title":"Image Push", "uri":"swr_faq_0039.html", "doc_type":"usermanual", - "p_code":"24", - "code":"34" + "p_code":"26", + "code":"36" }, { "desc":"Currently, SWR does not provide an API for pulling images. You can use a container engine client to pull images. For Docker, run docker pull. For containerd, run crictl p", @@ -311,8 +329,8 @@ "title":"Image Pull", "uri":"swr_faq_2011.html", "doc_type":"usermanual", - "p_code":"24", - "code":"35" + "p_code":"26", + "code":"37" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -320,8 +338,8 @@ "title":"Image Management FAQs", "uri":"swr_faq_1003.html", "doc_type":"usermanual", - "p_code":"24", - "code":"36" + "p_code":"26", + "code":"38" }, { "desc":"Container images cannot be downloaded from the SWR console, but you can run commands to pull them.Obtain the image pull command on the image details page.Run the pull com", @@ -329,8 +347,8 @@ "title":"Can I Pull Images from SWR to a Local PC?", "uri":"swr_faq_0035.html", "doc_type":"usermanual", - "p_code":"36", - "code":"37" + "p_code":"38", + "code":"39" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -338,8 +356,8 @@ "title":"Troubleshooting", "uri":"swr_faq_2000.html", "doc_type":"usermanual", - "p_code":"24", - "code":"38" + "p_code":"26", + "code":"40" }, { "desc":"Possible causes are as follows:The container engine is not properly installed, in which case the following error is reported:docker: command not foundSolution: Reinstall ", @@ -347,8 +365,8 @@ "title":"Why Does the Login Command Fail to Be Executed?", "uri":"swr_faq_0016.html", "doc_type":"usermanual", - "p_code":"38", - "code":"39" + "p_code":"40", + "code":"41" }, { "desc":"Problem: When you run the docker pull command to pull an image from SWR, error message \"x509: certificate signed by unknown authority\" is displayed.Possible Causes:A cont", @@ -356,8 +374,8 @@ "title":"Why Does the docker pull Command Fail to Be Executed?", "uri":"swr_faq_0033.html", "doc_type":"usermanual", - "p_code":"38", - "code":"40" + "p_code":"40", + "code":"42" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -365,8 +383,8 @@ "title":"Other FAQs", "uri":"swr_faq_0038.html", "doc_type":"usermanual", - "p_code":"24", - "code":"41" + "p_code":"26", + "code":"43" }, { "desc":"If a CCE workload cannot pull an SWR image and the message indicating \"Not logged in\" is displayed, check whether the YAML file of the workload contains the imagePullSecr", @@ -374,8 +392,8 @@ "title":"Why Does a CCE Workload Cannot Pull an Image from SWR and the Message Indicating \"Not Logged In\" Is Displayed?", "uri":"swr_faq_0040.html", "doc_type":"usermanual", - "p_code":"41", - "code":"42" + "p_code":"43", + "code":"44" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -384,6 +402,6 @@ "uri":"swr_change_index.html", "doc_type":"usermanual", "p_code":"", - "code":"43" + "code":"45" } ] \ No newline at end of file diff --git a/docs/swr/umn/cts_02_0002.html b/docs/swr/umn/cts_02_0002.html new file mode 100644 index 000000000..a55fe4356 --- /dev/null +++ b/docs/swr/umn/cts_02_0002.html @@ -0,0 +1,25 @@ + + +
After you enable Cloud Trace Service (CTS) and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records (traces) generated in the last seven days.
+
in the upper left corner and choose Management & Deployment > Cloud Trace Service. The CTS console is displayed.
to view the latest information about traces.
on the left of a trace to expand its details.
+

FROM nginx RUN echo '<h1>Hello,SWR!</h1>' > /usr/share/nginx/html/index.html
In the preceding instructions:
-Save the changes and exit.
docker build -t nginx:v1 .
You can run docker push (Docker) or ctr push (containerd) on the server where the container engine client is installed to push an image to SWR.
If you use Docker, the Docker version must be between 1.11.2 (included) and 24.0.9 (included). The size of each image layer cannot exceed 10 GB. You can push a maximum of 20 image layers concurrently.
+If you use Docker, the Docker version must be between 1.11.2 (included) and 24.0.9 (included). The size of each image layer cannot exceed 10 GB. You can push a maximum of 20 image layers concurrently.
{
"insecure-registries": [
@@ -22,14 +22,14 @@
The following walks you through the steps of uploading an image to SWR through the client by taking the nginx:v1 image built in Basics of Docker as an example.
-
to copy the login command.
The following walks you through the steps of uploading an image to SWR through the client by taking the nginx:v1 image built in Basics of Docker as an example. The procedure is as follows:
+
to copy the login command.
The message "Login Succeeded" will be displayed upon a successful login.
docker tag [Image name 1:tag 1] [Image repository address]/[Organization name]/[Image name 2:tag 2]
In the preceding command:
-Example:
docker tag nginx:v1 swr.eu-de.otc.t-systems.com/group/nginx:v1
docker push [Image repository address]/[Organization name]/[Image name 2:tag 2]
@@ -43,12 +43,10 @@ v1: digest: sha256:eb7e3bbd8e3040efa71d9c2cacfa12a8e39c6b2ccd15eac12bdc49e0b66ceTo view the pushed image, refresh the My Images page.
The command is only valid for six hours after it is generated. To obtain a long-term valid command, see Obtaining a Long-Term Valid containerd Pull/Push Command.
+
The command is only valid for six hours after it is generated. To obtain a long-term valid command, see Obtaining a Long-Term Valid containerd Pull/Push Command.


If you are not an SWR admin user, you can request an SWR admin user to grant you permissions to read, edit, or manage a specific image or images in a specific organization.
Examples
Solution: On the details page of the nginx image, the SWR administrator grants the read permission to the IAM user.
-Solution: On the Users tab page of the details page of the organization, the SWR administrator grants the edit permission to the user. In IAM, the administrator sets Access Type to Programmatic access.
+Solution: On the Users tab of the details page of the organization, the SWR administrator grants the edit permission to the user. In IAM, the administrator sets Access Type to Programmatic access.
You can grant permissions to users in SWR by using either of the following methods:
@@ -18,7 +18,7 @@To allow users to read, write, and manage a specific image, grant corresponding permissions to them on the details page of this image.
-You can also modify or delete user permissions on the image details page.





Set a validity period. If you want the image to be permanently accessible to the account, select Permanently valid.
Description
-Enter a maximum of 1,000 characters.
-Permission
Only the Pull permission is supported currently.
Description
+Enter a maximum of 1,000 characters.
+CTS records operations on cloud resources in your account. You can use the logs to perform security analysis, track resource changes, audit, and locate faults.
+With CTS, you can record operations associated with SWR for future query, audit, and backtrack operations.
+Operation + |
+Resource Type + |
+Trace Name + |
+
|---|---|---|
Pushing an image + |
+images + |
+postMultipartImagePackage + |
+
Obtaining a login command + |
+dockerlogincmd + |
+createDockerConfig + |
+
Querying the overview + |
+overview + |
+getDomainOverview + |
+
Query monitoring metrics + |
+overview + |
+getDomainResourceReports + |
+
Creating an organization + |
+usernamespace + |
+createUserNamespace + |
+
Deleting an organization + |
+usernamespace + |
+deleteUserNamespace + |
+
Listing organizations + |
+usernamespace + |
+listUserNamespaces + |
+
Querying details about an organization + |
+usernamespace + |
+showUserNamespace + |
+
Creating an organization authorization + |
+usernamespaceauth + |
+createUserNamespaceAuth + |
+
Deleting an organization authorization + |
+usernamespaceauth + |
+deleteUserNamespaceAuth + |
+
Querying details about an organization authorization + |
+usernamespaceauth + |
+showUserNamespaceAuth + |
+
Updating an organization authorization + |
+usernamespaceauth + |
+updateUserNamespaceAuth + |
+
Creating a repository + |
+imagerepository + |
+createImageRepository + |
+
Deleting a repository + |
+imagerepository + |
+deleteImageRepository + |
+
Query details about a repository + |
+imagerepository + |
+showImageRepository + |
+
Updating a repository + |
+imagerepository + |
+updateImageRepository + |
+
Listing repositories + |
+imagerepository + |
+listImageRepositories + |
+
Creating an image tag + |
+imagetag + |
+createImageTag + |
+
Deleting an image tag + |
+imagetag + |
+deleteImageTag + |
+
Listing image tags + |
+imagetag + |
+listImageTags + |
+
Creating an image authorization + |
+userrepositoryauth + |
+createUserRepositoryAuth + |
+
Deleting an image authorization + |
+userrepositoryauth + |
+deleteUserRepositoryAuth + |
+
Querying details about an image authorization + |
+userrepositoryauth + |
+showUserRepositoryAuth + |
+
Updating an image authorization + |
+userrepositoryauth + |
+updateUserRepositoryAuth + |
+
Listing image authorizations + |
+userrepositoryauth + |
+listSharedReposDetails + |
+
Sharing an image with other accounts + |
+imagerepositoryaccessdomain + |
+createImageRepositoryAccessDomain + |
+
Deleting an account from the sharing list + |
+imagerepositoryaccessdomain + |
+deleteImageRepositoryAccessDomain + |
+
Querying details about an account that an image is shared with + |
+imagerepositoryaccessdomain + |
+showImageRepositoryAccessDomain + |
+
Updating an account that an image is shared with + |
+imagerepositoryaccessdomain + |
+updateImageRepositoryAccessDomain + |
+
Listing the accounts an image is shared with + |
+imagerepositoryaccessdomain + |
+listImageRepositoryAccessDomain + |
+
Sharing an image + |
+reposhare + |
+createRepoShare + |
+
Stopping sharing an image + |
+reposhare + |
+deleteRepoShare + |
+
Querying details about sharing an image + |
+reposhare + |
+getRepoShare + |
+
Updating details about sharing an image + |
+reposhare + |
+updateRepoShare + |
+
Viewing image sharing list + |
+reposhare + |
+listRepoShares + |
+
Creating an image retention policy + |
+retention + |
+createRetention + |
+
Deleting an image retention policy + |
+retention + |
+deleteRetention + |
+
Querying details about an image retention policy + |
+retention + |
+showRetention + |
+
Updating an image retention policy + |
+retention + |
+updateRetention + |
+
Listing image retention policies + |
+retention + |
+listRetentions + |
+
Listing image retention records + |
+retention + |
+listRetentionHistories + |
+
Creating an image layer + |
+blob + |
+createBlob + |
+
Updating an image layer by data chunk + |
+blob + |
+updateImageLayerChunk + |
+
Updating an image layer + |
+blob + |
+updateImageLayer + |
+
Pulling an image layer + |
+blob + |
+downloadImageLayer + |
+
Pushing image manifest + |
+manifest + |
+uploadManifest + |
+
This section describes how to obtain a Docker login command that is valid for a year.
-
For security purposes, you are advised to obtain the command in a development environment.
+
This section describes how to obtain a Docker login command that is valid for a year.
You can obtain a long-term valid login command as the following process:

in the upper left corner and select a region and a project.
in the navigation pane on the left and choose Management & Deployment > Identity and Access Management.
The access key ID (AK) and secret access key (SK) are a pair of access keys used together to authenticate users who wish to make API requests. The AK/AS pair provides functions similar to a password. If you already have an AK/SK, skip this step.
+
in the upper left corner and select a region and a project.
in the navigation pane on the left and choose Management & Deployment > Identity and Access Management.
The access key ID (AK) and secret access key (SK) are a pair of access keys used together to authenticate users who wish to make API requests. The AK/AS pair provides functions similar to a password. If you already have an AK/SK, skip this step.
Keep the access key secure and do not disclose it to any unauthorized personnel.
+
Keep the access key secure and do not disclose it to any unauthorized personnel.
printf "$AK" | openssl dgst -binary -sha256 -hmac "$SK" | od -An -vtx1 | sed 's/[ \n]//g' | sed 'N;s/\n//'
-In the command, $AK and $SK indicate the AK and SK obtained in 3.
+In the command, $AK and $SK indicate the AK and SK obtained in 2.

docker login -u [Regional project name]@[AK] -p [Login key] [Image repository address]
-In the command, the regional project name and image repository address are obtained in 2, the AK in 3, and the login key in 4.
-
The login key is encrypted and cannot be decrypted. Therefore, other users cannot obtain the SK from -p.
-The login command can be used on other devices.
+In the command, the regional project name and image repository address are obtained in 5, the AK in 2, and the login key in 6.
+
1. Image pull command
+1. Image pull command
ctr image pull --user [Resource space name] @[AK]: [Login key] [Image repository address]
-In the command, the resource space name and image repository address are obtained in 2, the AK in 3, and the login key in 4.
+In the command, the resource space name and image repository address are obtained in 5, the AK in 2, and the login key in 6.
2. Image push command
ctr image push --user [Resource space name] @[AK]: [Login key] [Image repository address]
-In the command, the resource space name and image repository address are obtained in 2, the AK in 3, and the login key in 4.
+In the command, the resource space name and image repository address are obtained in 5, the AK in 2, and the login key in 6.
SWR uses the image pull acceleration technology to ensure faster image pull for CCE clusters in high concurrency scenarios.
The cloud platform provides a web-based management console and HTTPS-based APIs through which you can access the SWR service.
-If you want to integrate SWR into a third-party system for secondary development, use APIs to access SWR. For details, see SWR API Reference.
-Use this mode if you do not want to integrate SWR into a third-party system.
+The cloud platform provides a web-based management console and HTTPS-based APIs through which you can access SWR.
+If you need to grant your enterprise personnel permission to access your SWR resources, use Identity and Access Management (IAM). IAM provides identity authentication, fine-grained permissions management, and access control. IAM helps you secure access to your cloud resources.
+With IAM, you can create IAM users and grant them permission to access only specific resources. For example, if you want some software developers in your enterprise to be able to use SWR resources but not be able to delete the resources or perform any other high-risk operations, you can create IAM users and grant permission to use SWR resources but not permission to delete them.
+If your cloud account does not require individual IAM users for permissions management, you can skip this section.
+IAM is a free service. You only pay for the resources in your account.
+New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and then attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.
+SWR is a project-level service deployed for specific regions. When you set Scope to Region-specific projects and select the specified projects in the specified regions, the users only have permissions for SWR resources in the selected projects. When accessing SWR, the users need to switch to the authorized region.
+You can grant permissions by using roles and policies.
+Table 1 and Table 2 describe all system-defined policies and roles of SWR.
+ +Policy + |
+Description + |
+Type + |
+
|---|---|---|
SWR FullAccess + |
+Full permissions for SWR. + |
+System-defined policy + |
+
SWR OperateAccess + |
+Operation permissions for SWR. + |
+System-defined policy + |
+
SWR ReadOnlyAccess + |
+Read-only permission for SWR. + |
+System-defined policy + |
+
Role + |
+Description + |
+Type + |
+
|---|---|---|
SWR Admin + |
+Administrator permissions for SWR. Users with this role can perform all operations on SWR resources. + |
+System-defined role + |
+
Tenant Administrator + |
+Administrator permissions for all services except IAM. Users with this role can perform all operations on SWR resources. + |
+System-defined role + |
+
ServiceStage Developer + |
+ServiceStage developer permissions. For example, users with this role can pull images. + |
+System-defined role + |
+
Table 3 lists the common operations supported by system-defined permissions for SWR.
+ +Operation + |
+SWR FullAccess + |
+SWR OperateAccess + |
+SWR ReadOnlyAccess + |
+SWR Administrator + |
+Tenant Administrator + |
+
|---|---|---|---|---|---|
Uploading/Pushing an Image + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Downloading/Pulling an Image + |
+√ + |
+√ + |
+√ + |
+√ + |
+√ + |
+
Adding a trigger + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Modifying an image + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Sharing an image + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Assigning permissions + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Deleting an image or a tag + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Creating an organization + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
Deleting an organization + |
+√ + |
+√ + |
+x + |
+√ + |
+√ + |
+
If you need to assign different permissions to employees in your enterprise to access your SWR resources, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, enabling secure access to your cloud resources.
-With IAM, you can use your account to create IAM users, and assign permissions to the users to control their access to specific cloud resources. For example, some software developers in your enterprise need to use SWR resources but should not be allowed to delete the resources or perform any other high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using SWR resources.
-If your account does not require individual IAM users for permissions management, skip this section.
-IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.
-By default, new IAM users do not have any permissions granted. You need to add them to one or more groups and attach permissions policies or roles to these groups. In this way, the users can inherit permissions from the groups and perform operations on specific cloud resources.
-SWR is a project-level service deployed for specific regions. When you set Scope to Region-specific projects and select projects in specific regions, the users only have permissions for SWR resources in the selected projects. If you set Scope to All resources, the users have permissions for SWR resources in all region-specific projects. When accessing SWR, the users need to switch to the authorized region.
- -Name - |
-Description - |
-Type - |
-
|---|---|---|
SWR Administrator - |
-SWR administrator permissions, including all SWR permissions. - |
-System-defined role - |
-
Tenant Administrator - |
-Administrator permissions for all services except IAM, including all SWR permissions. - |
-System-defined role - |
-
Tenant Guest - |
-Read-only permissions for all services except IAM, including permissions such as image pull. - |
-System-defined role - |
-
ServiceStage Developer - |
-ServiceStage developer permissions, including permissions such as image pull. - |
-System-defined role - |
-
Release Date +
|
|---|