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.

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: alibabacloudparameterstore
  5. spec:
  6. type: secretstores.alicloud.parameterstore
  7. version: v1
  8. metadata:
  9. - name: regionId
  10. value: "[alicloud_region_id]"
  11. - name: accessKeyId
  12. value: "[alicloud_access_key_id]"
  13. - name: accessKeySecret
  14. value: "[alicloud_access_key_secret]"
  15. - name: securityToken
  16. 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

FieldRequiredDetailsExample
regionIdYThe specific region the AlibabaCloud OOS Parameter Store instance is deployed in“cn-hangzhou”
accessKeyIdYThe AlibabaCloud Access Key ID to access this resource“accessKeyId”
accessKeySecretYThe AlibabaCloud Access Key Secret to access this resource“accessKeySecret”
securityTokenNThe AlibabaCloud Security Token to use“securityToken”

Optional per-request metadata properties

The following optional query parameters can be provided when retrieving secrets from this secret store:

Query ParameterDescription
metadata.version_idVersion for the given secret key
metadata.path(For bulk requests only) The path from the metadata. If not set, defaults to root path (all secrets).

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.

Last modified October 12, 2023: Update config.toml (#3826) (0ffc2e7)