Skip to content

dumpling & lightning: the log prints S3 ak/sk in plain text #59086

@apollodafoni

Description

@apollodafoni

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

S3 ak/sk should be coded in log

3. What did you see instead (Required)

[2025/01/20 18:01:57.436 +08:00] [ERROR] [dump.go:364] ["write access meta fail ,open s3://tmp/dumpling-outputc1fa1fbe-f2ff-4c12-83cd-76cf49d8dda9?access-key=minioadmin&secret-access-key=minioadmin&endpoint=http%3a%2f%2fminio-peer%3a9000&force-path-style=true/accessmeta: no such file or directory"]
Image

4. What is your TiDB version? (Required)

master

Metadata

Metadata

Assignees

No one assigned

    Labels

    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.affects-8.5This bug affects the 8.5.x(LTS) versions.component/dumplingThis is related to Dumpling of TiDB.component/lightningThis issue is related to Lightning of TiDB.severity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions