mirror of https://github.com/dapr/docs.git
added docs for jetstream token based auth (#2959)
Signed-off-by: Armin Schlegel <armin.schlegel@gmx.de> Signed-off-by: Armin Schlegel <armin.schlegel@gmx.de>
This commit is contained in:
parent
fce57c59b1
commit
6b578277f7
|
@ -25,26 +25,28 @@ spec:
|
|||
- name: natsURL
|
||||
value: "nats://localhost:4222"
|
||||
- name: jwt # Optional. Used for decentralized JWT authentication.
|
||||
value: "eyJhbGciOiJ...6yJV_adQssw5c"
|
||||
value: "eyJhbGciOiJ...6yJV_adQssw5c"
|
||||
- name: seedKey # Optional. Used for decentralized JWT authentication.
|
||||
value: "SUACS34K232O...5Z3POU7BNIL4Y"
|
||||
value: "SUACS34K232O...5Z3POU7BNIL4Y"
|
||||
- name: tls_client_cert # Optional. Used for TLS Client authentication.
|
||||
value: "/path/to/tls.crt"
|
||||
value: "/path/to/tls.crt"
|
||||
- name: tls_client_key # Optional. Used for TLS Client authentication.
|
||||
value: "/path/to/tls.key"
|
||||
- name: name
|
||||
value: "/path/to/tls.key"
|
||||
- name: token # Optional. Used for token based authentication.
|
||||
value: "my-token"
|
||||
- name: name
|
||||
value: "my-conn-name"
|
||||
- name: durableName
|
||||
- name: durableName
|
||||
value: "my-durable"
|
||||
- name: queueGroupName
|
||||
- name: queueGroupName
|
||||
value: "my-queue"
|
||||
- name: startSequence
|
||||
- name: startSequence
|
||||
value: 1
|
||||
- name: startTime # In Unix format
|
||||
value: 1630349391
|
||||
- name: deliverAll
|
||||
- name: deliverAll
|
||||
value: false
|
||||
- name: flowControl
|
||||
- name: flowControl
|
||||
value: false
|
||||
- name: ackWait
|
||||
value: 10s
|
||||
|
@ -73,6 +75,7 @@ spec:
|
|||
| seedKey | N | NATS decentralized authentication seed key | `"SUACS34K232O...5Z3POU7BNIL4Y"` |
|
||||
| tls_client_cert | N | NATS TLS Client Authentication Certificate | `"/path/to/tls.crt"` |
|
||||
| tls_client_key | N | NATS TLS Client Authentication Key | `"/path/to/tls.key"` |
|
||||
| token | N | [NATS token based authentication] | `"my-token"` |
|
||||
| name | N | NATS connection name | `"my-conn-name"` |
|
||||
| durableName | N | [Durable name] | `"my-durable"` |
|
||||
| queueGroupName | N | Queue group name | `"my-queue"` |
|
||||
|
@ -153,3 +156,4 @@ nats -s localhost:4222 stream add myStream --subjects mySubject
|
|||
[Rate Limit]: https://docs.nats.io/jetstream/concepts/consumers#ratelimit
|
||||
[Hearbeat]: https://docs.nats.io/jetstream/concepts/consumers#hearbeat
|
||||
[Decentralized JWT Authentication/Authorization]: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/jwt
|
||||
[NATS token based authentication]: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/tokens
|
||||
|
|
Loading…
Reference in New Issue