jfrog_create_remote_repository
Create a new remote repository in JFrog Artifactory to proxy and manage external package registries, enabling secure and efficient package storage and retrieval.
Instructions
Create a new remote repository in Artifactory to proxy external package registries
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allowAnyHostAuth | No | ||
assumedOfflinePeriodSecs | No | ||
blackedOut | No | ||
blockMismatchingMimeTypes | No | ||
blockPushingSchema1 | No | ||
bypassHeadRequests | No | ||
cdnRedirect | No | ||
clientTlsCertificate | No | ||
composerRegistryUrl | No | https://packagist.org | |
contentSynchronisation | No | ||
description | No | Repository description | |
disableProxy | No | ||
disableUrlNormalization | No | ||
downloadContextPath | No | ||
downloadRedirect | No | ||
enableCookieManagement | No | ||
enableTokenAuthentication | No | ||
environments | No | Environments to assign the repository to | |
excludesPattern | No | ||
externalDependenciesEnabled | No | ||
externalDependenciesPatterns | No | ||
feedContextPath | No | ||
fetchJarsEagerly | No | ||
fetchSourcesEagerly | No | ||
forceConanAuthentication | No | ||
forceNugetAuthentication | No | ||
forceP2Authentication | No | ||
gitRegistryUrl | No | https://github.com/rust-lang/crates.io-index | |
handleReleases | No | ||
handleSnapshots | No | ||
hardFail | No | ||
includesPattern | No | **/* | |
key | Yes | the key of the repository | |
listRemoteFolderItems | No | ||
localAddress | No | ||
maxUniqueSnapshots | No | ||
metadataRetrievalTimeoutSecs | No | ||
missedRetrievalCachePeriodSecs | No | ||
notes | No | Internal notes | |
offline | No | ||
packageType | Yes | Package type of the repository | |
password | No | Remote repository password | |
priorityResolution | No | ||
projectKey | No | Project key to assign the repository to | |
propertySets | No | ||
proxy | No | Proxy key from Artifactory | |
pyPIRegistryUrl | No | https://pypi.org | |
rclass | Yes | The repository type | |
remoteRepoChecksumPolicyType | No | generate-if-absent | |
remoteRepoLayoutRef | No | ||
repoLayoutRef | No | ||
retrievalCachePeriodSecs | No | ||
shareConfiguration | No | ||
socketTimeoutMillis | No | ||
storeArtifactsLocally | No | ||
suppressPomConsistencyChecks | No | ||
synchronizeProperties | No | ||
unusedArtifactsCleanupPeriodHours | No | ||
url | Yes | URL to the remote repository | |
username | No | Remote repository username | |
v3FeedUrl | No | ||
vcsGitDownloadUrl | No | ||
vcsGitProvider | No | GITHUB | |
vcsType | No | GIT | |
xrayIndex | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"allowAnyHostAuth": {
"default": false,
"type": "boolean"
},
"assumedOfflinePeriodSecs": {
"default": 300,
"type": "number"
},
"blackedOut": {
"default": false,
"type": "boolean"
},
"blockMismatchingMimeTypes": {
"default": true,
"type": "boolean"
},
"blockPushingSchema1": {
"default": false,
"type": "boolean"
},
"bypassHeadRequests": {
"default": false,
"type": "boolean"
},
"cdnRedirect": {
"default": false,
"type": "boolean"
},
"clientTlsCertificate": {
"default": "",
"type": "string"
},
"composerRegistryUrl": {
"default": "https://packagist.org",
"type": "string"
},
"contentSynchronisation": {
"additionalProperties": false,
"properties": {
"enabled": {
"default": false,
"type": "boolean"
},
"properties": {
"additionalProperties": false,
"properties": {
"enabled": {
"default": false,
"type": "boolean"
}
},
"type": "object"
},
"source": {
"additionalProperties": false,
"properties": {
"originAbsenceDetection": {
"default": false,
"type": "boolean"
}
},
"type": "object"
},
"statistics": {
"additionalProperties": false,
"properties": {
"enabled": {
"default": false,
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"statistics",
"properties",
"source"
],
"type": "object"
},
"description": {
"description": "Repository description",
"type": "string"
},
"disableProxy": {
"default": false,
"type": "boolean"
},
"disableUrlNormalization": {
"default": false,
"type": "boolean"
},
"downloadContextPath": {
"type": "string"
},
"downloadRedirect": {
"default": false,
"type": "boolean"
},
"enableCookieManagement": {
"default": false,
"type": "boolean"
},
"enableTokenAuthentication": {
"default": false,
"type": "boolean"
},
"environments": {
"description": "Environments to assign the repository to",
"items": {
"type": "string"
},
"type": "array"
},
"excludesPattern": {
"default": "",
"type": "string"
},
"externalDependenciesEnabled": {
"default": false,
"type": "boolean"
},
"externalDependenciesPatterns": {
"items": {
"type": "string"
},
"type": "array"
},
"feedContextPath": {
"type": "string"
},
"fetchJarsEagerly": {
"default": false,
"type": "boolean"
},
"fetchSourcesEagerly": {
"default": false,
"type": "boolean"
},
"forceConanAuthentication": {
"default": false,
"type": "boolean"
},
"forceNugetAuthentication": {
"default": false,
"type": "boolean"
},
"forceP2Authentication": {
"default": false,
"type": "boolean"
},
"gitRegistryUrl": {
"default": "https://github.com/rust-lang/crates.io-index",
"type": "string"
},
"handleReleases": {
"default": true,
"type": "boolean"
},
"handleSnapshots": {
"default": true,
"type": "boolean"
},
"hardFail": {
"default": false,
"type": "boolean"
},
"includesPattern": {
"default": "**/*",
"type": "string"
},
"key": {
"description": "the key of the repository",
"type": "string"
},
"listRemoteFolderItems": {
"default": false,
"type": "boolean"
},
"localAddress": {
"type": "string"
},
"maxUniqueSnapshots": {
"default": 0,
"type": "number"
},
"metadataRetrievalTimeoutSecs": {
"default": 60,
"type": "number"
},
"missedRetrievalCachePeriodSecs": {
"default": 1800,
"type": "number"
},
"notes": {
"description": "Internal notes",
"type": "string"
},
"offline": {
"default": false,
"type": "boolean"
},
"packageType": {
"description": "Package type of the repository",
"enum": [
"bower",
"cargo",
"chef",
"cocoapods",
"composer",
"conan",
"cran",
"debian",
"docker",
"Npm",
"gems",
"gitlfs",
"go",
"gradle",
"helm",
"ivy",
"maven",
"nuget",
"opkg",
"p2",
"pub",
"puppet",
"pypi",
"rpm",
"sbt",
"swift",
"terraform",
"vagrant",
"yum",
"generic"
],
"type": "string"
},
"password": {
"description": "Remote repository password",
"type": "string"
},
"priorityResolution": {
"default": false,
"type": "boolean"
},
"projectKey": {
"description": "Project key to assign the repository to",
"type": "string"
},
"propertySets": {
"items": {
"type": "string"
},
"type": "array"
},
"proxy": {
"description": "Proxy key from Artifactory",
"type": "string"
},
"pyPIRegistryUrl": {
"default": "https://pypi.org",
"type": "string"
},
"rclass": {
"const": "remote",
"description": "The repository type",
"type": "string"
},
"remoteRepoChecksumPolicyType": {
"default": "generate-if-absent",
"enum": [
"generate-if-absent",
"fail",
"ignore-and-generate",
"pass-thru"
],
"type": "string"
},
"remoteRepoLayoutRef": {
"default": "",
"type": "string"
},
"repoLayoutRef": {
"type": "string"
},
"retrievalCachePeriodSecs": {
"default": 7200,
"type": "number"
},
"shareConfiguration": {
"default": false,
"type": "boolean"
},
"socketTimeoutMillis": {
"default": 15000,
"type": "number"
},
"storeArtifactsLocally": {
"default": true,
"type": "boolean"
},
"suppressPomConsistencyChecks": {
"default": false,
"type": "boolean"
},
"synchronizeProperties": {
"default": false,
"type": "boolean"
},
"unusedArtifactsCleanupPeriodHours": {
"default": 0,
"type": "number"
},
"url": {
"description": "URL to the remote repository",
"type": "string"
},
"username": {
"description": "Remote repository username",
"type": "string"
},
"v3FeedUrl": {
"type": "string"
},
"vcsGitDownloadUrl": {
"default": "",
"type": "string"
},
"vcsGitProvider": {
"default": "GITHUB",
"enum": [
"GITHUB",
"GITHUBENTERPRISE",
"BITBUCKET",
"OLDSTASH",
"STASH",
"ARTIFACTORY",
"CUSTOM"
],
"type": "string"
},
"vcsType": {
"default": "GIT",
"enum": [
"GIT"
],
"type": "string"
},
"xrayIndex": {
"default": false,
"type": "boolean"
}
},
"required": [
"key",
"rclass",
"packageType",
"url"
],
"type": "object"
}