이 페이지에서는 Assured OSS 패키지에 액세스하고 다운로드하도록 원격 저장소를 설정하는 방법을 설명합니다. 원격 저장소를 설정하는 옵션에는 JFrog Artifactory 또는 Sonatype Nexus의 2가지가 있습니다. 저장소 옵션에 관한 자세한 내용은 Assured OSS 저장소 옵션을 참고하세요.
Python 패키지의 경우 가져온 URL에 /simple을 추가합니다. pip install 명령어에서 URL을 index-url로 사용하여 필요한 Python 패키지를 다운로드합니다. 예를 들어 저장소의 가져온 URL이 https://a0a87smb7hcda.jfrog.io/artifactory/api/pypi/assured-oss-python-repo이면 상응하는 index-url은 https://a0a87smb7hcda.jfrog.io/artifactory/api/pypi/assured-oss-python-repo/simple입니다.
새 원격 저장소가 설정되면 이 새로운 원격 저장소를 사용하도록 빌드 도구(예: Apache Maven, Gradle 빌드 도구 또는 pip)를 구성합니다.
알려진 문제
테스트 버튼을 사용하여 연결을 테스트하면 연결이 올바르게 구성되었더라도 오류가 반환될 수 있습니다. 테스트 버튼 동작과 관계없이 원격 저장소를 만드는 것이 좋습니다. 연결을 확인하는 다른 방법은 연결 검사를 참조하세요.
Sonatype Nexus를 사용하여 원격 저장소 설정
Sonatype Nexus 저장소 관리자에 로그인합니다. 새 원격 저장소를 만드는 데 필요한 권한이 있는지 확인합니다.
새 저장소를 만드는 옵션을 선택합니다.
적절한 저장소 유형을 선택합니다(예: Java의 경우 Maven, Python의 경우 PyPi 선택).
비밀번호 필드에 서비스 계정 JSON 키 파일의 base64로 인코딩된 문자열을 입력합니다. base64로 인코딩된 전체 문자열을 한 줄로 비밀번호로 사용합니다. base64로 인코딩된 문자열을 가져오려면 base64 key-filename.json 명령어를 실행합니다.
저장소 만들기를 클릭합니다.
새 원격 저장소가 설정되면 이 새로운 원격 저장소를 사용하도록 빌드 도구(예: Apache Maven, Gradle 빌드 도구 또는 pip)를 구성합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[],[],null,["| Enterprise [service tier](/security-command-center/docs/service-tiers)\n\nThis page explains how you can set up a remote repository to access and download\nAssured OSS packages. You have two options for setting up a\nremote repository: JFrog Artifactory or Sonatype Nexus. For more information\nabout repository options, see [Assured OSS repository\noptions](/assured-open-source-software/docs/overview#aoss-repository-options).\n\nThis document applies to the Assured OSS premium tier only. For\nthe free tier, see [Download\nAssured OSS packages using a remote\nrepository](/assured-open-source-software/docs/remote-repository-access).\n\nBefore you begin\n\n1. [Integrate Assured OSS with\n Security Command Center](/security-command-center/docs/integrate-aoss-with-scc).\n\n2. [Validate connectivity](/assured-open-source-software/docs/validate-connection)\n to Security Command Center for the requested service accounts.\n\nSet up a remote repository using JFrog Artifactory\n\n1. Sign in to the JFrog Artifactory repository manager. Ensure that you have the required privileges to create a new remote repository.\n2. Select the option to create a new remote repository in your repository manager.\n3. Select the appropriate repository type (for example, select `Maven` for Java or `PyPi` for Python).\n4. Optionally, test the connection to the Java, Python, or JavaScript repository\n using the following steps:\n\n 1. In the **Repository Key** field, enter a unique name or identifier for the remote repository.\n 2. In the **URL** field, enter one of the following:\n\n - Java: \n\n ```\n https://us-maven.pkg.dev\n ```\n - Python: \n\n ```\n https://us-python.pkg.dev\n ```\n - Javascript: \n\n ```\n https://us-npm.pkg.dev\n ```\n\n Don't enter the complete domain name as this may return an HTTP `404` or\n HTTP `405` status code.\n 3. Leave the remaining fields blank.\n\n 4. Click **Test**.\n The connection is successful when you see the following output:\n\n `Successfully connected to server`\n5. To create a new remote repository, enter the following information:\n\n 1. In the **Repository Key** field, enter a unique name or identifier for the remote repository. For example, `assured-oss-java-repo`.\n 2. In the **URL** field, enter one of the following:\n\n - Java: \n\n ```\n https://us-maven.pkg.dev/PROJECT_ID/assuredoss-java\n ```\n - Python: \n\n ```\n https://us-python.pkg.dev/\n ```\n - JavaScript: \n\n ```\n https://us-npm.pkg.dev/PROJECT_ID/assuredoss-npm\n ```\n\n Replace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the ID\n of the project that you selected when you set up\n Assured OSS.\n 3. In the **User Name** field, enter `_json_key_base64`.\n\n 4. In the **Password** field, provide the base64-encoded string of the\n service account JSON key file. Use the entire base64-encoded string\n in a single line as password. To get the base64-encoded string, run the\n command `cat `\u003cvar translate=\"no\"\u003ekey-filename.json\u003c/var\u003e` | base64 -w 0`.\n\n 5. For Python only, in the **Registry URL** field, enter\n\n ```\n https://us-python.pkg.dev/PROJECT_ID/assuredoss-python\n ```\n .\n\n \u003cbr /\u003e\n\n6. Click **Create Remote Repository**.\n\n For Python packages, append the obtained URL with `/simple`. Use the URL as\n the `index-url` in the `pip install` command to download the required Python\n packages. For example, if the obtained URL of the repository is\n `https://a0a87smb7hcda.jfrog.io/artifactory/api/pypi/assured-oss-python-repo`,\n then the corresponding `index-url` is\n `https://a0a87smb7hcda.jfrog.io/artifactory/api/pypi/assured-oss-python-repo/simple`.\n\nAfter the new remote repository is set up, configure your build tools (for\nexample, Apache Maven, Gradle Build Tool, or pip) to use this new remote\nrepository.\n\nKnown issues\n\nTesting the connection using the **Test** button can return an error even if the\nconnection is configured correctly. We recommend that you create the remote\nrepository irrespective of the test button behavior. For another way of\nconfirming a connection, see [Validate your connection](/assured-open-source-software/docs/validate-connection).\n\nSet up a remote repository using Sonatype Nexus\n\n1. Sign in to your Sonatype Nexus repository manager. Ensure that you have the required privileges to create a new remote repository.\n2. Select the option to create a new repository.\n3. Select the appropriate repository type (for example, select `Maven` for Java or `PyPi` for Python).\n4. Enter the following details for the new repository:\n\n 1. In the **Name** field, enter a unique name or identifier for the remote repository.\n 2. In the **Remote Storage** field, choose from the following:\n\n - Java:\n\n ```\n https://us-maven.pkg.dev/PROJECT_ID/assuredoss-java\n ```\n\n \u003cbr /\u003e\n\n - Python:\n\n ```\n https://us-python.pkg.dev/PROJECT_ID/assuredoss-python\n ```\n\n \u003cbr /\u003e\n\n - JavaScript:\n\n ```\n https://us-npm.pkg.dev/PROJECT_ID/assuredoss-npm\n ```\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the ID\n of the project that you selected when you set up\n Assured OSS.\n5. Under **HTTP** , select **Authentication**.\n\n6. Specify the following:\n\n 1. In the **Authentication type** field, enter `Username`.\n 2. In the **Username** field, enter `_json_key_base64`.\n 3. In the **Password** field, provide the base64-encoded string of the service account JSON key file. Use the entire base64 encoded-string in a single line as password. To get the base64-encoded string, run the command `base64 `\u003cvar translate=\"no\"\u003ekey-filename.json\u003c/var\u003e.\n7. Click **Create Repository**.\n\nAfter the new remote repository is set up, point your build tools (for example,\nApache Maven, Gradle Build Tool, or pip) to use this new remote repository.\n\nWhat's next\n\n- [Download Java packages using direct repository access](/security-command-center/docs/aoss-download-java-packages)\n- [Download Python packages using direct repository access](/security-command-center/docs/aoss-download-python-packages)"]]