Permission Management
If you need to assign different permissions to employees in your enterprise to access your OCR resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your Huawei Cloud resources.
If your Huawei Cloud account does not require individual IAM users for permissions management, skip this section.
With IAM, you can use your Huawei Cloud account to create IAM users, and grant permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to use OCR but should not be allowed to delete other OCR 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 OCR resources.
IAM is free of charge. You pay only for the resources you use. For more information about IAM, see IAM Service Overview.
OCR Permissions
By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.
OCR is a project-level service deployed and accessed in specific physical regions. To assign OCR permissions to a user group, specify the scope as region-specific projects and select projects such as ap-southeast-1 for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing OCR, the users need to switch to a region where they have been authorized to use this service.
Table 1 lists all the system roles supported by OCR.
|
Policy |
Description |
Type |
Dependency |
|---|---|---|---|
|
OCR FullAccess |
All permissions |
System policy |
None |
|
OCR ReadOnlyAccess |
Read-only access |
System policy |
None |
|
OCR AgencyAccess |
Agency permissions |
System policy |
None |
Table 2 lists the common operations supported by each system policy.
|
Action |
Description |
OCR FullAccess |
OCR ReadOnlyAccess |
|---|---|---|---|
|
ocr:passport:subscribe |
Subscribes to Passport OCR. |
√ |
× |
|
ocr:passport:unsubscribe |
Unsubscribes from Passport OCR. |
√ |
× |
|
ocr:passport:getSubscribeUserList |
Queries the list of users who have subscribed to Passport OCR. |
√ |
√ |
|
ocr:passport:subscribeAllUsers |
Subscribes to Passport OCR for other IAM users. |
√ |
× |
|
ocr:passport:unsubscribeAllUsers |
Unsubscribes from Passport OCR for other IAM users. |
√ |
× |
|
ocr:webImage:subscribe |
Subscribes to Web Image OCR. |
√ |
× |
|
ocr:webImage:unsubscribe |
Unsubscribes from Web Image OCR. |
√ |
× |
|
ocr:webImage:getSubscribeUserList |
Queries the list of users who have subscribed to Web Image OCR. |
√ |
√ |
|
ocr:webImage:subscribeAllUsers |
Subscribes to Web Image OCR for other IAM users. |
√ |
× |
|
ocr:webImage:unsubscribeAllUsers |
Unsubscribes from Web Image OCR for other IAM users. |
√ |
× |
|
ocr:myanmarIdCard:subscribe |
Subscribes to Myanmar ID Card OCR. |
√ |
× |
|
ocr:myanmarIdCard:unsubscribe |
Unsubscribes from Myanmar ID Card OCR. |
√ |
× |
|
ocr:myanmarIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Myanmar ID Card OCR. |
√ |
√ |
|
ocr:myanmarIdCard:subscribeAllUsers |
Subscribes to Myanmar ID Card OCR for other IAM users. |
√ |
× |
|
ocr:myanmarIdCard:unsubscribeAllUsers |
Unsubscribes from Myanmar ID Card OCR for other IAM users. |
√ |
× |
|
ocr:myanmarDriverLicense:subscribe |
Subscribes to Myanmar Driving License OCR. |
√ |
× |
|
ocr:myanmarDriverLicense:unsubscribe |
Unsubscribes from Myanmar Driving License OCR. |
√ |
× |
|
ocr:myanmarDriverLicense:getSubscribeUserList |
Queries the list of users who have subscribed to Myanmar Driving License OCR. |
√ |
√ |
|
ocr:myanmarDriverLicense:subscribeAllUsers |
Subscribes to Myanmar Driving License OCR for other IAM users. |
√ |
× |
|
ocr:myanmarDriverLicense:unsubscribeAllUsers |
Unsubscribes from Myanmar Driving License OCR for other IAM users. |
√ |
× |
|
ocr:thailandLicensePlate:subscribe |
Subscribes to Thailand Plate Number OCR. |
√ |
× |
|
ocr:thailandLicensePlate:unsubscribe |
Unsubscribes from Thailand Plate Number OCR. |
√ |
× |
|
ocr:thailandLicensePlate:getSubscribeUserList |
Queries the list of users who have subscribed to Thailand Plate Number OCR. |
√ |
√ |
|
ocr:thailandLicensePlate:subscribeAllUsers |
Subscribes to Thailand Plate Number OCR for other IAM users. |
√ |
× |
|
ocr:thailandLicensePlate:unsubscribeAllUsers |
Unsubscribes from Thailand Plate Number OCR for other IAM users. |
√ |
× |
|
ocr:thailandIdCard:subscribe |
Subscribes to Thailand ID Card OCR. |
√ |
× |
|
ocr:thailandIdCard:unsubscribe |
Unsubscribes from Thailand ID Card OCR. |
√ |
× |
|
ocr:thailandIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Thailand ID Card OCR. |
√ |
√ |
|
ocr:thailandIdCard:subscribeAllUsers |
Subscribes to Thailand ID Card OCR for other IAM users. |
√ |
× |
|
ocr:thailandIdCard:unsubscribeAllUsers |
Unsubscribes from Thailand ID Card OCR for other IAM users. |
√ |
× |
|
ocr:cambodianIdcard:subscribe |
Subscribes to Cambodian ID Card OCR. |
√ |
× |
|
ocr:cambodianIdcard:unsubscribe |
Unsubscribes from Cambodian ID Card OCR. |
√ |
× |
|
ocr:cambodianIdcard:getSubscribeUserList |
Queries the list of users who have subscribed to Cambodian ID Card OCR. |
√ |
√ |
|
ocr:cambodianIdcard:subscribeAllUsers |
Subscribes to Cambodian ID Card OCR for other IAM users. |
√ |
× |
|
ocr:cambodianIdcard:unsubscribeAllUsers |
Unsubscribes from Cambodian ID Card OCR for other IAM users. |
√ |
× |
|
ocr:chileIdCard:subscribe |
Subscribes to Chile ID Card OCR. |
√ |
× |
|
ocr:chileIdCard:unsubscribe |
Unsubscribes from Chile ID Card OCR. |
√ |
× |
|
ocr:chileIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Chile ID Card OCR. |
√ |
√ |
|
ocr:chileIdCard:subscribeAllUsers |
Subscribes to Chile ID Card OCR for other IAM users. |
√ |
× |
|
ocr:chileIdCard:unsubscribeAllUsers |
Unsubscribes from Chile ID Card OCR for other IAM users. |
√ |
× |
|
ocr:smartDocumentRecognizer:subscribe |
Subscribes to Smart Document Recognizer. |
√ |
× |
|
ocr:smartDocumentRecognizer:unsubscribe |
Unsubscribes from Smart Document Recognizer. |
√ |
× |
|
ocr:smartDocumentRecognizer:getSubscribeUserList |
Queries the list of the users who have subscribed to Smart Document Recognizer. |
√ |
√ |
|
ocr:smartDocumentRecognizer:subscribeAllUsers |
Subscribes to Smart Document Recognizer for other IAM users. |
√ |
× |
|
ocr:smartDocumentRecognizer:unsubscribeAllUsers |
Unsubscribes from Smart Document Recognizer for other IAM users. |
√ |
× |
|
ocr:vietnamIdCard:subscribe |
Subscribes to Vietnam ID Card OCR. |
√ |
× |
|
ocr:vietnamIdCard:unsubscribe |
Unsubscribes from Vietnam ID Card OCR. |
√ |
× |
|
ocr:vietnamIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Vietnam ID Card OCR. |
√ |
√ |
|
ocr:vietnamIdCard:subscribeAllUsers |
Subscribes to Vietnam ID Card OCR for other IAM users. |
√ |
× |
|
ocr:vietnamIdCard:unsubscribeAllUsers |
Unsubscribes from Vietnam ID Card OCR for other IAM users. |
√ |
× |
|
ocr:colombiaIdCard:subscribe |
Subscribes to Colombia ID Card OCR. |
√ |
× |
|
ocr:colombiaIdCard:unsubscribe |
Unsubscribes from Colombia ID Card OCR. |
√ |
× |
|
ocr:colombiaIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Colombia ID Card OCR. |
√ |
√ |
|
ocr:colombiaIdCard:subscribeAllUsers |
Subscribes to Colombia ID Card OCR for other IAM users. |
√ |
× |
|
ocr:colombiaIdCard:unsubscribeAllUsers |
Unsubscribes from Colombia ID Card OCR for other IAM users. |
√ |
× |
|
ocr:peruIdCard:subscribe |
Subscribes to Peru ID Card OCR. |
√ |
× |
|
ocr:peruIdCard:unsubscribe |
Unsubscribes from Peru ID Card OCR. |
√ |
× |
|
ocr:peruIdCard:getSubscribeUserList |
Queries the list of users who have subscribed to Peru ID Card OCR. |
√ |
√ |
|
ocr:peruIdCard:subscribeAllUsers |
Subscribes to Peru ID Card OCR for other IAM users. |
√ |
× |
|
ocr:peruIdCard:unsubscribeAllUsers |
Unsubscribes from Peru ID Card OCR for other IAM users. |
√ |
× |
|
ocr:autoIdDocClassification:subscribe |
Subscribes to Auto ID Document Classification OCR. |
√ |
× |
|
ocr:autoIdDocClassification:unsubscribe |
Unsubscribes from Auto ID Document Classification OCR. |
√ |
× |
|
ocr:autoIdDocClassification:getSubscribeUserList |
Queries the list of users who have subscribed to Auto ID Document Classification OCR. |
√ |
√ |
|
ocr:autoIdDocClassification:subscribeAllUsers |
Subscribes to Auto ID Document Classification OCR for other IAM users. |
√ |
× |
|
ocr:autoIdDocClassification:unsubscribeAllUsers |
Unsubscribes from Auto ID Document Classification OCR for other IAM users. |
√ |
× |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot