Overview

Last updated: 2019-11-19 17:30:49

    If you use multiple Tencent Cloud services such as TencentDB, CVM, and VPC which are managed by different users who share your Tencent Cloud account key, the following problems may exist:

    • Your password is shared by multiple users, leading to high risk of compromise.
    • You cannot limit the access permission of other users, which is easy to pose a security risk due to faulty operations.

    This is exactly why CAM has been developed. For a detailed description of CAM, see CAM Overview.

    After connecting to CAM, you can allow different users to manage different services through sub-accounts so as to avoid the above problems. By default, a sub-account doesn't have permission to use a TencentDB instance or related resources. Therefore, you need to create a policy to grant the required permission to the sub-account.

    A policy is a syntax rule used to define and describe one or more privileges. It can authorize or deny the use of the designated resources by a user or user group. For more information on CAM policy, see Policy Syntax. For more information on how to use a CAM policy, see Policy.

    If you do not need to manage the access permission to TencentDB resources for sub-accounts, you can skip this chapter. This will not affect your understanding and usage of other parts in the documentation.

    Getting Started

    A CAM policy must authorize or deny the use of one or more TencentDB operations. At the same time, it must specify the resources that can be used for the operations (which can be all resources or partial resources for certain operations). A policy can also include the conditions set for the manipulated resources.

    • You are recommended to manage TencentDB resources and authorize TencentDB operations through CAM policies. Although the experience stays the same for existing users who are granted permission by project, it is not recommended to continue managing resources and authorizing operations in a project-based manner.
    • Effectiveness conditions cannot be set in TencentDB for the time being.
    Task Link
    Learn more about the basic policy structure Policy Syntax
    Define operations in a policy TencentDB Operations
    Defines resources in a policy TencentDB Resource Path
    Resource-level permission supported by TencentDB Resource-level Permission Supported by TencentDB
    Console sample Console Sample

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help