The documentation you are viewing is for Dapr v1.12 which is an older version of Dapr. For up-to-date documentation, see the latest version.
AlibabaCloud OOS Parameter Store
Detailed information on the AlibabaCloud OOS Parameter Store - secret store component
配置
To setup AlibabaCloud OOS Parameter Store secret store create a component of type secretstores.alicloud.parameterstore
. 有关如何创建和应用 secretstore 配置,请参阅本指南。 有关如何在 Dapr 组件中检索和使用 secret,请参阅 引用 secrets 指南。
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: alibabacloudparameterstore
namespace: default
spec:
type: secretstores.alicloud.parameterstore
version: v1
metadata:
- name: regionId
value: "[alicloud_region_id]"
- name: accessKeyId
value: "[alicloud_access_key_id]"
- name: accessKeySecret
value: "[alicloud_access_key_secret]"
- name: securityToken
value: "[alicloud_security_token]"
元数据字段规范
字段 | 必填 | 详情 | 示例 |
---|---|---|---|
regionId | Y | The specific region the AlibabaCloud OOS Parameter Store instance is deployed in | "cn-hangzhou" |
accessKeyId | Y | The AlibabaCloud Access Key ID to access this resource | "accessKeyId" |
accessKeySecret | Y | The AlibabaCloud Access Key Secret to access this resource | "accessKeySecret" |
securityToken | 否 | The AlibabaCloud Security Token to use | "securityToken" |
Create an AlibabaCloud OOS Parameter Store instance
Setup AlibabaCloud OOS Parameter Store using the AlibabaCloud documentation: https://www.alibabacloud.com/help/en/doc-detail/186828.html.
相关链接
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.