---
title: "AWS 金鑰管理 V1"
url: "/docs/secret_managers/aws_kms"
canonical_url: "https://docs.litellm.ai/docs/secret_managers/aws_kms"
type: "docs"
last_updated: "2026-10-08"
related:
  - "/docs/secret_managers/aws_secret_manager"
  - "/docs/secret_managers/azure_key_vault"
---
# AWS 金鑰管理 V1

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


> **LiteLLM Enterprise feature.** Requires an Enterprise license (`LITELLM_LICENSE`). Talk to sales: https://www.litellm.ai/enterprise#talk-to-sales

:::tip

[BETA] AWS 金鑰管理 v2 位於企業方案。請 [前往此處查看文件](../enterprise.md)

:::

使用 AWS KMS 在環境中儲存您的 Proxy Master Key 的雜湊副本。

```bash
export LITELLM_MASTER_KEY="djZ9xjVaZ..." # 👈 ENCRYPTED KEY
export AWS_REGION_NAME="us-west-2"
```

```yaml
general_settings:
  key_management_system: "aws_kms"
  key_management_settings:
    hosted_keys: ["LITELLM_MASTER_KEY"] # 👈 WHICH KEYS ARE STORED ON KMS
```

[**查看解密程式碼**](https://github.com/BerriAI/litellm/blob/a2da2a8f168d45648b61279d4795d647d94f90c9/litellm/utils.py#L10182)

## Related pages

- [AWS Secret Manager](https://docs.litellm.ai/docs/secret_managers/aws_secret_manager.md)
- [Azure Key Vault](https://docs.litellm.ai/docs/secret_managers/azure_key_vault.md)
