> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/sonono/private-registries/cloudsmith.md).

# Cloudsmith

Cloudsmith リポジトリに上流として Aikido のレジストリプロキシを追加して、レジストリ通信を Aikido のレジストリプロキシ経由にルーティングします。Cloudsmith は公開レジストリではなく Aikido からパッケージを取得するため、チームがインストールするすべてのパッケージがマルウェア、年齢制限、および既知の脆弱性についてチェックされます。

{% stepper %}
{% step %}

### Aikido のプロキシ URL を取得する

次へ移動 [設定 > レジストリプロキシ](https://app.aikido.dev/issues/fix/extended-lifecycle-support/setup-instructions)、対象のエコシステムを選択して、上流プロキシ URL をコピーします

<figure><img src="/files/5d6549f477bbae991fd832fa32087095797656d5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Cloudsmith に上流を追加する

1. Cloudsmith で、Aikido 経由にルーティングしたいリポジトリを開きます。
2. へ移動 **ソース** タブを開き、次をクリックします **+ 上流を設定**.
3. 選択してください **手動設定** そして、エコシステムに一致する形式（npm、Python、Maven、または NuGet）を選択します。
4. 上流に **名前**を付けます。たとえば `aikido`.
5. 次を設定します **プロキシ URL** を、手順 1 の Aikido プロキシ URL にします。
6. 次を設定します **モード** を **キャッシュとプロキシ** これにより、Cloudsmith は Aikido が承認したパッケージを提供します。
7. 有効のままにします **SSL 検証** を有効にし、 **優先度** を設定します（優先度の高い上流が先に解決されます）。
8. 上流を保存します。
   {% endstep %}

{% step %}

### 開発者のマシンを Cloudsmith を使うように設定する

各開発者のパッケージマネージャーを、あなたの Cloudsmith リポジトリに向けます。Cloudsmith では、名前空間とリポジトリが事前設定されたコピペ用のセットアップ スニペットを、リポジトリの **設定** 手順 の下で提供しています。認証を含む正確な手順は Cloudsmith のドキュメントを参照してください:

{% tabs %}
{% tab title="npm" %}
[npm レジストリ](https://docs.cloudsmith.com/formats/npm-registry)
{% endtab %}

{% tab title="Python" %}
[Python リポジトリ](https://docs.cloudsmith.com/formats/python-repository)
{% endtab %}

{% tab title="Maven" %}
[Maven リポジトリ](https://docs.cloudsmith.com/formats/maven-repository)
{% endtab %}

{% tab title="NuGet" %}
[NuGet フィード](https://docs.cloudsmith.com/formats/nuget-feed)
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### (オプション) Device Protection で公開レジストリをブロックする

Cloudsmith を導入しても、開発者はパッケージマネージャーを公開レジストリに直接向けることで依然として回避できます。Aikido Device Protection を導入して、すべての通信がプライベート レジストリを経由するように強制してください。

{% content-ref url="/pages/7fa47c5a1ee5b3c664f0ab37ca9a23372513ddeb" %}
[公開パッケージレジストリをブロック](/docs/docs-ja/aikido-debaisu/using-aikido-endpoint/block-public-package-registries.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/sonono/private-registries/cloudsmith.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
