otdfctl dev selectors gen
gen - Generate a set of selector expressions for keys and values of a Subject Context
Synopsis
otdfctl dev selectors gen [flags]
Description
Take in a representation of some Subject Context, such as that provided by an Identity Provider (idP), LDAP, or OIDC Access Token JWT, and generate sample jq syntax expressions to employ within Subject Condition Sets to parse that external Subject Context into mapped Attribute Values.
Options
-s
,--subject <subject>
- A Subject Context string (JSON or JWT, default JSON) (required:
false
)
-t
,--type <type>
- The type of the Subject Context: [json, jwt] (required:
false
) (default:json
)