Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API tokens do not need to be JWT's #2332

Merged
merged 10 commits into from
May 6, 2022
Merged

Conversation

ItalyPaleAle
Copy link
Contributor

Fixes #2329

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
@ItalyPaleAle ItalyPaleAle requested review from a team as code owners April 5, 2022 22:07
@msfussell
Copy link
Member

This is a good update. However there are a couple more things to cover;

  1. Can you also add the same clarity to the reverse, Dapr to App calls in this topic?http://localhost:1313/operations/security/app-api-token/ for the JWT token

  2. This update also made me think that in some SDKs, they set the API_TOKEN on each call on your behalf (for example in the .NET SDK) and I believe these are read via the DAPR_API_TOKEN token for the SDK (and the reverse APP_API_TOKEN). Worth confirming this and then adding this Into the clients section of these docs, so that people using the SDKs know that this is taken care of. Need to check which SDK do this and for those that do not, we need to raise issue to track this work.

  3. Q: In the SDKs, in the methods called by Dapr to app (for example subscribe endpoint), do they enforce the APP_API_TOKEN?

@ItalyPaleAle
Copy link
Contributor Author

Thanks for the review @msfussell .

I have updated the app-api-token page too as per your point 1.

As per the other two points, looking into the SDKs it seems that only the Go and PHP SDKs today implement those behaviors automatically. There's an open issue in the .NET one: dapr/dotnet-sdk#835

@msfussell
Copy link
Member

The dotnet issue that you reference above should really be addressed and all the SDKs should honor the env variables values both ways.

@ItalyPaleAle
Copy link
Contributor Author

I agree with you on that. We should involve the maintainers of each SDK in that, however.

In the meanwhile, do you think this PR can be merged? Even without the SDK updates (which can take months), I don't think it's necessary to block these changes.

@msfussell
Copy link
Member

@ItalyPaleAle These are all good changes and yes we can take the docs. My only feedback is that it is possible to use a JWT as well as random byte sequence, and in fact we even show this in these diagrams here. https://dapr.io/. So I would still keep an edit version of the JWT text below, saying this is another approach.

Note, while Dapr itself is actually not the JWT token issuer in this implementation, being explicit about the use of JWT standard enables federated implementations in the future (e.g. OAuth2).

