Skip to content

[Feat] 이미지 업로드용 Azure Blob SAS 발급 (두 경로 지원)#19

Merged
xYunaL merged 16 commits into
devfrom
feat/#18-sas
Jun 6, 2026
Merged

[Feat] 이미지 업로드용 Azure Blob SAS 발급 (두 경로 지원)#19
xYunaL merged 16 commits into
devfrom
feat/#18-sas

Conversation

@xYunaL

@xYunaL xYunaL commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

🔗 Related Issue

📝 Summary

  • A: FE 가 Blob 에 직접 업로드(백엔드 우회)
  • B: FE 가 백엔드에서 쓰기 SAS 를 받아 업로드.

🚀 Key Changes

  • POST /api/v1/uploads/sas (인증) - 쓰기 SAS 발급
  • BlobStorageService: createReadSasUrl/extractStorageKey(A, B 공유 코어) + createUploadSas(Path B)
  • BlobStorageConfig: StorageSharedKeyCredential 기반 BlobContainerClient 빈, 오프라인 SAS 서명(키 없으면 placeholder로 로컬 기동)

💥 Breaking Changes

  • 없음 — 신규 엔드포인트·설정 추가만, 기존 API/스키마 변경 없음
  • 인증: 엔드포인트가 PUBLIC_ENDPOINTS에 없어 기존 SecurityConfig의 anyRequest().authenticated()로 자동 보호(설정 변경 없음)

@xYunaL xYunaL self-assigned this Jun 6, 2026
@xYunaL xYunaL added the ✨ feature New feature or request label Jun 6, 2026
@xYunaL xYunaL merged commit 1bb9388 into dev Jun 6, 2026
1 check passed
@xYunaL xYunaL deleted the feat/#18-sas branch June 6, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant