C

Cloudsmith API

REST discovered

Details
URL
https://api.cloudsmith.io/
Docs
https://docs.cloudsmith.com/api
Authentication
Cloudsmith API key api_key discovered Get key ↗

In the Cloudsmith web app, open your user settings API key page as described in API Keys to view or manage your personal API key. You can also retrieve it with the CLI using cloudsmith login as noted in Cloudsmith CLI.

Cloudsmith service account API key api_key discovered Get key ↗

Create a service account from the Cloudsmith workspace/team settings described in Service Accounts. Service accounts provide a Cloudsmith API key not tied to a specific user, for automation and machine use.

Cloudsmith OIDC-issued JWT/API token jwt discovered Get key ↗
X-Api-Key: <credential>

Configure OpenID Connect in Cloudsmith following OpenID Connect. After setting up an external IdP/workload identity mapping, obtain a JWT from Cloudsmith's OIDC flow; the docs state this token works with Cloudsmith API endpoints and can be used like an API key in the X-Api-Key header.