Lab 11 - KEEP Configuration
The Domino REST API provides extensive configuration capabilities to cater to different usage scenarios
Duration 20 min
What you will learn
- FineTune KEEP configuration
- Switch on/off API endpoints
Prerequisites
- Domino running
Steps
All configuration settings are kept in JSON files you place in keepcofig.d
Files are loaded in alphabetical order. When you have conflicting entries, the last one wins. After a change the REST API needs to be reloaded.
Update CORS settings
{
"CORS": {
"localhost": true,
".local": false,
"yourDomain.com": true
}
}
Disable PIM access
{
"versions": {
"pim": {
"active": true
}
},
"verticles": {
"PIM": {
"active": false
},
"Firehose": {
"active": false
}
}
}
Disable Admin Endpoints and UI
{
"versions": {
"setup": {
"active": false
}
},
"verticles": {
"Design": {
"active": false
},
"KeepAdmin": {
"active": false
}
},
"webapps": {
"webjars": {
"active": false
}
}
}
Enable OAuth
{
"oauth": {
"active": true,
"database": "oauth.nsf",
"authCodeExpiresIn": 120,
"accessTokenExpiresIn": 3600,
"refreshTokenExpiresIn": 525600,
"url": "http://localhost:8880"
}
}
How to check
- check with swagger
- check with curl
Things to explore
- Official Domino REST API documentation
- Discord discussion
- Mess with other parameters:
- disable Domino login
- enable Preview features
- update NsfExclusions
Last update:
November 25, 2023