C
Contentstack CLI
Details
- Command
-
csdx - Docs
- https://www.contentstack.com/docs/developers/cli
Authentication
User authtoken api_key discovered
$ csdx auth:login Authtokens are user session tokens returned by the Contentstack login API after signing in. The API docs say to use the Log in to your account request under Content Management API user session to retrieve it; browser sessions can also expose it in developer tools. See Content Management API, Administration API, and Analytics API.
Management token api_key discovered
$ csdx auth:tokens:add --management Acquired by the CLI — running csdx auth:tokens:add --management opens the auth flow and stores the credential.
Delivery token api_key discovered
$ csdx auth:tokens:add --delivery Acquired by the CLI — running csdx auth:tokens:add --delivery opens the auth flow and stores the credential.