A small example showing delegated authentication (JWT) subject macros that reference values in the JWT. Note these macros are only valid in scoped signing keys (templates)
The macros are:
name()
- thename
field in the user JWT - note this shouldn't be used unless names are guaranteed to not have spaces.subject()
- the users public key (subject)account-name()
- thename
field in the account account JWT - note this shouldn't be used unless names are guaranteed to not have spaces.account-subject()
the account public keytag(name)
- an user tag in the form name:value