mirror of https://github.com/dapr/docs.git
1.0 KiB
1.0 KiB
type | title | linkTitle | description |
---|---|---|---|
docs | JSON Web Key Sets (JWKS) | JSON Web Key Sets (JWKS) | Detailed information on the JWKS cryptography component |
Component format
Todo: update component format to correct format for cryptography
A Dapr crypto.yaml
component file has the following structure:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: jwks
spec:
type: crypto.jwks
version: v1
metadata:
- name: jwks
value: fixtures/crypto/jwks/jwks.json
{{% alert title="Warning" color="warning" %}} The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets, as described [here]({{< ref component-secrets.md >}}). {{% /alert %}}
Spec metadata fields
Field | Required | Details | Example |
---|---|---|---|
jwks | Y | Connection-string for the JWKS host | fixtures/crypto/jwks/jwks.json |
Related links
[Cryptography building block]({{< ref cryptography >}})