segmentstream ontology api-key create
Create a service user with roles of the deployed ontology and print its API key once. NAME names the service, for example the website. With --delegation the key holds no role and acts only for the member each request names: the credential of an external agent the workspace trusts.
Usage
Command syntax
segmentstream ontology api-key create [OPTIONS] NAMEOptions
--role ROLE- A role declared in the ontology, such as intake. Repeat for several roles.
--delegation- Act only for the member each request names, in X-SegmentStream-Act-As, through their chat account, with that member's roles. Never together with --role.
--label LABEL- What the key is for (defaults to NAME)
--workspace UUID- Override the linked workspace
--output [table|json]- [default: table]
--api-url URL- SegmentStream control-plane origin
--organization ORG-ID- Organization for this command
--help- Show this message and exit.