Skip to content
SegmentStream/ Docs

Loading documentation…

↑ ↓ to navigate  ↵ to open  Esc to close
Website Console
Section menu

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] NAME

Options

--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.