feat(deploy): 백업에 전용 R2 자격증명 지원 - #15
Merged
Merged
Conversation
프리픽스로만 나누면 미디어와 백업이 같은 토큰을 공유한다. 토큰이 유출되면 둘 다 노출되고, 버킷 단위 실수가 백업까지 지운다. BACKUP_ACCESS_KEY / BACKUP_SECRET_KEY / BACKUP_ENDPOINT 를 지정하면 그걸 쓰고, 없으면 STORAGE_* 로 대체한다. 이미 돌고 있는 서버가 멈추지 않게 하려는 것이다. 전용 버킷을 기본값으로 바꾸고, 프리픽스 방식은 토큰이 버킷 단위로 묶여 있는 경우의 대안으로 주석에 남긴다.
likell1
added a commit
that referenced
this pull request
Aug 20, 2026
feat(deploy): 백업에 전용 R2 자격증명 지원
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
프리픽스로만 나누면 미디어와 백업이 같은 토큰을 공유합니다.
BACKUP_ACCESS_KEY/BACKUP_SECRET_KEY를 지정하면 그걸 쓰고, 없으면STORAGE_*로 대체합니다(기존 서버가 멈추지 않도록).