Skip to content

Commit

Permalink
Document namespaces json changes (SOFTWARE-5768)
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Nov 21, 2023
1 parent 5cc2029 commit 35b0629
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ The JSON also contains an attribute `namespaces` that is a list of namespaces wi
Note that scopes are usually relative to the namespace path.
- `vault_server`: the Vault server for the `Vault` strategy or null
- `vault_issuer`: the Vault issuer for the `Vault` strategy (or null).
- `scitokens` is information about any `SciTokens` sections in the `Authorizations` list for that namespace (or the empty list if there are none). Each list item has:
- `issuer`: the value of the `Issuer` field in the scitokens block
- `base_path`: a list which is the value of the `BasePath` (or `Base Path`) field split on commas
- `restricted_path`: a list which is the value of the `RestrictedPath` (or `Restricted Path`) field split on commas, or the empty list if unspecified

The final result looks like
```json
Expand Down Expand Up @@ -567,6 +571,7 @@ The final result looks like
"dirlisthost": null,
"path": "/xenon/PROTECTED",
"readhttps": true,
"scitokens": [],
"usetokenonread": false,
"writebackhost": null
},
Expand All @@ -582,6 +587,11 @@ The final result looks like
"dirlisthost": "https://origin-auth2001.chtc.wisc.edu:1095",
"path": "/ospool/PROTECTED",
"readhttps": true,
"scitokens": {
"issuer": "https://osg-htc.org/ospool",
"base_path": ["/ospool/PROTECTED", "/s3.amazonaws.com/us-east-1", "/s3.amazonaws.com/us-west-1"],
"restricted_path": []
},
"usetokenonread": true,
"writebackhost": "https://origin-auth2001.chtc.wisc.edu:1095"
}
Expand Down

0 comments on commit 35b0629

Please sign in to comment.