Skip to content
Snippets Groups Projects
Unverified Commit 81b056a4 authored by Gabriel Zachmann's avatar Gabriel Zachmann Committed by GitHub
Browse files

Feat/server profiles (#182)

parents 2c822035 7dc55226
No related branches found
No related tags found
No related merge requests found
Pipeline #323220 passed
Showing
with 73 additions and 0 deletions
......@@ -17,6 +17,10 @@
### Features
- Webinterface has option to show event history for other mytokens in mytoken list.
- Added server side `profiles` and `templates`
- Currently, cannot be used directly (only obtained through API), but the idea is to integrate this into the API
requests, i.e. mytoken requests can include profiles, the capability, restrictions, and rotation claims can use
templates (directly or included). This would then also be integrated in the webinterface.
### Enhancements
......@@ -30,6 +34,11 @@
### API
- Added profile endpoint:
- Any user can get list of groups
- Any user can get profiles, and templates (capabilities, restrictions, rotation) for all the groups
- Groups credentials are defined in the config file
- With Basic authentication profiles and templates for the authenticated group can be created, updated, and deleted.
- Renamed `revocation_id` to `mom_id`
- Restructured capabilities related to other mytokens
- Added possibility to obtain history information for children and other tokens (capability)
......
[
"AT",
"tokeninfo",
"manage_mytokens",
"create_mytoken",
"settings"
]
\ No newline at end of file
[
"AT",
"tokeninfo"
]
\ No newline at end of file
{
"capabilities": "@all"
}
\ No newline at end of file
{
"exp": "+1d"
}
\ No newline at end of file
{
"exp": "+30d"
}
\ No newline at end of file
{
"exp": "+1w"
}
\ No newline at end of file
{
"exp": "+1y"
}
\ No newline at end of file
{
"hosts": [
"this"
]
}
\ No newline at end of file
{
"include": "at"
}
\ No newline at end of file
{
"on_AT": true
}
\ No newline at end of file
{
"auto_revoke": true
}
\ No newline at end of file
{
"lifetime": 86400
}
\ No newline at end of file
{
"lifetime": 2592000
}
\ No newline at end of file
{
"include": "no-at"
}
\ No newline at end of file
{
"on_AT": false
}
\ No newline at end of file
{
"auto_revoke": false
}
\ No newline at end of file
{
"on_other": false
}
\ No newline at end of file
{
"on_other": true
}
\ No newline at end of file
{
"lifetime": 604800
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment