JFrog · Arazzo Workflow

JFrog Platform Rotate Access Token

Version 1.0.0

Issue a fresh platform token then revoke a superseded one.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArtifactoryCI/CDContainer RegistryDevOpsMLOpsPackage ManagementSecuritySoftware Supply ChainArazzoWorkflows

Provider

jfrog

Workflows

rotate-access-token
Create a new token, verify it, and revoke the old one.
Creates a replacement access token, reads its metadata to confirm, then revokes the supplied old token id.
3 steps inputs: oldTokenId, scope, subject outputs: newTokenId, revokedTokenId
1
createToken
Create a replacement access token with the supplied scope and subject.
2
confirmNewToken
Read the new token metadata back to confirm it was issued before revoking the old one.
3
revokeOldToken
Revoke the superseded token so only the freshly issued credential remains valid.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: JFrog Platform Rotate Access Token
  summary: Issue a fresh platform token then revoke a superseded one.
  description: >-
    A token rotation flow through the JFrog Platform access endpoints. The
    workflow creates a new access token, confirms it by reading its metadata,
    then revokes the previously issued token so only the new credential remains
    valid. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: jfrog-access-tokens-api-openapi.yml
      confidence: 0.72
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: accessTokensApi
  url: ../openapi/jfrog-access-tokens-api-openapi.yml
  type: openapi
workflows:
- workflowId: rotate-access-token
  summary: Create a new token, verify it, and revoke the old one.
  description: >-
    Creates a replacement access token, reads its metadata to confirm, then
    revokes the supplied old token id.
  inputs:
    type: object
    required:
    - scope
    - oldTokenId
    properties:
      scope:
        type: string
        description: The scope for the new token.
      subject:
        type: string
        description: The subject for the new token.
      oldTokenId:
        type: string
        description: The id of the token being rotated out and revoked.
  steps:
  - stepId: createToken
    description: >-
      Create a replacement access token with the supplied scope and subject.
    operationId: createToken
    requestBody:
      contentType: application/json
      payload:
        subject: $inputs.subject
        scope: $inputs.scope
        refreshable: true
        description: Rotation replacement token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      newTokenId: $response.body#/token_id
      accessToken: $response.body#/access_token
  - stepId: confirmNewToken
    description: >-
      Read the new token metadata back to confirm it was issued before revoking
      the old one.
    operationId: getToken
    parameters:
    - name: tokenId
      in: path
      value: $steps.createToken.outputs.newTokenId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tokenId: $response.body#/token_id
  - stepId: revokeOldToken
    description: >-
      Revoke the superseded token so only the freshly issued credential remains
      valid.
    operationId: revokeToken
    parameters:
    - name: tokenId
      in: path
      value: $inputs.oldTokenId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      revokedTokenId: $inputs.oldTokenId
  outputs:
    newTokenId: $steps.createToken.outputs.newTokenId
    revokedTokenId: $steps.revokeOldToken.outputs.revokedTokenId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/jfrog-platform-rotate-access-token-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.