---
schema_version: "1"
id: c4027ac8ec479e31940a10a07029994907cc39d90eae4d0981316bfccd639fe8
title: ネットワークプロキシでの API カタログ CLI の使用
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/exchange/apicat-use-proxy.md
canonical_url: https://docs.mulesoft.com/jp/exchange/apicat-use-proxy
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f51e6615b585500641c04f6d18ab17e144b8b1bca5e65aae8a676289b87a2ace
description: MuleSoft Documentation Site
latest: true
---
# ネットワークプロキシでの API カタログ CLI の使用

API カタログ CLI をネットワークプロキシ経由で実行して、セキュリティレイヤーを追加できます。API カタログ CLI をプロキシサーバーで使用するには、次のセクションに示すように、​`HTTP_PROXY`​ または ​`HTTPS_PROXY`​ 環境変数を設定して、プロキシサーバーのホスト名と IP アドレスを指定します。

## [](#認証なしのプロキシサーバーを設定する)認証なしのプロキシサーバーを設定する

認証を必要としないプロキシサーバーを設定するには、次のコマンドを使用します。

- Linux、macOS、または Unix
    
    `$ export HTTP_PROXY=http://​_proxy-server_​:80`  
    
    または
    
    `$ export HTTPS_PROXY=https://​_proxy-server_​:443`
- Windows
    
    `> set HTTP_PROXY=http://​_proxy-server_​:80`  
    
    または
    
    `> set HTTPS_PROXY=https//​_proxy-server_​:443`

## [](#認証ありのプロキシサーバーを設定する)認証ありのプロキシサーバーを設定する

認証が必要なプロキシサーバーを設定するには、次のコマンドを使用します。

- Linux、macOS、または Unix
    
    `$ export HTTP_PROXY=http://​_username_​:_password_​@​_proxy-server_​:80`  
    
    または
    
    `$ export HTTPS_PROXY=https://​_username_​:_password_​@​_proxy-server_​:443`
- Windows
    
    `> set HTTP_PROXY=http://​_username_​:_password_​@​_proxy-server_​:80`  
    
    または
    
    `> set HTTPS_PROXY=https://​_username_​:_password_​@​_proxy-server_​:443`