The documentation you are viewing is for Dapr v1.7 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
Component format
To setup AlibabaCloud OOS Parameter Store secret store create a component of type secretstores.alicloud.parameterstore
. See this guide on how to create and apply a secretstore configuration. See this guide on referencing secrets to retrieve and use the secret with Dapr components.
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]"
Warning
The above example uses secrets as plain strings. It is recommended to use a local secret store such as Kubernetes secret store or a local file to bootstrap secure key storage.Spec metadata fields
Field | Required | Details | Example |
---|---|---|---|
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 | N | 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.
Related links
- Secrets building block
- How-To: Retrieve a secret
- How-To: Reference secrets in Dapr components
- Secrets API reference
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.
Last modified January 20, 2022: add alibabacloud oos parameter store docs (#2111) (0cc4b38d)