|
|
The following configuration files are placed in _/opt/eudat/b2safe/conf_ :
|
|
|
|
|
|
- authz.map.json: it contains the assertions for the [authorization mechanism](https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/Documentation#authorization)
|
|
|
`{
|
|
|
```
|
|
|
{
|
|
|
"assertion 1":
|
|
|
{ "subject":
|
|
|
[ "jack, james, master*" ],
|
... | ... | @@ -10,19 +11,23 @@ The following configuration files are placed in _/opt/eudat/b2safe/conf_ : |
|
|
"target":
|
|
|
[ "*" ]
|
|
|
}
|
|
|
}`
|
|
|
}
|
|
|
```
|
|
|
the **subject** list can include iRODS user names, who are authorized to execute the actions listed in the **action** list against the targets of the **target** list. The wild character "*" is supported.
|
|
|
|
|
|
- credentials: they are the credentials for the python client which is the bridge between the B2SAFE and the PID registry
|
|
|
`{
|
|
|
```
|
|
|
{
|
|
|
"baseuri": "https://epic.sara.nl/v2_test/handles/",
|
|
|
"username": "XXX",
|
|
|
"prefix": "ZZZ",
|
|
|
"password": "YYYYYYYY",
|
|
|
"accept_format": "application/json",
|
|
|
"debug" : "False"
|
|
|
}`
|
|
|
The **baseuri**, the **username**, the **password** and the **prefix** are provided by the PID registry service provider. Pay attention to use the character "/" at the end of the **baseuri**. And do not set **debug** to "True" when you are executing the B2SAFE irods rules.
|
|
|
}
|
|
|
```
|
|
|
The **baseuri**, the **username**, the **password** and the **prefix** are provided by the PID registry service provider. Pay attention to use the character "/" at the end of the **baseuri**. And do not set **debug** to "True" when you are executing the B2SAFE irods rules.
|
|
|
In case you are using the new python client relying on the b2handle library for HSv8 look [here][1].
|
|
|
|
|
|
- log.manager.conf: this is the configuration for the logging mechanism
|
|
|
`{
|
... | ... | @@ -34,3 +39,5 @@ The **baseuri**, the **username**, the **password** and the **prefix** are provi |
|
|
> [Logging]
|
|
|
> log_level=INFO
|
|
|
> log_file=/var/log/irods/metadataManager.log
|
|
|
|
|
|
[1]: https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/Documentation#pid-service-epic-hsv8 "HSv8 credential" |
|
|
\ No newline at end of file |