Skip to content

br backup to aliyum OSS not support ak/sk as env #45551

@knull-cn

Description

@knull-cn

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. set env AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  2. br full backup --s3.provider "alibaba" --s3.endpoint "xxx" xxxxx

2. What did you expect to see? (Required)

access OSS sucess

3. What did you see instead (Required)

access by RAM first
get AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY by env args was latter by s3 lib

4. What is your TiDB version? (Required)

v7.1.0
(OSS was import in v6.1.0 ,so this bug was in >= v6.1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.component/brThis issue is related to BR of TiDB.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.severity/moderatetype/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions