Skip to content
Maua.Culturewire

Cloudsmith

Cloudsmith repositories, packages and artifacts

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. In cloudsmith.io open your avatar menu → “User Settings” → “API Key” (it asks you to confirm your password).
    2. Copy your API key: it acts with the same permissions as your user.
    3. For automations it is better to create a service account (the organization's “Service Accounts”) with limited permissions and use its own key. Entitlement tokens only work to download packages, not for the API.

    Get credentials (opens in a new tab)

Tools (1)

  • Cloudsmith API requestCLOUDSMITH_SEND_REQUEST

    Authenticated call to the Cloudsmith API (https://api.cloudsmith.io/v1). Any endpoint of the API is allowed. Examples (paths end in /): GET /orgs/, GET /repos/{owner}/, GET /packages/{owner}/{repository}/?query=name:foo, GET /packages/{owner}/{repository}/{identifier}/, GET /entitlements/{owner}/{repository}/.

    Required scopes

    No scopes required

    Input

    Cloudsmith API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.