forked from Seo-yul/APIM-GITBOOK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb530a0
commit e8f9e21
Showing
68 changed files
with
199 additions
and
109 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
description: APIM에서 사용하는 AWS Credentials를 관리합니다. | ||
--- | ||
|
||
# AWS Credentials | ||
|
||
<figure><img src="../../.gitbook/assets/image (79).png" alt=""><figcaption></figcaption></figure> | ||
|
||
APIM에서 API 생성 시, lambda type을 생성하기 위해 AWS Credentials 정보가 필요합니다. | ||
|
||
필요한 정보는 다음과 같습니다. **AWS Access Key ID**, **AWS Secret Access Key** | ||
|
||
올바른 값을 입력하고 오른쪽 위 <mark style="background-color:blue;">저장</mark> 버튼을 눌러 과정을 진행합니다. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
description: API jwt 정책의 JWT KEY를 관리합니다. | ||
--- | ||
|
||
# JWT | ||
|
||
<figure><img src="../../.gitbook/assets/image.png" alt=""><figcaption><p>JWT 홈</p></figcaption></figure> | ||
|
||
## JWT 란? | ||
|
||
jwt 정책을 사용하기 위해서 먼저 JWT에 대해서 알아봅니다. | ||
|
||
JSON Web Token (JWT)은 웹 표준으로, 데이터를 안전하게 전달하기 위한 컴팩트하고 자가수용적인 방법을 정의하는 토큰입니다. JWT는 클레임을 JSON 객체로 안전하게 전송하기 위한 방법으로 사용됩니다. | ||
|
||
JWT는 세 부분으로 구성됩니다: Header(헤더), Payload(내용), Signature(서명). 이 세 부분은 Base64 URL로 인코딩되어 하나의 문자열로 합쳐집니다. | ||
|
||
자세한 내용은 [jwt.io](https://jwt.io/)를 참고합니다. | ||
|
||
## jwt 정책 사용하기 | ||
|
||
### JWT KEY 생성 | ||
|
||
jwt 정책을 API에 적용하였다면, 인증을 위한 토큰이 필요합니다. 이를 위하여 오른쪽 <mark style="background-color:blue;">JWT KEY 생성</mark> 버튼을 눌러 JWT KEY와 JWT SECRET 발급화면으로 이동합니다. | ||
|
||
APIM에서는 JWT 사용 방법으로 **HS256**과 **RS256** 두 가지 알고리즘을 지원합니다. | ||
|
||
* HS256 | ||
|
||
<figure><img src="../../.gitbook/assets/image (75).png" alt=""><figcaption></figcaption></figure> | ||
|
||
HS256 알고리즘을 사용하는 경우 자동으로 KEY와 SECRET을 생성해줍니다. | ||
|
||
* RS256 | ||
|
||
<figure><img src="../../.gitbook/assets/image (76).png" alt=""><figcaption></figcaption></figure> | ||
|
||
RS256 알고리즘을 사용하는 경우 사용자 정의에 따라 Public KEY와 Private KEY를 구성합니다. | ||
|
||
각 값을 확인하고, 오른쪽 아래 <mark style="background-color:blue;">생성</mark> 버튼을 눌러 생성을 진행합니다. | ||
|
||
생성을 완료하고 JWT 홈 화면으로 이동하면 아래 이미지 예시처럼 정상적으로 생성 완료된 JWT KEY를 조회할 수 있습니다. | ||
|
||
<figure><img src="../../.gitbook/assets/image (77).png" alt=""><figcaption></figcaption></figure> | ||
|
||
홈 화면에서 조회된 목록에서 **Active** **활성화/비활성화**를 전환하여 해당 JWT KEY 인증이 동작하지 않도록 할 수 있으며 사용에 주의해야 합니다.  | ||
|
||
또한, 가장 오른쪽의 <mark style="background-color:blue;">X</mark> 버튼으로 삭제할 수 있습니다. | ||
|
||
### JWT 정책 사용 가이드 | ||
|
||
API Gateway는 설정에 따라 API 요청 시 포함되는 JWT 토큰 검증을 수행합니다. | ||
|
||
RequiredPath / NotRequiredPath 설정을 통해 jwt 토큰 검증을 수행하지 않는 Method 및 Path 설정이 가능합니다. 예시) GET\_/login (요청 시, jwt 토큰이 없기 때문에 jwt 토큰 검증을 미수행해야 하는 Path) | ||
|
||
HTTP Request Header에 **authorization: bearer {JWT Token}**의 형태로 설정 합니다. | ||
|
||
JWT 정책이 적용된 API에 대하여 Authorization Header가 없는 경우, API를 정상 호출할 수 없음에 유의 바랍니다. | ||
|
||
#### 참고하기 | ||
|
||
[jwt 사용 방법](https://jwt.io/introduction) | ||
|
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
apim-1/gateway/undefined.md → apim-console/gateway/gateway-create.md
This file contains 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
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
undefined-1/undefined-1/README.md → devportal/devportal-admin/README.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
description: 개발자 포탈 관리자만의 역할과 기능에 관하여 소개합니다. | ||
description: 개발자 포털 관리자만의 역할과 기능에 관하여 소개합니다. | ||
--- | ||
|
||
# 개발자 포탈 관리자의 역할 | ||
# 개발자 포털 관리자의 역할 | ||
|
||
<figure><img src="../../.gitbook/assets/image (46).png" alt=""><figcaption></figcaption></figure> | ||
|
||
개발자 포탈에서는 개발자 포탈 관리자와 프로젝트 관리자 그리고 프로젝트 멤버의 역할이 구분되어 있습니다. | ||
개발자 포털에서는 개발자 포털 관리자와 프로젝트 관리자 그리고 프로젝트 멤버의 역할이 구분되어 있습니다. | ||
|
||
개발자 포탈 관리자의 역할을 알아봅니다. | ||
개발자 포털 관리자의 역할을 알아봅니다. | ||
|
||
관리자는 포탈 로그인 후, 우측 상단 로그인 아이콘의 좌측에서 <mark style="background-color:blue;">Developers 관리자</mark>버튼을 통해 관리자 전용 페이지로 이동할 수 있습니다. | ||
관리자는 포털 로그인 후, 우측 상단 로그인 아이콘의 좌측에서 <mark style="background-color:blue;">Developers 관리자</mark> 버튼을 통해 관리자 전용 페이지로 이동할 수 있습니다. | ||
|
||
<figure><img src="../../.gitbook/assets/image (45).png" alt="" width="139"><figcaption></figcaption></figure> | ||
|
||
관리자 전용 페이지에서는 다음과 같은 기능을 제공합니다. | ||
|
||
<table><thead><tr><th width="231">이름</th><th>설명</th></tr></thead><tbody><tr><td>Home 관리</td><td>Developers 포탈 Home 화면을 설정</td></tr><tr><td>Menu 관리</td><td>메뉴 구조를 설정하고, 메뉴별 Contents를 작성</td></tr><tr><td>Product 관리</td><td>Product 목록으로, Product는 여러 API의 묶음으로 구성</td></tr><tr><td>API 사용 요청 관리</td><td>API 사용 요청에 대한 승인 및 반려</td></tr><tr><td>설정</td><td>포럼 활성화, IP Whitelist 기능, Origin/Copied API 게시, API KEY 갱신 권한, API 이름 정렬, Swagger API 숨김, API 중복 추가 설정</td></tr></tbody></table> | ||
<table><thead><tr><th width="231">이름</th><th>설명</th></tr></thead><tbody><tr><td>Home 관리</td><td>Developers 포털 Home 화면을 설정</td></tr><tr><td>Menu 관리</td><td>메뉴 구조를 설정하고, 메뉴별 Contents를 작성</td></tr><tr><td>Product 관리</td><td>Product 목록으로, Product는 여러 API의 묶음으로 구성</td></tr><tr><td>API 사용 요청 관리</td><td>API 사용 요청에 대한 승인 및 반려</td></tr><tr><td>설정</td><td>포럼 활성화, IP Whitelist 기능, Origin/Copied API 게시, API KEY 갱신 권한, API 이름 정렬, Swagger API 숨김, API 중복 추가 설정</td></tr></tbody></table> | ||
|
This file contains 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
Oops, something went wrong.