Home / Servers / GitHub API / private_registries_update_org_private_registry
Update a private registry for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Update a private registry for an organization Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using LibSodium. For more information, see "Encrypting secrets for the REST API." For… [PATCH /orgs/{org}/private-registries/{secret_name}]
Name on the gateway: github_api__private_registries_update_org_private_registry · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
secret_name required | string | The name of the secret. |
registry_type | 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 | The registry type. |
url | string | The URL of the private registry. |
username | string | The username to use when authenticating with the private registry. This field… |
replaces_base | boolean | Whether this private registry should replace the base registry (e.g.… |
encrypted_value | string | The value for your secret, encrypted with LibSodium using the public key… |
key_id | string | The ID of the key you used to encrypt the secret. |
visibility | all | private | selected | Which type of organization repositories have access to the private registry.… |
selected_repository_ids | array | An array of repository IDs that can access the organization private registry.… |
auth_type | token | username_password | oidc_azure | oidc_aws | oidc_jfrog | oidc_cloudsmith | oidc_gcp | anonymous | The authentication type for the private registry. This field cannot be changed… |
tenant_id | string | The tenant ID of the Azure AD application. Required when auth_type is… |
client_id | string | The client ID of the Azure AD application. Required when auth_type is… |
aws_region | string | The AWS region. Required when auth_type is oidc_aws. |
account_id | string | The AWS account ID. Required when auth_type is oidc_aws. |
role_name | string | The AWS IAM role name. Required when auth_type is oidc_aws. |
domain | string | The CodeArtifact domain. Required when auth_type is oidc_aws. |
domain_owner | string | The CodeArtifact domain owner (AWS account ID). Required when auth_type is… |
jfrog_oidc_provider_name | string | The JFrog OIDC provider name. Required when auth_type is oidc_jfrog. |
audience | string | The OIDC audience. Optional for oidc_aws, oidc_jfrog, and oidc_gcp, and… |
identity_mapping_name | string | The JFrog identity mapping name. Optional for oidc_jfrog auth type. |
namespace | string | The Cloudsmith organization namespace. Required when auth_type is… |
service_slug | string | The Cloudsmith service account slug. Required when auth_type is oidc_cloudsmith. |
api_host | string | The Cloudsmith API host. Optional for oidc_cloudsmith auth type. If omitted… |
workload_identity_provider | string | The full resource name of the GCP Workload Identity Provider (e.g. projects/… |
service_account | string | The GCP service account email to impersonate. Optional for oidc_gcp auth type.… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__private_registries_update_org_private_registry",
"arguments": {
"org": "…",
"secret_name": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update a private registry for an organization tool with org set to ….