cockroachdb/cockroach

Explicit auth with TEMP tokens

Aberta

#56.577 aberto em 11 de nov. de 2020

 (6 comentários) (0 reação) (0 responsável)Go (4.124 forks)batch import
C-wishlistT-disaster-recoverygood first issue

Métricas do repositório

Stars
 (32.150 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 4h) (26 fundiu PRs em 30d)

Description

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

Guia do colaborador