這四個詞在 IT、資訊安全、系統管理 中很常一起出現,但其實分屬不同概念。可以先用一句話抓住差異:
Authentication 是「確認你是誰」;Credentials 是「拿什麼證明你是誰」;Certificates 是「由憑證機制證明身分或建立信任」;Licenses 是「你被授權可以使用什麼」。
| 英文 | 中文常見翻譯 | 核心問題 | 簡單理解 |
|---|---|---|---|
| Authentication | 身分驗證/認證 | 你是誰? | 驗證身分的「過程」 |
| Credentials | 身分憑證/認證資料 | 你拿什麼證明? | 證明身分的「資料/憑據」 |
| Certificates | 憑證/數位憑證 | 這個身分是否可信? | 由憑證機構或 PKI 建立的「數位身分證明」 |
| Licenses | 授權/授權證/許可證 | 你可以使用什麼? | 使用軟體、功能或服務的「權利」 |
1. Authentication:身分驗證
Authentication(AuthN) 是一個「動作/流程」。
系統收到你的登入要求後,要確認:
「你是不是你所聲稱的那個人?」
例如:
使用者輸入帳號 + 密碼
↓
Authentication
↓
驗證成功
↓
確認使用者身分
常見 Authentication 方法:
- Username + Password
- PIN
- MFA / 2FA
- 指紋
- Face ID
- Smart Card
- Digital Certificate
- API Key
- OAuth Token
所以 Authentication 本身不是一組帳號密碼,而是「驗證身分的過程」。
2. Credentials:身分憑證/認證資料
Credentials 是拿來進行身分驗證的「東西」。
例如:
Username
Password
PIN
API Key
SSH Private Key
Smart Card
Security Token
都可以稱為 Credentials。
例如你登入 Windows:
Username: Jacky
Password: ********
這組登入資訊就是你的 credentials。
因此:
Credentials → 提供證明
Authentication → 驗證這個證明
可以把它想成:
Credentials
↓
「這是我的證明」
↓
Authentication
↓
「系統確認證明有效」
↓
Authenticated
3. Certificates:數位憑證
這個最容易和 Credentials 混淆。
Certificate(憑證) 通常特指 Digital Certificate(數位憑證),例如:
- SSL/TLS Certificate
- X.509 Certificate
- Client Certificate
- Server Certificate
- Code Signing Certificate
它通常包含:
Subject → 憑證屬於誰
Public Key → 公開金鑰
Issuer → 誰簽發
Validity → 有效期限
Serial Number → 憑證序號
Digital Signature → 簽發者的數位簽章
例如你瀏覽:
https://example.com
瀏覽器會取得網站的 TLS Certificate,確認:
「這個網站的身分是否符合憑證所宣稱的身分?」
並透過 CA(Certificate Authority,憑證授權中心)建立信任鏈。
4. Credentials 與 Certificate 的關係
這裡是最重要的地方:
Certificate 可以是一種 Credential,但 Credential 不一定是 Certificate。
例如:
| 東西 | Credential? | Certificate? |
|---|---|---|
| Password | ✓ | ✗ |
| PIN | ✓ | ✗ |
| API Key | ✓ | ✗ |
| SSH Key | ✓ | 通常不是 |
| Smart Card | ✓ | 可能包含 |
| X.509 Certificate | ✓ | ✓ |
| TLS Certificate | ✓ | ✓ |
所以可以把:
Credentials 看成一個大集合
而 Certificate 是其中一種比較特殊的數位身分憑證。
5. Licenses:授權
License 跟前面三個最大的不同,是它不是在回答:
「你是誰?」
而是在回答:
「你有沒有權利使用這個東西?」
例如你購買 Microsoft Office:
User
↓
Authentication
↓
確認你是 Jacky
↓
License Check
↓
確認 Jacky 有 Office 使用授權
↓
允許使用
所以:
Authentication ≠ Authorization ≠ License
這三個概念也很容易混。
6. Authentication 與 Authorization
建議你另外把 Authorization 一起記住。
| 概念 | 問題 |
|---|---|
| Authentication | 你是誰? |
| Authorization | 你可以做什麼? |
| License | 你被授權使用什麼? |
例如你登入 GLPI:
Username + Password
↓
Authentication
↓
確認你是 Jacky
↓
Authorization
↓
確認 Jacky 可以管理 Assets
↓
允許操作
而 License 則可能是:
GLPI / Plugin / Commercial Software
↓
License
↓
確認有沒有使用權
7. 用「公司大樓」來理解
這是我認為最好記的一種方式。
假設你要進公司大樓:
Credentials
你身上帶著:
員工證、密碼、門禁卡
這些就是 Credentials。
Authentication
警衛拿你的員工證核對:
「你是不是 Jacky?」
這個「核對身分」的過程就是 Authentication。
Certificate
如果你的員工證是由公司正式簽發、具有數位簽章的電子證件:
「這張證件確實是公司簽發的,而且沒有被竄改。」
這就是 Certificate 所強調的信任機制。
Authorization
警衛確認:
「Jacky 可以進 3 樓,但不能進機房。」
這就是 Authorization。
License
公司另外規定:
「Jacky 被授權使用這間會議室。」
這就是 License / 授權 的概念。
8. 在 IT 系統中可以畫成這樣
┌─────────────────┐
│ Credentials │
│ │
│ Password │
│ API Key │
│ Certificate │
│ Token │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Authentication │
│ 身分驗證 │
└────────┬────────┘
│
▼
「你是誰?」
│
▼
┌─────────────────┐
│ Authorization │
│ 授權控制 │
└────────┬────────┘
│
▼
「你可以做什麼?」
│
▼
┌─────────────────┐
│ Resource │
│ 系統 / 資料 │
└─────────────────┘
License
│
▼
「你有沒有使用這個
軟體/功能的權利?」
9. 如果是在 GLPI / IT 管理系統中看到這四個詞
你最近是在整理 GLPI 的介面/IT 管理術語,那我會建議中文不要全部都翻成「認證」或「憑證」,否則很容易混淆。
比較建議:
| 英文 | 建議中文 | 備註 |
|---|---|---|
| Authentication | 身分驗證 | 驗證使用者身分 |
| Credentials | 認證資料/身分憑據 | 帳密、Token、Key 等 |
| Certificate | 數位憑證 | X.509、SSL/TLS 等 |
| License | 授權/授權證 | 軟體或功能使用權 |
| Authorization | 授權/權限控制 | 使用者能做什麼 |
其中 License 與 Authorization 中文都可能翻成「授權」,但英文概念不同。
例如:
License = 你有沒有「使用這個軟體」的權利
Authorization = 你登入後有沒有「執行這個功能」的權限
這個區分在 GLPI、Windows Server、Linux、AD、LDAP、Microsoft 365、VMware、網路設備管理 等環境都非常重要。