Skip to content

GitHub: Private registries schemas

2 GitHub schemas with complete fields and constraints.

← Private registries operations · All schemas

Create a private registry for an organization — response body

FieldTypePresenceDescription and constraints
$objectRootPrivate registry configuration for an organization
account_idstringOptionalThe AWS account ID.
api_hoststringOptionalThe Cloudsmith API host.
audiencestringOptionalThe OIDC audience.
auth_typestringOptionalThe authentication type for the private registry.
Known values: token, username_password, oidc_azure, oidc_aws, oidc_jfrog, oidc_cloudsmith, oidc_gcp, anonymous
aws_regionstringOptionalThe AWS region.
client_idstringOptionalThe client ID of the Azure AD application.
created_atstringRequired within parentFormat: date-time
domainstringOptionalThe CodeArtifact domain.
domain_ownerstringOptionalThe CodeArtifact domain owner.
identity_mapping_namestringOptionalThe JFrog identity mapping name.
jfrog_oidc_provider_namestringOptionalThe JFrog OIDC provider name.
namestringRequired within parentThe name of the private registry configuration.
namespacestringOptionalThe Cloudsmith organization namespace.
registry_typestringRequired within parentThe registry type.
Known values: maven_repository, nuget_feed, goproxy_server, npm_registry, rubygems_server, cargo_registry, composer_repository, docker_registry, git_source, helm_registry, hex_organization, hex_repository, pub_repository, python_index, terraform_registry
replaces_basebooleanOptionalWhether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.
Default: false
role_namestringOptionalThe AWS IAM role name.
selected_repository_idsarrayOptionalAn array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.
selected_repository_ids[]JSONEach item
selected_repository_ids[] (anyOf 1)integerAlternative
selected_repository_ids[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
service_accountstringOptionalThe GCP service account email to impersonate. If omitted, the federated token is used directly (direct WIF).
service_slugstringOptionalThe Cloudsmith service account slug.
tenant_idstringOptionalThe tenant ID of the Azure AD application.
updated_atstringRequired within parentFormat: date-time
urlstringOptionalThe URL of the private registry.
Format: uri
usernamestringOptionalThe username to use when authenticating with the private registry.
visibilitystringRequired within parentWhich type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.
Known values: all, private, selected
workload_identity_providerstringOptionalThe full resource name of the GCP Workload Identity Provider (e.g. `projects/<NUM>/locations/global/workloadIdentityPools/<POOL>/providers/<PROVIDER>`).

Get a private registry for an organization — response body

FieldTypePresenceDescription and constraints
$objectRootPrivate registry configuration for an organization
account_idstringOptionalThe AWS account ID.
api_hoststringOptionalThe Cloudsmith API host.
audiencestringOptionalThe OIDC audience.
auth_typestringOptionalThe authentication type for the private registry.
Known values: token, username_password, oidc_azure, oidc_aws, oidc_jfrog, oidc_cloudsmith, oidc_gcp, anonymous
aws_regionstringOptionalThe AWS region.
client_idstringOptionalThe client ID of the Azure AD application.
created_atstringRequired within parentFormat: date-time
domainstringOptionalThe CodeArtifact domain.
domain_ownerstringOptionalThe CodeArtifact domain owner.
identity_mapping_namestringOptionalThe JFrog identity mapping name.
jfrog_oidc_provider_namestringOptionalThe JFrog OIDC provider name.
namestringRequired within parentThe name of the private registry configuration.
namespacestringOptionalThe Cloudsmith organization namespace.
registry_typestringRequired within parentThe registry type.
Known values: maven_repository, nuget_feed, goproxy_server, npm_registry, rubygems_server, cargo_registry, composer_repository, docker_registry, git_source, helm_registry, hex_organization, hex_repository, pub_repository, python_index, terraform_registry
replaces_basebooleanOptionalWhether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.
Default: false
role_namestringOptionalThe AWS IAM role name.
service_accountstringOptionalThe GCP service account email to impersonate. If omitted, the federated token is used directly (direct WIF).
service_slugstringOptionalThe Cloudsmith service account slug.
tenant_idstringOptionalThe tenant ID of the Azure AD application.
updated_atstringRequired within parentFormat: date-time
urlstringOptionalThe URL of the private registry.
Format: uri
usernameJSONOptional
username (anyOf 1)stringAlternativeThe username to use when authenticating with the private registry.
username (anyOf 2)nullAlternative
visibilitystringRequired within parentWhich type of organization repositories have access to the private registry.
Known values: all, private, selected
workload_identity_providerstringOptionalThe full resource name of the GCP Workload Identity Provider (e.g. `projects/<NUM>/locations/global/workloadIdentityPools/<POOL>/providers/<PROVIDER>`).

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.