@pulumi/kong 4.5.11 → 4.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/consumerAcl.d.ts +3 -3
- package/consumerAcl.js +3 -3
- package/consumerJwtAuth.d.ts +3 -3
- package/consumerJwtAuth.js +3 -3
- package/consumerOauth2.d.ts +7 -7
- package/consumerOauth2.js +7 -7
- package/package.json +2 -2
- package/plugin.d.ts +16 -16
- package/plugin.js +16 -16
package/consumerAcl.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* });
|
|
17
17
|
* const aclPlugin = new kong.Plugin("acl_plugin", {
|
|
18
18
|
* name: "acl",
|
|
19
|
-
* configJson:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* configJson: `\\t{
|
|
20
|
+
* \\t\\t\\"allow\\": [\\"group1\\", \\"group2\\"]
|
|
21
|
+
* \\t}
|
|
22
22
|
* `,
|
|
23
23
|
* });
|
|
24
24
|
* const consumerAcl = new kong.ConsumerAcl("consumer_acl", {
|
package/consumerAcl.js
CHANGED
|
@@ -22,9 +22,9 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* });
|
|
23
23
|
* const aclPlugin = new kong.Plugin("acl_plugin", {
|
|
24
24
|
* name: "acl",
|
|
25
|
-
* configJson:
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* configJson: `\\t{
|
|
26
|
+
* \\t\\t\\"allow\\": [\\"group1\\", \\"group2\\"]
|
|
27
|
+
* \\t}
|
|
28
28
|
* `,
|
|
29
29
|
* });
|
|
30
30
|
* const consumerAcl = new kong.ConsumerAcl("consumer_acl", {
|
package/consumerJwtAuth.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* });
|
|
17
17
|
* const jwtPlugin = new kong.Plugin("jwt_plugin", {
|
|
18
18
|
* name: "jwt",
|
|
19
|
-
* configJson:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* configJson: `\\t{
|
|
20
|
+
* \\t\\t\\"claims_to_verify\\": [\\"exp\\"]
|
|
21
|
+
* \\t}
|
|
22
22
|
* `,
|
|
23
23
|
* });
|
|
24
24
|
* const consumerJwtConfig = new kong.ConsumerJwtAuth("consumer_jwt_config", {
|
package/consumerJwtAuth.js
CHANGED
|
@@ -22,9 +22,9 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* });
|
|
23
23
|
* const jwtPlugin = new kong.Plugin("jwt_plugin", {
|
|
24
24
|
* name: "jwt",
|
|
25
|
-
* configJson:
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* configJson: `\\t{
|
|
26
|
+
* \\t\\t\\"claims_to_verify\\": [\\"exp\\"]
|
|
27
|
+
* \\t}
|
|
28
28
|
* `,
|
|
29
29
|
* });
|
|
30
30
|
* const consumerJwtConfig = new kong.ConsumerJwtAuth("consumer_jwt_config", {
|
package/consumerOauth2.d.ts
CHANGED
|
@@ -16,13 +16,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* });
|
|
17
17
|
* const oauth2Plugin = new kong.Plugin("oauth2_plugin", {
|
|
18
18
|
* name: "oauth2",
|
|
19
|
-
* configJson:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
19
|
+
* configJson: `\\t{
|
|
20
|
+
* \\t\\t\\"global_credentials\\": true,
|
|
21
|
+
* \\t\\t\\"enable_password_grant\\": true,
|
|
22
|
+
* \\t\\t\\"token_expiration\\": 180,
|
|
23
|
+
* \\t\\t\\"refresh_token_ttl\\": 180,
|
|
24
|
+
* \\t\\t\\"provision_key\\": \\"testprovisionkey\\"
|
|
25
|
+
* \\t}
|
|
26
26
|
* `,
|
|
27
27
|
* });
|
|
28
28
|
* const consumerOauth2 = new kong.ConsumerOauth2("consumer_oauth2", {
|
package/consumerOauth2.js
CHANGED
|
@@ -22,13 +22,13 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* });
|
|
23
23
|
* const oauth2Plugin = new kong.Plugin("oauth2_plugin", {
|
|
24
24
|
* name: "oauth2",
|
|
25
|
-
* configJson:
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
25
|
+
* configJson: `\\t{
|
|
26
|
+
* \\t\\t\\"global_credentials\\": true,
|
|
27
|
+
* \\t\\t\\"enable_password_grant\\": true,
|
|
28
|
+
* \\t\\t\\"token_expiration\\": 180,
|
|
29
|
+
* \\t\\t\\"refresh_token_ttl\\": 180,
|
|
30
|
+
* \\t\\t\\"provision_key\\": \\"testprovisionkey\\"
|
|
31
|
+
* \\t}
|
|
32
32
|
* `,
|
|
33
33
|
* });
|
|
34
34
|
* const consumerOauth2 = new kong.ConsumerOauth2("consumer_oauth2", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/kong",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.12",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Kong resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "kong",
|
|
26
|
-
"version": "4.5.
|
|
26
|
+
"version": "4.5.12"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/plugin.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
15
15
|
* name: "rate-limiting",
|
|
16
|
-
* configJson:
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* configJson: `\\t{
|
|
17
|
+
* \\t\\t\\"second\\": 5,
|
|
18
|
+
* \\t\\t\\"hour\\" : 1000
|
|
19
|
+
* \\t}
|
|
20
20
|
* `,
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
@@ -33,10 +33,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
34
34
|
* name: "rate-limiting",
|
|
35
35
|
* consumerId: pluginConsumer.id,
|
|
36
|
-
* configJson:
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* configJson: `\\t{
|
|
37
|
+
* \\t\\t\\"second\\": 5,
|
|
38
|
+
* \\t\\t\\"hour\\" : 1000
|
|
39
|
+
* \\t}
|
|
40
40
|
* `,
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
@@ -55,10 +55,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
55
55
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
56
56
|
* name: "rate-limiting",
|
|
57
57
|
* serviceId: service.id,
|
|
58
|
-
* configJson:
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
58
|
+
* configJson: `\\t{
|
|
59
|
+
* \\t\\t\\"second\\": 10,
|
|
60
|
+
* \\t\\t\\"hour\\" : 2000
|
|
61
|
+
* \\t}
|
|
62
62
|
* `,
|
|
63
63
|
* });
|
|
64
64
|
* ```
|
|
@@ -78,10 +78,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
78
78
|
* name: "rate-limiting",
|
|
79
79
|
* enabled: true,
|
|
80
80
|
* serviceId: service.id,
|
|
81
|
-
* configJson:
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
81
|
+
* configJson: `\\t{
|
|
82
|
+
* \\t\\t\\"second\\": 11,
|
|
83
|
+
* \\t\\t\\"hour\\" : 4000
|
|
84
|
+
* \\t}
|
|
85
85
|
* `,
|
|
86
86
|
* });
|
|
87
87
|
* ```
|
package/plugin.js
CHANGED
|
@@ -19,10 +19,10 @@ const utilities = require("./utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
21
21
|
* name: "rate-limiting",
|
|
22
|
-
* configJson:
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* configJson: `\\t{
|
|
23
|
+
* \\t\\t\\"second\\": 5,
|
|
24
|
+
* \\t\\t\\"hour\\" : 1000
|
|
25
|
+
* \\t}
|
|
26
26
|
* `,
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -39,10 +39,10 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
40
40
|
* name: "rate-limiting",
|
|
41
41
|
* consumerId: pluginConsumer.id,
|
|
42
|
-
* configJson:
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
42
|
+
* configJson: `\\t{
|
|
43
|
+
* \\t\\t\\"second\\": 5,
|
|
44
|
+
* \\t\\t\\"hour\\" : 1000
|
|
45
|
+
* \\t}
|
|
46
46
|
* `,
|
|
47
47
|
* });
|
|
48
48
|
* ```
|
|
@@ -61,10 +61,10 @@ const utilities = require("./utilities");
|
|
|
61
61
|
* const rateLimit = new kong.Plugin("rate_limit", {
|
|
62
62
|
* name: "rate-limiting",
|
|
63
63
|
* serviceId: service.id,
|
|
64
|
-
* configJson:
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
64
|
+
* configJson: `\\t{
|
|
65
|
+
* \\t\\t\\"second\\": 10,
|
|
66
|
+
* \\t\\t\\"hour\\" : 2000
|
|
67
|
+
* \\t}
|
|
68
68
|
* `,
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
|
@@ -84,10 +84,10 @@ const utilities = require("./utilities");
|
|
|
84
84
|
* name: "rate-limiting",
|
|
85
85
|
* enabled: true,
|
|
86
86
|
* serviceId: service.id,
|
|
87
|
-
* configJson:
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
87
|
+
* configJson: `\\t{
|
|
88
|
+
* \\t\\t\\"second\\": 11,
|
|
89
|
+
* \\t\\t\\"hour\\" : 4000
|
|
90
|
+
* \\t}
|
|
91
91
|
* `,
|
|
92
92
|
* });
|
|
93
93
|
* ```
|