tencent cloud

Feedback

API Authentication Upgrade

Last updated: 2023-07-05 16:42:03

    As required by the security requirements of Tencent Cloud, APIs that are directly accessed now require CAM authentication for access starting from March 31, 2023. To ensure that you can continue to use these APIs normally after the upgrade, go to the CAM console to grant the access permissions for them.

    Note

    • If you have already authorized, the authentication upgrade will have no impact on your business; otherwise, you should authorize first before calling APIs.

    Effective Time

    Friday, March 31, 2023.

    APIs That Require CAM Authentication (46 in Total)

    APIDescription Authorization Granularity
    DescribeSSLStatusQueries whether SSL is enabled. If it is enabled, the download link for the certificate will be returned synchronously.Operation-level
    DescribeAuditPoliciesQueries the instance audit policyResource-level
    DescribeDBPriceQueries the price of a database instanceResource-level
    OpenAuditServiceEnables the audit serviceOperation-level
    OpenSSLEnables SSL connectionResource-level
    DescribeDBInstanceGTIDQueries whether GTID is enabled for the instanceResource-level
    DeleteAuditRuleDeletes the audit policyOperation-level
    CreateAuditRuleCreates an audit ruleOperation-level
    CloseSSLDisables SSL connectionResource-level
    ModifyAuditRuleModifies the audit ruleOperation-level
    DescribeDBFeaturesQueries database version attributes, including supported features such as database encryption and audit.Resource-level
    DescribeDBDiskInfoQueries the disk information of the TencenDB physical machineResource-level
    ModifyDBInstanceReadOnlyStatusSets TencenDB for MySQL instance to be read-onlyResource-level
    OpenTransparentSlaveAccessEnables the read-only access to the replica serverResource-level
    SwitchDrMasterRolePerforms a disaster recovery failbackResource-level
    DescribeDBInstanceProcessQueries the instance active threadsResource-level
    DescribeDataBackupSavePlanQueries the database backup retention plan for the next yearResource-level
    EndReservedRollbackInstanceDisables version rollback after version upgrade, which indicates that you can’t roll back the instance version from v5.7 to v5.6.Resource-level
    BatchUpgradeDBInstanceUpgrades or downgrades TencentDB instance configurations in batches, which can be applied for a source instance, disaster recovery instance, or read-only instanceResource-level
    DescribeSupportDeviceClassObtains the supported placement group modelOperation-level
    CheckDrInstanceRecoveryVerifies whether a disaster recovery failback can be performed. Before promoting the disaster recovery instance to the source instance, you can use this API to verify the delay between these two instances and their GTIDs. If the verification is successful, the disaster recovery instance can be promoted to the source instance and a disaster recovery failback can be performed.Resource-level
    StartReplayEnables point-in-time replay to a specific time or position.Resource-level
    DescribeSwitchableInstanceListObtains the list of all instances to be switched Resource-level
    DescribeInstanceGTIDInfoQueries GTID informationResource-level
    CloseTransparentSlaveAccessDisables the read-only access to the replica serverResource-level
    CheckIpInSubnetVerifies whether an IP is within a subnetOperation-level
    RollbackDBInstanceEngineVersionRolls back the instance that initiated the version upgrade. Currently, this is only supported for upgrading from v5.6 to v5.7, that is, only v5.7 can be rolled back to v5.6Resource-level
    UnAssociateSecurityGroupsUnassociates security groups from instances in batchesResource-level
    TransferPreToPostSwitches from monthly subscription to pay-as-you-go billingResource-level
    TerminateInstanceAutoTuneCancels parameter tunning task, which is only supported for incomplete task with instances that have not been terminated.Resource-level
    SubmitBatchOperationSubmits batch import tasksResource-level
    StartInstanceAutoTuneInitiates parameter tunning taskResource-level
    ModifyRollbackInstanceSyncStatusIgnores errors in data sync during the rollback version process after version upgradeResource-level
    ModifyProtectModeModifies the sync mode of the instanceResource-level
    ModifyManualBackupNameModifies the alias of a manual backupResource-level
    ModifyBackupInfoModifies the backup informationResource-level
    DescribeTimeWindowSwitchForZone Gets the list of regions where the maintenance window is disabled. This means that the switch tasks initiated within the maintenance window are all invalid, and no switch is performed..Operation-level
    DescribeMonitorDataGets the instance monitoring dataResource-level
    DescribeBatchJobFileContentGets batch import SQL filesOperation-level
    DescribeBackupDownloadDbTableCodeQueries the download position of sharded databases and tablesResource-level
    DeleteTimeWindowSwitchForZoneDeletes a region where any switch tasks initiated by users during the maintenance window will still be valid within the maintenance window.Operation-level
    DeleteReadOnlyInstanceIpDeletes the exclusive VIP for a read-only instanceResource-level
    DeleteBatchJobFilesDeletes the list of batch import SQL files submitted by usersOperation-level
    CreateBatchJobFilesImports and exports SQL files in batchesOperation-level
    CancelBatchOperationStops batch import taskOperation-level
    AddPartSqlFileSaves parts information when a large SQL file is divided into multiple parts for uploadingOperation-level

    ##Authorization Guide

    1. Log in to the CAM console.
    2. Click Policies on the left sidebar.

    Resource-level APIs
    Select Create Custom Policy > Create by Policy Generator to configure policy parameters.

    • Service: TencentDB for MySQL
    • Resource: Select Specific resources or All resources.

    Operation-level APIs
    Select Create Custom Policy > Create by Policy Generator to configure policy parameters.
    -Service: TencentDB for MySQL

    • Resource: Select All resources.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support