Skip to content

Conversation

@rilac1
Copy link
Member

@rilac1 rilac1 commented Oct 14, 2023

🎯 작업 내역

  • 알림톡 플랫폼을 네이버 클라우드로 사용하기로 결정되었어요. - Slack
  • NCP 알림톡 전송 API의 명세를 작성하였어요.
  • 우선은 문서대로 스펙만 잡아둔거라 생성자나 팩토리, 시크릿 주입 등은 추후에 다듬을 예정이에요.

참고 문서

📜 Jira 티켓

📁 영향범위 (모듈)

📒 SQL (DDL 변경사항 있는 경우만)

---
Resolves: # See also: #

@rilac1 rilac1 added the ✨ Feature Introduce new features. label Oct 14, 2023
@rilac1 rilac1 requested a review from rlaxowns7916 October 14, 2023 09:42
@rilac1 rilac1 self-assigned this Oct 14, 2023
Comment on lines +16 to +17
@RequestHeader("x-ncp-apigw-x-ncp-iam-access-key") subAccountAccessKey: String,
@RequestHeader("x-ncp-apigw-signature-v2") apiGatewaySignature: String, // HmacSHA256
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accessKey는 ncp 제공일 듯 한 것 같은데, signature는 어떤 용도로 사용되나요? 내부 메세지 암호화인가요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그런 것 같네요,,
암호화가 언제 적용되는지는 아직 파악해보지 못하였어요.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 아니었었군요,,
API 인증키를 생성하면 Key Id와 시크릿이 생성되는데요,
발급받은 시크릿을 사용하여 Signature를 생성해서 요 값을 키로 사용하는 것 같네요.

스크린샷 2023-10-22 오후 3 07 17

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signature 생성 방법
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature Introduce new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants