What are ExtraClaims¶
ExtraClaims allow a token to have a broader set of permissions in the very narrow context of the task they are set on. If you need a task to have the ability to do an action, for example if you want to query the value of a param for some profile; the default machine token that will be used in the task will not have access. You will get a 404 result from the command causing the task to exit with a status 1, which can lead to confusion.
Solution¶
ExtraClaims is a definition that can be added to the task to allow the fine grain control you need. The following example shows what you would add to your task to add the ability for the task to query a profile for a param.
Valid actions are: get (single item), list (list of items), update and delete.
Additional Information¶
See Also¶
Keywords¶
drpcli,auth,token,claims,claim,extraclaims