> For the complete documentation index, see [llms.txt](https://docs.apono.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apono.io/docs/additional-integrations/development-tools/jfrog.md).

# 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

<table><thead><tr><th width="211">Item</th><th>Description</th></tr></thead><tbody><tr><td><strong>Apono connector</strong></td><td><p>On-prem connection serving as a bridge between a JFrog Platform instance and Apono:</p><ul><li><a href="https://docs.apono.io/docs/aws-environment/apono-connector-for-aws.md">AWS</a></li><li><a href="https://docs.apono.io/docs/azure-environment/apono-connector-for-azure.md">Azure</a></li><li><a href="https://docs.apono.io/docs/gcp-environment/apono-connector-for-gcp.md">GCP</a></li><li><a href="https://docs.apono.io/docs/kubernetes-environment/apono-connector-for-kubernetes.md">Kubernetes</a><br></li></ul><p><strong>Minimum Required Version</strong>: 1.3.2</p><p>Learn how to update an existing <a href="https://docs.apono.io/docs/aws-environment/apono-connector-for-aws/updating-a-connector-in-aws.md">AWS</a>, <a href="https://docs.apono.io/docs/azure-environment/apono-connector-for-azure/updating-a-connector-in-azure.md">Azure</a>, <a href="https://docs.apono.io/docs/gcp-environment/apono-connector-for-gcp/updating-a-connector-in-google-cloud.md">GCP</a>, or <a href="https://docs.apono.io/docs/kubernetes-environment/apono-connector-for-kubernetes/updating-a-kubernetes-connector.md">Kubernetes</a> connector.</p></td></tr><tr><td><strong>JFrog Platform Account Access</strong></td><td><p>JFrog Platform account (JFrog Cloud or self-hosted) with the following requirements:</p><ul><li>Artifactory version <strong>7.84.3</strong> or later</li><li>A user with the <strong>Platform Administrator</strong> role</li></ul></td></tr><tr><td><strong>JFrog Platform URL</strong></td><td><p>Base URL of your JFrog Platform, for example <code>https://your-company.jfrog.io</code></p><p>The Apono connector must be able to reach this URL over HTTPS.<br><br><strong>NOTE</strong>: Enter only the root URL, without a path such as <code>/artifactory</code> or <code>/ui</code>.</p></td></tr></tbody></table>

***

### 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](https://docs.apono.io/docs/connectors-and-secrets/apono-integration-secret.md) 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.

```json
"token": "<JFROG_ADMIN_ACCESS_TOKEN>"
```

{% hint style="success" icon="lightbulb" %}
You can also input JFrog admin access token directly into the Apono UI during the [integration process](#integrate-jfrog).
{% endhint %}

***

### Integrate JFrog

{% hint style="success" %}
You can also use the steps below to integrate with Apono using Terraform.

In step **12**, instead of clicking **Confirm**, follow the **Are you integrating with Apono using Terraform?** guidance.
{% endhint %}

Follow these steps to complete the integration:

1. On the [**Catalog**](https://app.apono.io/catalog?search=jfrog) tab, click **JFrog**. The **Connect Integration** page appears.
2. Under **Discovery**, select **Repository**.

{% hint style="info" %}
Apono automatically discovers and syncs all the repositories in the environment. After syncing, you can manage access flows to these resources.
{% endhint %}

3. Click **Next**. The **Apono connector** section expands.
4. 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.

{% hint style="success" icon="lightbulb" %}
If the desired connector is not listed, click **+ Add new connector** and follow the instructions for creating a connector ([AWS](https://docs.apono.io/docs/aws-environment/apono-connector-for-aws.md), [Azure](https://docs.apono.io/docs/azure-environment/apono-connector-for-azure.md), [GCP](https://docs.apono.io/docs/gcp-environment/apono-connector-for-gcp.md), [Kubernetes](https://docs.apono.io/docs/kubernetes-environment/apono-connector-for-kubernetes.md)).
{% endhint %}

5. Click **Next**. The **Integration Config** section expands.
6. Define the **Integration Config** settings.

   <table><thead><tr><th width="218">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Integration Name</strong></td><td>Unique, alphanumeric, user-friendly name used to identify this integration when constructing an access flow</td></tr><tr><td><strong>JFrog Platform URL</strong></td><td><p>Base URL of your JFrog Platform</p><p><strong>Example</strong>: <em>https://your-company.jfrog.io</em><br><br><strong>NOTE</strong>: Enter only the root URL, without a path such as <code>/artifactory</code> or <code>/ui</code>.</p></td></tr></tbody></table>
7. Click **Next**. The **Secret Store** section expands.
8. [Associate the secret or credentials](https://docs.apono.io/docs/connectors-and-secrets/apono-integration-secret.md).

{% hint style="info" %}
If you select the **Apono** secret manager, enter your **JFrog Admin Access Token**.
{% endhint %}

9. Click **Next**. The **Get more with Apono** section expands.
10. Define the **Get more with Apono** settings.

    <table><thead><tr><th width="220">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>User cleanup after access is revoked (in days)</strong></td><td><p>(Optional) Number of days after an AI agent's last access ends before Apono deletes the JFrog user and token created for that agent</p><p><strong>Guidance</strong>:</p><ul><li>Enter <em>0</em> to delete the user and token as soon as the last access ends.</li><li>Leave the field empty to use your Apono account's user cleanup setting.</li></ul><p>Apono never deletes JFrog users belonging to human requesters.</p><p>Learn more about <a href="https://docs.apono.io/docs/architecture-and-security/periodic-user-cleanup-and-deletion.md">Periodic User Cleanup &#x26; Deletion</a>.</p></td></tr><tr><td><strong>Custom Access Details</strong></td><td>(Optional) Instructions explaining how to access this integration's resources<br><br>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 <strong>400 characters</strong>.<br><br>To view the message as it appears to end users, click <strong>Preview</strong>.</td></tr><tr><td><strong>Integration Owner</strong></td><td><p>(Optional) Fallback approver if no <a href="https://docs.apono.io/docs/access-flows/dynamic-access-management/resource-and-integration-owners.md">resource owner</a> is found<br><br>Follow these steps to define one or several integration owners:</p><ol><li>From the <strong>Attribute</strong> dropdown menu, select <strong>User</strong> or <strong>Group</strong> under the relevant identity provider (IdP) platform.</li><li>From the <strong>Value</strong> dropdown menu, select one or multiple users or groups.</li></ol><p><br><strong>NOTE</strong>: When <strong>Resource Owner</strong> is defined, an <strong>Integration Owner</strong> must be defined.</p></td></tr><tr><td><strong>Resource Owner</strong></td><td><p>(Optional) Group or role responsible for managing access approvals or rejections for the resource<br><br>Follow these steps to define one or several <a href="https://docs.apono.io/docs/access-flows/dynamic-access-management/resource-and-integration-owners.md">resource owners</a>:</p><ol><li>Enter a <strong>Key name</strong>. This value is the name of the tag created in your cloud environment.</li><li>From the <strong>Attribute</strong> dropdown menu, select an attribute under the IdP platform to which the key name is associated.<br><br>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.</li></ol><p><br><strong>NOTE</strong>: When this setting is defined, an <strong>Integration Owner</strong> must also be defined.</p></td></tr></tbody></table>
11. (Recommended) Click **Test Integration** to validate the integration.

{% hint style="info" %}
**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.

<img src="https://1094436629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv6MBfUGvblSdAz31yJXm%2Fuploads%2Fgit-blob-303b3a6834a7c7bf7a1a29aacfb9d323068a9133%2Fintegration-test-validation-new.png?alt=media" alt="" data-size="original">

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

12. Click **Confirm**.

<details>

<summary>💡Are you integrating with Apono using Terraform?</summary>

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](https://docs.apono.io/metadata-for-integration-config/integration-metadata/jfrog) for more details about the schema definition.

</details>

#### 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](#human-users) and creates dedicated accounts and credentials for [AI agents](#ai-agents).

<details>

<summary><strong>Human users</strong></summary>

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.

</details>

<details>

<summary><strong>AI agents</strong></summary>

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.

</details>

**Access levels**

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

<table><thead><tr><th width="142.72561645507812">Access level</th><th width="417.7457275390625">What the requester can do</th><th>JFrog permissions</th></tr></thead><tbody><tr><td><strong>Read</strong></td><td><ul><li>Download artifacts</li><li>On remote repositories, access only previously cached artifacts</li></ul></td><td>Read</td></tr><tr><td><strong>ReadWrite</strong></td><td><ul><li>Download, upload, overwrite, and delete artifacts, and edit their properties</li><li>On remote repositories, fetch uncached artifacts from the upstream registry, such as a new npm dependency.</li></ul><p><strong>NOTE</strong>: Direct uploads to remote repositories <strong>are not</strong> supported.</p></td><td>Read, Deploy/Cache, Annotate, Delete/Overwrite</td></tr><tr><td><strong>Admin</strong></td><td><ul><li>Perform all <strong>ReadWrite</strong> actions</li><li>Manage Xray metadata</li><li>Add other users and groups to the Apono-created permission.</li></ul><p><strong>NOTE</strong>: When Apono deletes the permission, those users and groups also lose the access provided by it.</p></td><td>Read, Deploy/Cache, Annotate, Delete/Overwrite, Manage, Manage Xray Metadata</td></tr></tbody></table>

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:

* [Define the resource (Self Serve Access Flows)](https://docs.apono.io/docs/access-flows/creating-access-flows-in-apono/self-serve-access-flows.md#define-the-resource)
* [Define the resource (Automatic Access Flows)](https://docs.apono.io/docs/access-flows/creating-access-flows-in-apono/automatic-access-flows.md#define-the-resource)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apono.io/docs/additional-integrations/development-tools/jfrog.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
