You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,13 @@ Note that this plugin cannot be used in combination with Kong [upstreams](https:
17
17
## Plugin configuration parameters
18
18
19
19
```lua
20
-
aws_assume_role_arn-- ARN of the IAM role that the plugin will try to assume
20
+
aws_assume_role_arn-- ARN of the IAM role that the plugin will try to assume, cannot be supplied together with `aws_account_id`. At least one must be specified.
21
21
type="string"
22
-
required=true
22
+
required=false
23
+
24
+
aws_account_id-- ID of the AWS account the lambda is deployed to. Used to generate the ARN of the IAM role to be assumed. Cannot be specified together with `aws_assume_role_arn`. At least one must be specified.
25
+
type="number"
26
+
required=false
23
27
24
28
aws_assume_role_name-- Name of the role above.
25
29
type="string"
@@ -33,6 +37,10 @@ aws_service -- AWS Service you are trying to access (lambda and s3 were tested)
33
37
type="string"
34
38
required=true
35
39
40
+
auth_header-- The header key used to fetch the value sent to AWS STS as the 'WebIdentityToken' parameter. Defaults to 'authorization'
41
+
type="string"
42
+
required=false
43
+
36
44
override_target_host-- To be used when deploying multiple lambdas on a single Kong service (because lambdas have different URLs)
37
45
type="string"
38
46
required=false
@@ -56,12 +64,12 @@ type = "boolean"
56
64
required=true
57
65
default=false
58
66
59
-
preserve_auth_header-- Controls if the bearer token will be passed to the upstream
67
+
preserve_auth_header-- Controls if the header value will be passed to the upstream
60
68
type="boolean"
61
69
required=true
62
70
default=true
63
71
64
-
preserve_auth_header_key-- The header key where the bearer token will be saved and passed to the upstream. works only if 'preserve_auth_header' parameter above is set to true.
72
+
preserve_auth_header_key-- The header key where the header value will be saved and passed to the upstream. works only if 'preserve_auth_header' parameter above is set to true.
0 commit comments