JFrog Artifactory · Arazzo Workflow

Artifactory Create Group-Scoped Access Token

Version 1.0.0

Create a group, then mint an access token scoped to that group for a user.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArtifactsDevOpsCI/CDdocker-registryMavenPackage ManagementRepositoryArazzoWorkflows

Provider

artifactory

Workflows

create-group-scoped-access-token
Provision a group and issue a group-scoped access token for a user.
Creates a group, then creates an access token whose scope grants membership of that group to the named user.
2 steps inputs: accessToken, expiresIn, groupName, username outputs: token, tokenScope
1
createGroup
Create the group that the access token will be scoped to.
2
createToken
Mint an access token for the user scoped to membership of the group that was just created.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Artifactory Create Group-Scoped Access Token
  summary: Create a group, then mint an access token scoped to that group for a user.
  description: >-
    A credential-provisioning flow for JFrog Artifactory. The workflow creates a
    group and then mints an access token for a user scoped to membership of that
    group, returning the token string ready for use as a Bearer credential.
    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: artifactory-security-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: securityApi
  url: ../openapi/artifactory-security-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-group-scoped-access-token
  summary: Provision a group and issue a group-scoped access token for a user.
  description: >-
    Creates a group, then creates an access token whose scope grants membership
    of that group to the named user.
  inputs:
    type: object
    required:
    - accessToken
    - groupName
    - username
    properties:
      accessToken:
        type: string
        description: Bearer access token used to authenticate the provisioning calls.
      groupName:
        type: string
        description: The group to create and scope the new token to.
      username:
        type: string
        description: The username the access token will represent.
      expiresIn:
        type: integer
        description: Token lifetime in seconds (0 means no expiration).
  steps:
  - stepId: createGroup
    description: Create the group that the access token will be scoped to.
    operationId: createOrReplaceGroup
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: groupName
      in: path
      value: $inputs.groupName
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.groupName
        description: Group scoped for token-based automation access.
        autoJoin: false
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      groupStatus: $statusCode
  - stepId: createToken
    description: >-
      Mint an access token for the user scoped to membership of the group that
      was just created.
    operationId: createAccessToken
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        username: $inputs.username
        scope: "member-of-groups:$inputs.groupName"
        expires_in: $inputs.expiresIn
        refreshable: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      token: $response.body#/access_token
      tokenType: $response.body#/token_type
      tokenScope: $response.body#/scope
      refreshToken: $response.body#/refresh_token
  outputs:
    token: $steps.createToken.outputs.token
    tokenScope: $steps.createToken.outputs.tokenScope

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/artifactory-create-group-scoped-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.