Skip to main content

3 docs tagged with "auth"

View all tags

CI Integration

Guide for running the Now SDK in CI/CD pipelines: non-interactive authentication for now-sdk install, validating that keys.ts is committed via now-sdk build --frozenKeys, and the conventions that keep pipeline runs reproducible.

Developing ServiceNow Apps with the Now SDK

Guide for ServiceNow app development using the Now SDK: project setup, fluent authoring, build/deploy workflow, and CLI reference. Start here when working on a new ServiceNow application or with the Now SDK before consulting artifact-specific guides.

Printing an Auth Token for Manual API Calls

now-sdk auth --print outputs a live authentication token for a stored credential so you can call any ServiceNow REST API by hand. It resolves the credential the same way the SDK does at request time (refreshing an OAuth access token, or negotiating a fresh UI session for basic auth) and writes the result to stdout so it drops straight into curl or a shell variable.