Connect ORAS to Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

ORAS (OCI Registry As Storage) is a tool and set of libraries that extend OCI-compliant registries to store and manage all artifact types. It allows you to use push and pull commands to distribute and manage diverse content like Helm charts, SBOMs, signatures, and WebAssembly modules.

To connect ORAS to Artifactory:

Run the following command:

oras login [JFrogPlatformURL]

Where:

  • [JFrogPlatformURL]: The URL of your JPD, without the protocol schema

For example:

oras login company.jfrog.io

Alternatively, you can provide your username and token in advance with the following command:

oras login -u <USERNAME> -p <TOKEN> [JFrogPlatformURL]

Where:

  • <USERNAME>: Your JFrog username

  • <TOKEN>: Your identity token

  • [JFrogPlatformURL]: The URL of your JPD, without the protocol schema

For example:

oras login -u jeffry@frog.com -p eyJhbGciOiJIUzI1NiJ9eyJzdWIiOiJ1c2VyMTIzIiwiaWF0IjoxNzA0MDY3MjAwfQ company.jfrog.io

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.

Next steps: