-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs for bound service account token trigger authentication
Signed-off-by: Max Cao <macao@redhat.com>
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
content/docs/2.17/authentication-providers/bound-service-account-token.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
+++ | ||
title = "Bound service account token" | ||
+++ | ||
|
||
You can pull a service account token into the trigger by defining the `serviceAccountName` of the Kubernetes ServiceAccount and token `expiry` duration. | ||
|
||
```yaml | ||
boundServiceAccountToken: # Optional. | ||
- parameter: connectionString # Required - Defined by the scale trigger | ||
serviceAccountName: my-keda-service-account # Required. | ||
expiry: 1h # Required. | ||
``` | ||
**Assumptions:** `namespace` is in the same resource as referenced by `scaleTargetRef.name` in the ScaledObject, unless specified otherwise. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters