Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

JFrog

Create an integration to manage access to JFrog repositories

JFrog Platform is a software supply chain platform. Its Artifactory component uses repositories to store and serve build artifacts and packages, such as Docker images, npm packages, and Maven artifacts.

Through this integration, Apono helps you discover JFrog repositories and securely manage temporary access to them for human users and AI agents.


Limitations

Before you integrate JFrog, review the following limitations:

  • Repository discovery: Apono discovers local and remote repositories, including those belonging to a JFrog project. Virtual, federated, release bundle, and build-info repositories are not discovered. To grant access through a virtual repository, request access to its member repositories.

  • Repository-level access: Apono grants access only to entire repositories. Access to specific paths within a repository is not supported.

  • Existing JFrog users: Human requesters must already have a JFrog user account, for example through SSO or SCIM. Apono does not create JFrog users for human requesters.


Prerequisites

Item
Description

Apono connector

On-prem connection serving as a bridge between a JFrog Platform instance and Apono:

Minimum Required Version: 1.3.2

Learn how to update an existing AWS, Azure, GCP, or Kubernetes connector.

JFrog Platform Account Access

JFrog Platform account (JFrog Cloud or self-hosted) with the following requirements:

  • Artifactory version 7.84.3 or later

  • A user with the Platform Administrator role

JFrog Platform URL

Base URL of your JFrog Platform, for example https://your-company.jfrog.io

The Apono connector must be able to reach this URL over HTTPS. NOTE: Enter only the root URL, without a path such as /artifactory or /ui.


Create a JFrog admin access token

Apono requires a JFrog access token with the Admin scope to discover repositories, manage access permissions, and create and delete JFrog users and tokens for AI agents.

Follow these steps to create the token:

  1. (Recommended) Create a dedicated admin user for Apono to distinguish changes made by Apono from those made by other administrators:

    1. In the JFrog Platform, go to Administration > User Management > Users.

    2. Click + New user.

    3. Enter a User Name (for example, apono-connector), an Email Address and a Password.

    4. Select Platform Administrator.

    5. Click Save.

  2. Go to Administration > User Management > Access Tokens, and click Generate Token.

  3. In the Token scope field, select Admin.

  4. In the User name field, enter the username of a JFrog Platform admin (for example, the dedicated user created in step 1).

  5. In the Service field, select All.

  6. In the Expiration time field, select an expiration that matches your credential rotation policy. When the token expires, Apono can no longer discover repositories or grant and revoke access until you update the secret.

  7. Click Generate, and copy the token. JFrog does not show the token again.

  8. Create a secret with the token from step 7. Use the following key-value pair structure when generating the secret. Be sure to replace <JFROG_ADMIN_ACCESS_TOKEN> with the actual value.


Integrate JFrog

Follow these steps to complete the integration:

  1. On the Catalog tab, click JFrog. The Connect Integration page appears.

  2. Under Discovery, select Repository.

Apono automatically discovers and syncs all the repositories in the environment. After syncing, you can manage access flows to these resources.

  1. Click Next. The Apono connector section expands.

  2. From the dropdown menu, select a connector. Choosing a connector links Apono to all the services available on the account where the connector is located.

  1. Click Next. The Integration Config section expands.

  2. Define the Integration Config settings.

    Setting
    Description

    Integration Name

    Unique, alphanumeric, user-friendly name used to identify this integration when constructing an access flow

    JFrog Platform URL

    Base URL of your JFrog Platform

    Example: https://your-company.jfrog.io NOTE: Enter only the root URL, without a path such as /artifactory or /ui.

  3. Click Next. The Secret Store section expands.

If you select the Apono secret manager, enter your JFrog Admin Access Token.

  1. Click Next. The Get more with Apono section expands.

  2. Define the Get more with Apono settings.

    Setting
    Description

    User cleanup after access is revoked (in days)

    (Optional) Number of days after an AI agent's last access ends before Apono deletes the JFrog user and token created for that agent

    Guidance:

    • Enter 0 to delete the user and token as soon as the last access ends.

    • Leave the field empty to use your Apono account's user cleanup setting.

    Apono never deletes JFrog users belonging to human requesters.

    Learn more about Periodic User Cleanup & Deletion.

    Custom Access Details

    (Optional) Instructions explaining how to access this integration's resources Upon accessing an integration, a message with these instructions will be displayed to end users in the User Portal. The message may include up to 400 characters. To view the message as it appears to end users, click Preview.

    Integration Owner

    (Optional) Fallback approver if no resource owner is found Follow these steps to define one or several integration owners:

    1. From the Attribute dropdown menu, select User or Group under the relevant identity provider (IdP) platform.

    2. From the Value dropdown menu, select one or multiple users or groups.

    NOTE: When Resource Owner is defined, an Integration Owner must be defined.

    Resource Owner

    (Optional) Group or role responsible for managing access approvals or rejections for the resource Follow these steps to define one or several resource owners:

    1. Enter a Key name. This value is the name of the tag created in your cloud environment.

    2. From the Attribute dropdown menu, select an attribute under the IdP platform to which the key name is associated. Apono will use the value associated with the key (tag) to identify the resource owner. When you update the membership of the group or role in your IdP platform, this change is also reflected in Apono.

    NOTE: When this setting is defined, an Integration Owner must also be defined.

  3. (Recommended) Click Test Integration to validate the integration.

Test Integration is available after you have entered or selected values for all required integration fields.

During the test, Apono runs the following validation checks:

  • Connectivity: The connector can reach the integration.

  • Configuration: The integration is set up correctly.

  • Authentication: The credentials are valid.

  • Discovery: Resources can be fetched.

The Test Validation checklist shows the result of each check.

If a check fails, Apono identifies the failed check and highlights the fields that need correction.

  1. Click Confirm.

💡Are you integrating with Apono using Terraform?

If you want to integrate with Apono using Terraform, follow these steps instead of clicking Confirm:

  1. At the top of the screen, click View as Code. A modal appears with the completed Terraform configuration code.

  2. Click to copy the code.

  3. Make any additional edits.

  4. Deploy the code in your Terraform.

Refer to Integration Config Metadata for more details about the schema definition.

Usage

Now that the integration is complete, you can add JFrog to define the resources in an access flow. This allows requesters to access JFrog repositories securely based on your approval and provisioning rules.

Access for different requester types

Apono uses existing JFrog accounts for human users and creates dedicated accounts and credentials for AI agents.

Human users

Apono grants access to the requester's existing JFrog account. By default, Apono matches the requester's Apono username, usually their email address, to their JFrog username. Requesters use their existing credentials to access JFrog through the UI, CLI, or package manager. Apono does not issue credentials to human users.

Automatic group membership: JFrog automatically adds new users to groups configured to include them, such as readers. If one of these groups already grants Read access to all repositories, an Apono Read request does not provide additional access to human users. ReadWrite and Admin requests can still grant additional permissions.

AI agents

When an AI agent requests access, Apono creates a dedicated JFrog user. The username consists of the apono- prefix followed by the agent's Apono username (for example, apono-claude-code_dana@example.com).

The user has no password or UI access, and Apono removes it from all groups. The agent receives the following:

  • JFrog Platform URL

  • JFrog username

  • Access token, providing only the access Apono grants to the agent's user

When Apono cleans up the agent's credentials, it revokes the token and deletes the JFrog user.

Access levels

Apono supports three access levels for JFrog repositories. Each access level provides the same JFrog permissions for local and remote repositories.

Access level
What the requester can do
JFrog permissions

Read

  • Download artifacts

  • On remote repositories, access only previously cached artifacts

Read

ReadWrite

  • Download, upload, overwrite, and delete artifacts, and edit their properties

  • On remote repositories, fetch uncached artifacts from the upstream registry, such as a new npm dependency.

NOTE: Direct uploads to remote repositories are not supported.

Read, Deploy/Cache, Annotate, Delete/Overwrite

Admin

  • Perform all ReadWrite actions

  • Manage Xray metadata

  • Add other users and groups to the Apono-created permission.

NOTE: When Apono deletes the permission, those users and groups also lose the access provided by it.

Read, Deploy/Cache, Annotate, Delete/Overwrite, Manage, Manage Xray Metadata

The following behaviors apply to all access grants:

  • Permission management: For each access grant, Apono creates one JFrog permission per access level, with a name beginning with apono-. Each permission initially includes one user and the repositories covered by the grant at that access level. Apono deletes each permission when access ends and does not modify permissions it did not create. Except for adding users or groups through Admin access, do not edit Apono-created permissions in JFrog.

  • Permission propagation: JFrog caches permissions, so granted or revoked access may take a short time to take effect, typically less than one minute.

Follow the guidance in these articles to define the resource using JFrog:

Last updated

Was this helpful?