cockroachdb/cockroach

Explicit auth with TEMP tokens

開放

#56,577 建立於 2020年11月11日

 (6 則留言) (0 個反應) (0 位負責人)Go (4,124 個分叉)batch import
C-wishlistT-disaster-recoverygood first issue

倉庫指標

星標
 (32,150 顆星)
PR 合併指標
 (平均合併 5天 4小時) (30 天內合併 26 個 PR)

描述

Informs #56536

Use of external storage temp tokens, together with explicit authentication is dangerous. In general, explicitly specified tokens could expire while long running operation (backup, restore) is still executing, without any way for us to regenerate such temp token.

We should error out if external storage URI uses temporary credentials for backup, restore, import, scheduled backup and cdc.

We should also provide an extra URI parameter for the user to specify if they really wish to override this behavior: "&REALLY_USE_TEMP_CREDENTIALS"

Epic CRDB-71

Jira issue: CRDB-2924

貢獻者指南