cockroachdb/cockroach

Explicit auth with TEMP tokens

オープン

#56,577 opened on 2020/11/11

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Go (4,124 件のフォーク)batch import
C-wishlistT-disaster-recoverygood first issue

Repository metrics

Stars
 (32,150 個のスター)
PR merge metrics
 (平均マージ 5d 4h) (30d で 26 merged PRs)

説明

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

コントリビューターガイド