tencent cloud

Cloud Access Management

Product Introduction
CAM Overview
Features
Scenarios
Basic Concepts
Use Limits
User Types
Purchase Guide
Getting Started
Creating Admin User
Creating and Authorizing Sub-account
Logging In to Console with Sub-account
User Guide
Overview
Users
Access Key
User Groups
Role
Identity Provider
Policies
Permissions Boundary
Troubleshooting
Downloading Security Analysis Report
CAM-Enabled Role
Overview
Compute
Container
Microservice
Essential Storage Service
Data Process and Analysis
Data Migration
Relational Database
Enterprise Distributed DBMS
NoSQL Database
Database SaaS Tool
Database SaaS Service
Networking
CDN and Acceleration
Network Security
Data Security
Application Security
Domains & Websites
Big Data
Middleware
Interactive Video Services
Real-Time Interaction
Media On-Demand
Media Process Services
Media Process
Cloud Real-time Rendering
Game Services
Cloud Resource Management
Management and Audit Tools
Developer Tools
Monitor and Operation
More
CAM-Enabled API
Overview
Compute
Edge Computing
Container
Distributed cloud
Microservice
Serverless
Essential Storage Service
Data Process and Analysis
Data Migration
Relational Database
Enterprise Distributed DBMS
NoSQL Database
Database SaaS Tool
Networking
CDN and Acceleration
Network Security
Endpoint Security
Data Security
Business Security
Application Security
Domains & Websites
Office Collaboration
Big Data
Voice Technology
Image Creation
Tencent Big Model
AI Platform Service
Natural Language Processing
Optical Character Recognition
Middleware
Communication
Interactive Video Services
Real-Time Interaction
Stream Services
Media On-Demand
Media Process Services
Media Process
Cloud Real-time Rendering
Game Services
Education Sevices
Medical Services
Cloud Resource Management
Management and Audit Tools
Developer Tools
Monitor and Operation
More
Use Cases
Security Practical Tutorial
Multi-Identity Personnel Permission Management
Authorizing Certain Operations by Tag
Supporting Isolated Resource Access for Employees
Enterprise Multi-Account Permissions Management
Reviewing Employee Operation Records on Tencent Cloud
Implementing Attribute-Based Access Control for Employee Resource Permissions Management
During tag-based authentication, only tag key matching is supported
Business Use Cases
TencentDB for MySQL
CLB
CMQ
COS
CVM
VPC
VOD
Others
API Documentation
History
Introduction
API Category
Making API Requests
User APIs
Policy APIs
Role APIs
Identity Provider APIs
Data Types
Error Codes
FAQs
Role
Key
Others
CAM Users and Permissions
Glossary
문서Cloud Access ManagementUser GuideTroubleshootingCreating Permissions Policy as Prompted

Creating Permissions Policy as Prompted

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-01-23 17:57:37

Overview

This document describes how to create a permissions policy when you are prompted for permission but do not have any. After the permissions policy is created, the sub-account can manage resources under the root account within the new permission scope.

Prerequisite

Your account is a root account or a sub-account with full read/write access (QcloudCamFullAccess).

Directions

1. Log in to the CAM console and go to Policies. Click Create Custom Policy.
2. In the pop-up window, click Create by Policy Generator to go to the Edit Policy page.
3. On the Edit Policy page, set the following information:

Effect (required): Select Allow or Deny. In this example, select Allow.
Service (required): Select the product by short name to authorize. In this example, it will be cvm referenced in the operation field in the error information.
Action (required): Select the action to authorize. In this example, select RebootInstances corresponding to the operation field in the error information.
Resource (required): For products that don't support resource-level authorization, you can only select all resources as the authorization granularity. For products that support resource-level authorization, you can select a specific resource. To do so, click Add a 6-segment resource description and enter the resource prefix and resource. In this example, the error message is for a specific resource, so you need to authorize it: Select the specific resource, click Add a 6-segment resource description, and then you can directly copy the prefix and resource in qcs:id/0:cvm:ap-guangzhou:uin/10***6:instance/ins-arh4gyp2 and paste them.
Condition (required): Set the condition for the sub-account’s authorization to take effect. key indicates the condition key, ope, the operator, and value, the condition value. In this example, key is qcs:request_tag, ope is for_all_value:string_equal, and value is server&1024","a&b".
4. Click Next to go to the Associate Users/User Groups page.
5. On the Associate Users/User Groups page, add the policy name (automatically generated by the console) and description.
Note:
The policy name is policygen by default. The suffix number is generated based on the creation date. This is customizable.
The description corresponds to the service and action selected in Step 3. You can modify it as needed.
6. Click Complete to complete the custom policy creation.
7. Authorize the sub-account as instructed in Authorization Management. After successful authorization, the sub-account will be granted the required permission, and the error will be fixed.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백