v0.0.36 | Upbit API 자격증명 관리 기능 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 2m31s

- CustomUser 모델에 Upbit access/secret key 암호화 필드 추가
- UpbitCredentialsView: 자격증명 저장/조회(마스킹)/삭제 API
- UpbitSecretKeyView: 복호화된 키 조회 API (내부 서비스 호출용)
- 마이그레이션 파일 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 23:26:01 +09:00
parent 7614dcb888
commit 963fd4c103
5 changed files with 171 additions and 1 deletions

View File

@ -14,6 +14,8 @@ from .views import (
GoogleLoginView, GoogleLinkWithPasswordView, GoogleLinkView, GoogleUnlinkView,
# 사이트 설정
SiteSettingsView,
# Upbit API 자격증명
UpbitCredentialsView, UpbitSecretKeyView,
)
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView, TokenVerifyView
from .views_jwks import jwks_view # django-jwks
@ -56,4 +58,7 @@ urlpatterns = [
path('auth/google/unlink/', GoogleUnlinkView.as_view(), name='google_unlink'),
# 사이트 설정
path('settings/', SiteSettingsView.as_view(), name='site_settings'),
# Upbit API 자격증명
path('upbit/', UpbitCredentialsView.as_view(), name='upbit_credentials'),
path('upbit/keys/', UpbitSecretKeyView.as_view(), name='upbit_keys'),
]