|
1 | 1 | DateReviewed: 2022-03-10 |
2 | 2 | ======= |
3 | | -Token Authentication/Authorization Infrastructure (AAI) Overview |
4 | | -================================================================ |
| 3 | +Bearer Token Overview |
| 4 | +===================== |
5 | 5 |
|
6 | | -Token Authentication/Authorization Infrastructure (AAI) is a security method used |
7 | | -for accessing compute and storage resources. |
8 | | -It was introduced in the OSG 3.5 series as the replacement for X.509 security. |
| 6 | +Bearer Tokens are a security method used for accessing compute and storage resources, |
| 7 | +introduced as a replacement for X.509. |
9 | 8 |
|
10 | | -Token AAI is built on the [JSON Web Token](https://jwt.io) standard; |
11 | | -supported implementations are [SciTokens](https://scitokens.org) |
12 | | -[WLCG Tokens](https://github.com/WLCG-AuthZ-WG/common-jwt-profile/blob/master/profile.md). |
| 9 | +Bearer Tokens are credential strings in the [JSON Web Token (JWT)](https://jwt.io) format; |
| 10 | +a JWT is a small piece of JSON data with a signature that can be verified. |
| 11 | +There are two JWT-based token standards that can be used with OSG software: [SciTokens](https://scitokens.org) |
| 12 | +and [WLCG Tokens](https://github.com/WLCG-AuthZ-WG/common-jwt-profile/blob/master/profile.md). |
13 | 13 |
|
| 14 | +X.509 proxies established identity (the DN in your subject) and group membership (VOMS FQANs). |
| 15 | +Servers made decisions about access based on those properties. |
| 16 | +Tokens also have 'scope' which can restrict the actions that can be done with the token. |
| 17 | +For example, a token used for storage access can restrict the files that can be read to a particular directory tree. |
| 18 | +Instead of using a single proxy, a job may have multiple tokens. |
| 19 | +For example the job could have one token granting it the ability to be run; |
| 20 | +it could have a token for read access to an input dataset, and a token for write access to a results directory. |
14 | 21 |
|
15 | | -Bearer Token Overview |
16 | | -===================== |
17 | 22 |
|
18 | 23 |
|
19 | 24 |
|
|
0 commit comments