To configure API authentication, start by generating your token using any JWT token compatible tool (e.g. https://jwt.io/) and your secret.

Note, that secret is only necessary to generate the token, and Dapr doesn't need to know about or store it

@ItalyPaleAle
Copy link
Contributor Author

The proposed docs say:

Dapr uses shared tokens for API authentication. You are free to define the API token to use.

Although the example uses a random string, any sequence of characters would work, including a JWT: Dapr treats them as opaque tokens. However, I'm wary of explicitly mentioning JWTs because they're a confusing topic to a lot of people and I am concerned that mentioning them could cause more confusion with regards to Dapr.

@github-actions
Copy link

Stale PR, paging all reviewers

@github-actions github-actions bot added the stale label Apr 17, 2022
@msfussell msfussell removed the stale label Apr 20, 2022
@msfussell
Copy link
Member

The proposed docs say:

Dapr uses shared tokens for API authentication. You are free to define the API token to use.

Although the example uses a random string, any sequence of characters would work, including a JWT: Dapr treats them as opaque tokens. However, I'm wary of explicitly mentioning JWTs because they're a confusing topic to a lot of people and I am concerned that mentioning them could cause more confusion with regards to Dapr.

Can you be more specific here about confusing? These are just tokens. If we want to show Dapr independence for the token we have to mention at least two examples to show how/why. JWT was the other example I had in mind, so not clear why this would be confusing.

@ItalyPaleAle
Copy link
Contributor Author

So to Dapr, API tokens are opaque strings. Which means that they can be anything, including JWTs but also the name of your pet or the entire text of Dante's Inferno.

With opaque tokens, however, the correct thing to use is random data, which is what allows you to get the most entropy per byte. In fact, each random byte (before it's encoded to base64) contains exactly 8 bits of entropy (by definition), and nothing else can have higher density of entropy. Using random data allows you to get the shortest tokens with the highest amount of entropy, so it's the most efficient at a given level of desired security. (Of course the random data is then base64-encoded, which makes the tokens slightly longer but preserves the amount of entropy). This means that suggesting anything else is recommending to weaken the security of the system, or making it less efficient.

With regards to JWTs specifically, I also have an another concern. You can say that there are 2 kinds of developers: those who understand JWTs, and those who don't, and the latter group is likely bigger.

For those who do not understand JWTs, seeing them mentioned there is adding unnecessary confusion. JWTs are indeed complicated beasts and cause people to get lost into the world of HMACs and digital signatures. Also, because lots of people don't understand JWTs, there are myths around such as that JWTs are insecure (which is a popular argument you can read online, especially in beginner articles, and it's not really about JWTs themselves but more about how they're stored/handled), or worse that they are encrypted (they can be, but they normally aren't) so developers may store sensitive data in them.

For those who do understand JWTs, seeing them mentioned here would be confusing. When I read the docs, I couldn't really understand myself why JWTs were mentioned.
JWTs are self-contained tokens, which are designed to carry certain claims. It's expected that the application that receives them will decode & validate the JWT, and do something with the claims it contains. They're the opposite of opaque tokens, in fact! The current Dapr docs suggest to generate a JWT but are not saying what claims to include (first source of confusion - if they are tokens meant to carry information, developers need to know what information to include), what key to sign them with (second source of confusion: if they need to be validated, information on the keys need to be included), and then how to pass information on issuer and key to Dapr.

I actually would recommend removing the JWT icon from the diagrams on dapr.io and replacing them with a more generic token icon.

@msfussell
Copy link
Member

Explanation makes sense. In that case, lets raise a PR to update the Website diagrams

@ItalyPaleAle
Copy link
Contributor Author

Where are the sources for that? I found the PNGs here but I can't find the source assets (like SVG or PSD or whatever): https://github.com/dapr/website/tree/master/static/images

@msfussell
Copy link
Member

Where are the sources for that? I found the PNGs here but I can't find the source assets (like SVG or PSD or whatever): https://github.com/dapr/website/tree/master/static/images

See linked issue for the diagram source.

Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@msfussell msfussell merged commit 0ce74a1 into dapr:v1.7 May 6, 2022
msfussell added a commit that referenced this pull request May 18, 2022
* fix code snippet typo and grammar pass

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix parameter typo and grammar pass

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Fix CLI command typo

Fix CLI certificate renewal command typo

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fixes state-store-ttl Python example (#2352)

* Update state-store-ttl.md

Add comma so the metadata value is a tuple of tuple, otherwise Python collapses it to just being an ordinary tuple.

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update pubsub-raw.md

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fix go quickstart port (#2360)

* fix go quickstart port

Signed-off-by: yaron2 <schneider.yaron@live.com>

* fix pub/sub port also

Signed-off-by: yaron2 <schneider.yaron@live.com>

* Fixes wrong working directory for dotnet state management sample (#2359)

* Wrong working directory for .Net state management sample

The working directory for .NET is pointing to `pub_sub` but it should be `state_management`.

Signed-off-by: Stephane Lapointe <stephane.lap@outlook.com>

* Removing the word "publisher" which was also unneed

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* add new dapr init flags and examples to docs

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* quick save

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* [state management] Update docs around transactional operations (#2372)

* clarify transactional operations in docs

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Added some more details for clarity

* updates per Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove en from link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* ignore links attempt

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fixed typo in security concept doc (#2374)

Signed-off-by: moreyhat <moreyhat@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>

* Fix curl example

`\` is missing for some curl examples.

Signed-off-by: zhangchao <zchao9100@gmail.com>

* Update metrics-overview.md

* replace zip file; update url (#2386)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update to version to 1.7.1 (#2388)

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* typo fix (#2384)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update building_blocks.png (#2387)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update dapr runtime version to 1.7.2

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* Remove "quickstart" references from tutorial (#2383)

* remove quickstart references

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update daprdocs/content/en/getting-started/tutorials/get-started-component.md

* Update daprdocs/content/en/getting-started/tutorials/get-started-component.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* sentry isn't installed by default in self-hosted mode (#2366)

* sentry isn't installed by default in self-hosted mode

Fixes: #2365

Signed-off-by: Doug Davis <dug@microsoft.com>

* Update daprdocs/content/en/concepts/dapr-services/sentry.md

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Bump nanoid from 3.1.23 to 3.3.2 in /daprdocs (#2348)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.23...3.3.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update JS submodule

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* [Dapr API] Extend example to include delete state (#2377)

* extend dapr api example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove extra #

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* quote urls

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* ignore links

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove transactional and bulk get

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update intro to only one object

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fix TTL example for Python (#2394)

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fix config yaml w.r.t. name and namespace (#2397)

The config sample yaml used the wrong namespace and while in there I decided to
mention the name of the config instead of just its namespace since the two
are so similar, I didn't want people to think one was a typo.

And the monitoring sample had a typo.

Signed-off-by: Doug Davis <dug@microsoft.com>

* [quickstarts] fix port typo in pubsub and service invo (#2369)

* fix typo in js command

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* check commands in other quickstarts

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update kubernetes overview to explain where annotations should actually go to (#2400)

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>

* Add profile-port to env variables table (#2402)

* add profile-port to env variables table

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [secrets and actors api reference docs] error code fixes (#2356)

* error code fixes

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* reverting changes to secrets api

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update presentation

Signed-off-by: msfussell <markfussell@gmail.com>

* add missing upgrade step for 1.7 (#2423)

Signed-off-by: yaron2 <schneider.yaron@live.com>

* update presentation (#2415)

Signed-off-by: msfussell <markfussell@gmail.com>

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>

* new deck

Signed-off-by: msfussell <markfussell@gmail.com>

* Fixes in howto-bindings: (#2416)

- JS and curl samples were sending data as objects but sample apps expected ints
- Improved JS sample to correctly handle async code and make it more readable
- Fixed indentation in .NET code
- JavaScript has uppercased S

Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* API tokens do not need to be JWT's (#2332)

* API tokens do not need to be JWT's

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

* Updated app-api-token

Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* message for restarting the dapr-enabled pods (#2399)

* message for restarting the dapr-enabled pods

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Addressed review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* fix kafka pubsub example config (#2429)

Signed-off-by: zhangchao <zchao9100@gmail.com>

* update otel collector version to 0.50.0 (#2434)

Signed-off-by: fabistb <fabian0401@online.de>

* Fixing URL bug in AWS name (#2439)

Signed-off-by: msfussell <markfussell@gmail.com>

* Update runtime version to 1.7.3

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* correct configuration.program in launch.json

Signed-off-by: Jack Liu shurui <jackliusr@gmail.com>

Co-authored-by: Hannah Hunter <hannahhunter@microsoft.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Stephane Lapointe <slapointe@users.noreply.github.com>
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Co-authored-by: moreyhat <moreyhat@gmail.com>
Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Doug Davis <duglin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thorsten Hans <thorsten.hans@outlook.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Fabian Steinbach <63794579+fabistb@users.noreply.github.com>
Co-authored-by: Jack Liu shurui <jackliusr@gmail.com>
msfussell added a commit that referenced this pull request Jun 21, 2022
* fix code snippet typo and grammar pass

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix parameter typo and grammar pass

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Fix CLI command typo

Fix CLI certificate renewal command typo

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fixes state-store-ttl Python example (#2352)

* Update state-store-ttl.md

Add comma so the metadata value is a tuple of tuple, otherwise Python collapses it to just being an ordinary tuple.

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Update pubsub-raw.md

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fix go quickstart port (#2360)

* fix go quickstart port

Signed-off-by: yaron2 <schneider.yaron@live.com>

* fix pub/sub port also

Signed-off-by: yaron2 <schneider.yaron@live.com>

* Fixes wrong working directory for dotnet state management sample (#2359)

* Wrong working directory for .Net state management sample

The working directory for .NET is pointing to `pub_sub` but it should be `state_management`.

Signed-off-by: Stephane Lapointe <stephane.lap@outlook.com>

* Removing the word "publisher" which was also unneed

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* add new dapr init flags and examples to docs

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* quick save

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* [state management] Update docs around transactional operations (#2372)

* clarify transactional operations in docs

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Added some more details for clarity

* updates per Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove en from link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* ignore links attempt

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fixed typo in security concept doc (#2374)

Signed-off-by: moreyhat <moreyhat@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>

* Fix curl example

`\` is missing for some curl examples.

Signed-off-by: zhangchao <zchao9100@gmail.com>

* Update metrics-overview.md

* replace zip file; update url (#2386)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update to version to 1.7.1 (#2388)

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* typo fix (#2384)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update building_blocks.png (#2387)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update dapr runtime version to 1.7.2

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* Remove "quickstart" references from tutorial (#2383)

* remove quickstart references

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update daprdocs/content/en/getting-started/tutorials/get-started-component.md

* Update daprdocs/content/en/getting-started/tutorials/get-started-component.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* sentry isn't installed by default in self-hosted mode (#2366)

* sentry isn't installed by default in self-hosted mode

Fixes: #2365

Signed-off-by: Doug Davis <dug@microsoft.com>

* Update daprdocs/content/en/concepts/dapr-services/sentry.md

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Bump nanoid from 3.1.23 to 3.3.2 in /daprdocs (#2348)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.23...3.3.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update JS submodule

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* [Dapr API] Extend example to include delete state (#2377)

* extend dapr api example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove extra #

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* quote urls

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* ignore links

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove transactional and bulk get

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update intro to only one object

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fix TTL example for Python (#2394)

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Fix config yaml w.r.t. name and namespace (#2397)

The config sample yaml used the wrong namespace and while in there I decided to
mention the name of the config instead of just its namespace since the two
are so similar, I didn't want people to think one was a typo.

And the monitoring sample had a typo.

Signed-off-by: Doug Davis <dug@microsoft.com>

* [quickstarts] fix port typo in pubsub and service invo (#2369)

* fix typo in js command

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* check commands in other quickstarts

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update kubernetes overview to explain where annotations should actually go to (#2400)

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>

* Add profile-port to env variables table (#2402)

* add profile-port to env variables table

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [secrets and actors api reference docs] error code fixes (#2356)

* error code fixes

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* reverting changes to secrets api

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* update presentation

Signed-off-by: msfussell <markfussell@gmail.com>

* add note to table

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* add missing upgrade step for 1.7 (#2423)

Signed-off-by: yaron2 <schneider.yaron@live.com>

* update presentation (#2415)

Signed-off-by: msfussell <markfussell@gmail.com>

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>

* new deck

Signed-off-by: msfussell <markfussell@gmail.com>

* Fixes in howto-bindings: (#2416)

- JS and curl samples were sending data as objects but sample apps expected ints
- Improved JS sample to correctly handle async code and make it more readable
- Fixed indentation in .NET code
- JavaScript has uppercased S

Signed-off-by: Alessandro Segala (ItalyPaleAle) <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* API tokens do not need to be JWT's (#2332)

* API tokens do not need to be JWT's

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

* Updated app-api-token

Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* message for restarting the dapr-enabled pods (#2399)

* message for restarting the dapr-enabled pods

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Addressed review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* fix kafka pubsub example config (#2429)

Signed-off-by: zhangchao <zchao9100@gmail.com>

* update otel collector version to 0.50.0 (#2434)

Signed-off-by: fabistb <fabian0401@online.de>

* Fixing URL bug in AWS name (#2439)

Signed-off-by: msfussell <markfussell@gmail.com>

* Update runtime version to 1.7.3

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* Update vscode-how-to-debug-multiple-dapr-apps.md

Signed-off-by: Jack Liu shurui <jackliusr@gmail.com>

* correct configuration.program in launch.json

Signed-off-by: Jack Liu shurui <jackliusr@gmail.com>

* Update daprdocs/content/en/reference/arguments-annotations-overview.md

* Mention that the DAPR_INSTALL_DIR directory must already exist (#2410)

Signed-off-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Added missing metadata option for Service Bus in 1.7 (#2448)

* Added missing metadata option for Service Bus

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Update daprdocs/content/en/reference/components-reference/supported-pubsub/setup-azure-servicebus.md

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [Pub/sub] Overview & how-tos (#2414)

* overview; parse out howto-publish-subscribe

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* updates after talk w Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* break up cloudevents into two articles

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update to overview

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* how to and overview updates

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* grammar pass before opening for review

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* updates from Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* updated diagram

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* typo fix and freshness pass (#2460)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* add example of non-default ports (#2458)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [AWS components] Add note for AWS K8s components (#2459)

* add aws note

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* small fix

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* fix typo (#2468)

fix typo on Components page: #2466

Signed-off-by: owen <zhi_gang_sun@163.com>

* Update latest version of dapr runtime to 1.7.4 (#2478)

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>

* Update service-invocation-overview.md (#2419)

* Update service-invocation-overview.md

This is a work in progress. Opening an early draft-PR to start getting feedback before I complete the doc refresh for service invocation API.

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

Added table for doc consistency between refresh docs

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update daprdocs/content/en/developing-applications/building-blocks/service-invocation/service-invocation-overview.md

Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* Update service-invocation-overview.md

* Update service-invocation-overview.md

* Update service-invocation-overview.md

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>

* [Quickstart] Secrets Mgmt (#2470)

* initial draft

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* link to quickstart from overview and howto

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* add go example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* forgot go tab

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* small change

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* attempt at java example (#2486)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix link (#2489)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update orderprocessor port (#2491)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [State store component] Add clarification to Redis state store setup (#2492)

* add suggested text

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* peer level

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Match linkTitle case for HTTP (#2480)

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* fix and move links (#2505)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix formatting and add response output (#2504)

Signed-off-by: Sarthak Sharma <t-sartsharma@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Add note to documentation to reference the podName attribute (#2523)

Signed-off-by: CacheCoww <hmsmith2510@gmail.com>

* Added spec.metadata to example and note (#2527)

Signed-off-by: Tyson Lawrie <tlawrie@users.noreply.github.com>

* Clarify how Component configuration works (#2507)

* Add section on Component configuration.

* Clarify component configuration details.

* Update daprdocs/content/en/concepts/components-concept.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Signed-off-by: Simon Waight <simon.waight@gmail.com>

* Update daprdocs/content/en/concepts/components-concept.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Signed-off-by: Simon Waight <simon.waight@gmail.com>

* Update daprdocs/content/en/concepts/components-concept.md

Signed-off-by: Mark Fussell <markfussell@gmail.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* [secrets mgmt] typo in go section (#2530)

* typo in go section

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* clean up link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* change opencensus link

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Fixed Go sample code (#2531)

Signed-off-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

* Update issue and typos (#2533)

* diagram updates (#2536)

Signed-off-by: msfussell <markfussell@gmail.com>

* [How-tos] Remove step numbers in how-to docs (#2542)

* changes per Nick

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* updates per Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* fix error

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Co-authored-by: Mark Fussell <markfussell@gmail.com>

Co-authored-by: Hannah Hunter <hannahhunter@microsoft.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Stephane Lapointe <slapointe@users.noreply.github.com>
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Co-authored-by: moreyhat <moreyhat@gmail.com>
Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Doug Davis <duglin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thorsten Hans <thorsten.hans@outlook.com>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Fabian Steinbach <63794579+fabistb@users.noreply.github.com>
Co-authored-by: Jack Liu Shurui <jackliusr@gmail.com>
Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
Co-authored-by: zhi-gang-sun <zgsun@cn.ibm.com>
Co-authored-by: nyemade-uversky <55847877+nyemade-uversky@users.noreply.github.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Co-authored-by: Sarthak Sharma <48413781+sarsharma@users.noreply.github.com>
Co-authored-by: CacheCoww <hmsmith2510@gmail.com>
Co-authored-by: Tyson Lawrie <tlawrie@users.noreply.github.com>
Co-authored-by: Simon Waight <simon.waight@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It seems that the API token doesn't need to be a JWT
2 participants