-
Notifications
You must be signed in to change notification settings - Fork 129
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
Documents usage of DAPR_API_TOKEN
#654
Conversation
Signed-off-by: Elena Kolevska <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #654 +/- ##
=======================================
Coverage 86.16% 86.16%
=======================================
Files 75 75
Lines 3737 3737
=======================================
Hits 3220 3220
Misses 517 517 ☔ View full report in Codecov by Sentry. |
@@ -66,6 +69,9 @@ with DaprClient() as d: | |||
The legacy environment variables `DAPR_RUNTIME_HOST`, `DAPR_HTTP_PORT` and `DAPR_GRPC_PORT` are | |||
also supported, but `DAPR_GRPC_ENDPOINT` takes precedence. | |||
|
|||
##### Dapr API Token | |||
|
|||
You can use the `DAPR_API_TOKEN` environment variable to set the Dapr API token. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elena-kolevska what do you think about linking to Enable API token authentication in Dapr, or the Environment variables doc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea, thanks! I added it.
Signed-off-by: Elena Kolevska <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
* Documents usage of `DAPR_API_TOKEN` Signed-off-by: Elena Kolevska <[email protected]> * Adds link to dapr api token docs Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Bernd Verst <[email protected]> Signed-off-by: Li Tan <[email protected]>
Description
Documented the usage of
DAPR_API_TOKEN
Issue reference
#653