您在此处:
将环境变量添加到应用程序
您现在可以使用 Managed Runtime API 管理环境变量。无需更改代码,便可使用环境变量将变量添加到在环境中运行的应用程序进程中。环境变量被安全存储,非常适合以下用例:
- 第三方集成的 API 密钥
- 应用程序逻辑的功能标志
- 环境之间各异的配置
方式:使用 process.env 访问 Node.js 中的环境变量。通过 Managed Runtime API 管理环境变量。参阅环境变量。

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
您现在可以使用 Managed Runtime API 管理环境变量。无需更改代码,便可使用环境变量将变量添加到在环境中运行的应用程序进程中。环境变量被安全存储,非常适合以下用例:
方式:使用 process.env 访问 Node.js 中的环境变量。通过 Managed Runtime API 管理环境变量。参阅环境变量。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.