> 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 のレジストリプロキシ経由にします。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.
