> 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を導入しても、開発者はパッケージマネージャーをパブリックレジストリに直接向けることで、Cloudsmithを迂回できます。すべてのトラフィックがプライベートレジストリを経由するよう強制するには、Aikido Device Protectionを導入してください。

{% content-ref url="/pages/7fa47c5a1ee5b3c664f0ab37ca9a23372513ddeb" %}
[公開パッケージレジストリをブロックする](/docs/docs-ja/aikido-device-protection/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.
