konnect.GatewayPluginKeyAuth
Explore with Pulumi AI
GatewayPluginKeyAuth Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPluginKeyAuth;
import com.pulumi.konnect.GatewayPluginKeyAuthArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginKeyAuthServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myGatewaypluginkeyauth = new GatewayPluginKeyAuth("myGatewaypluginkeyauth", GatewayPluginKeyAuthArgs.builder()
.config(GatewayPluginKeyAuthConfigArgs.builder()
.anonymous("...my_anonymous...")
.hide_credentials(false)
.identity_realms(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.key_in_body(false)
.key_in_header(false)
.key_in_query(true)
.key_names("...")
.realm("...my_realm...")
.run_on_preflight(false)
.build())
.controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.createdAt(5)
.enabled(true)
.gatewayPluginKeyAuthId("...my_id...")
.instanceName("...my_instance_name...")
.ordering(GatewayPluginKeyAuthOrderingArgs.builder()
.after(GatewayPluginKeyAuthOrderingAfterArgs.builder()
.access("...")
.build())
.before(GatewayPluginKeyAuthOrderingBeforeArgs.builder()
.access("...")
.build())
.build())
.protocols("https")
.route(GatewayPluginKeyAuthRouteArgs.builder()
.id("...my_id...")
.build())
.service(GatewayPluginKeyAuthServiceArgs.builder()
.id("...my_id...")
.build())
.tags("...")
.updatedAt(0)
.build());
}
}
resources:
myGatewaypluginkeyauth:
type: konnect:GatewayPluginKeyAuth
properties:
config:
anonymous: '...my_anonymous...'
hide_credentials: false
identity_realms:
- id: '...my_id...'
region: '...my_region...'
scope: cp
key_in_body: false
key_in_header: false
key_in_query: true
key_names:
- '...'
realm: '...my_realm...'
run_on_preflight: false
controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
createdAt: 5
enabled: true
gatewayPluginKeyAuthId: '...my_id...'
instanceName: '...my_instance_name...'
ordering:
after:
access:
- '...'
before:
access:
- '...'
protocols:
- https
route:
id: '...my_id...'
service:
id: '...my_id...'
tags:
- '...'
updatedAt: 0
Create GatewayPluginKeyAuth Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPluginKeyAuth(name: string, args: GatewayPluginKeyAuthArgs, opts?: CustomResourceOptions);
@overload
def GatewayPluginKeyAuth(resource_name: str,
args: GatewayPluginKeyAuthArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayPluginKeyAuth(resource_name: str,
opts: Optional[ResourceOptions] = None,
control_plane_id: Optional[str] = None,
config: Optional[GatewayPluginKeyAuthConfigArgs] = None,
created_at: Optional[float] = None,
enabled: Optional[bool] = None,
gateway_plugin_key_auth_id: Optional[str] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginKeyAuthOrderingArgs] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginKeyAuthRouteArgs] = None,
service: Optional[GatewayPluginKeyAuthServiceArgs] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[float] = None)
func NewGatewayPluginKeyAuth(ctx *Context, name string, args GatewayPluginKeyAuthArgs, opts ...ResourceOption) (*GatewayPluginKeyAuth, error)
public GatewayPluginKeyAuth(string name, GatewayPluginKeyAuthArgs args, CustomResourceOptions? opts = null)
public GatewayPluginKeyAuth(String name, GatewayPluginKeyAuthArgs args)
public GatewayPluginKeyAuth(String name, GatewayPluginKeyAuthArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginKeyAuth
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayPluginKeyAuthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayPluginKeyAuthArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayPluginKeyAuthArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPluginKeyAuthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPluginKeyAuthArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayPluginKeyAuthResource = new Konnect.GatewayPluginKeyAuth("gatewayPluginKeyAuthResource", new()
{
ControlPlaneId = "string",
Config = new Konnect.Inputs.GatewayPluginKeyAuthConfigArgs
{
Anonymous = "string",
HideCredentials = false,
IdentityRealms = new[]
{
new Konnect.Inputs.GatewayPluginKeyAuthConfigIdentityRealmArgs
{
Id = "string",
Region = "string",
Scope = "string",
},
},
KeyInBody = false,
KeyInHeader = false,
KeyInQuery = false,
KeyNames = new[]
{
"string",
},
Realm = "string",
RunOnPreflight = false,
},
CreatedAt = 0,
Enabled = false,
GatewayPluginKeyAuthId = "string",
InstanceName = "string",
Ordering = new Konnect.Inputs.GatewayPluginKeyAuthOrderingArgs
{
After = new Konnect.Inputs.GatewayPluginKeyAuthOrderingAfterArgs
{
Accesses = new[]
{
"string",
},
},
Before = new Konnect.Inputs.GatewayPluginKeyAuthOrderingBeforeArgs
{
Accesses = new[]
{
"string",
},
},
},
Protocols = new[]
{
"string",
},
Route = new Konnect.Inputs.GatewayPluginKeyAuthRouteArgs
{
Id = "string",
},
Service = new Konnect.Inputs.GatewayPluginKeyAuthServiceArgs
{
Id = "string",
},
Tags = new[]
{
"string",
},
UpdatedAt = 0,
});
example, err := konnect.NewGatewayPluginKeyAuth(ctx, "gatewayPluginKeyAuthResource", &konnect.GatewayPluginKeyAuthArgs{
ControlPlaneId: pulumi.String("string"),
Config: &konnect.GatewayPluginKeyAuthConfigArgs{
Anonymous: pulumi.String("string"),
HideCredentials: pulumi.Bool(false),
IdentityRealms: konnect.GatewayPluginKeyAuthConfigIdentityRealmArray{
&konnect.GatewayPluginKeyAuthConfigIdentityRealmArgs{
Id: pulumi.String("string"),
Region: pulumi.String("string"),
Scope: pulumi.String("string"),
},
},
KeyInBody: pulumi.Bool(false),
KeyInHeader: pulumi.Bool(false),
KeyInQuery: pulumi.Bool(false),
KeyNames: pulumi.StringArray{
pulumi.String("string"),
},
Realm: pulumi.String("string"),
RunOnPreflight: pulumi.Bool(false),
},
CreatedAt: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
GatewayPluginKeyAuthId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &konnect.GatewayPluginKeyAuthOrderingArgs{
After: &konnect.GatewayPluginKeyAuthOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &konnect.GatewayPluginKeyAuthOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &konnect.GatewayPluginKeyAuthRouteArgs{
Id: pulumi.String("string"),
},
Service: &konnect.GatewayPluginKeyAuthServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
})
var gatewayPluginKeyAuthResource = new GatewayPluginKeyAuth("gatewayPluginKeyAuthResource", GatewayPluginKeyAuthArgs.builder()
.controlPlaneId("string")
.config(GatewayPluginKeyAuthConfigArgs.builder()
.anonymous("string")
.hideCredentials(false)
.identityRealms(GatewayPluginKeyAuthConfigIdentityRealmArgs.builder()
.id("string")
.region("string")
.scope("string")
.build())
.keyInBody(false)
.keyInHeader(false)
.keyInQuery(false)
.keyNames("string")
.realm("string")
.runOnPreflight(false)
.build())
.createdAt(0)
.enabled(false)
.gatewayPluginKeyAuthId("string")
.instanceName("string")
.ordering(GatewayPluginKeyAuthOrderingArgs.builder()
.after(GatewayPluginKeyAuthOrderingAfterArgs.builder()
.accesses("string")
.build())
.before(GatewayPluginKeyAuthOrderingBeforeArgs.builder()
.accesses("string")
.build())
.build())
.protocols("string")
.route(GatewayPluginKeyAuthRouteArgs.builder()
.id("string")
.build())
.service(GatewayPluginKeyAuthServiceArgs.builder()
.id("string")
.build())
.tags("string")
.updatedAt(0)
.build());
gateway_plugin_key_auth_resource = konnect.GatewayPluginKeyAuth("gatewayPluginKeyAuthResource",
control_plane_id="string",
config={
"anonymous": "string",
"hide_credentials": False,
"identity_realms": [{
"id": "string",
"region": "string",
"scope": "string",
}],
"key_in_body": False,
"key_in_header": False,
"key_in_query": False,
"key_names": ["string"],
"realm": "string",
"run_on_preflight": False,
},
created_at=0,
enabled=False,
gateway_plugin_key_auth_id="string",
instance_name="string",
ordering={
"after": {
"accesses": ["string"],
},
"before": {
"accesses": ["string"],
},
},
protocols=["string"],
route={
"id": "string",
},
service={
"id": "string",
},
tags=["string"],
updated_at=0)
const gatewayPluginKeyAuthResource = new konnect.GatewayPluginKeyAuth("gatewayPluginKeyAuthResource", {
controlPlaneId: "string",
config: {
anonymous: "string",
hideCredentials: false,
identityRealms: [{
id: "string",
region: "string",
scope: "string",
}],
keyInBody: false,
keyInHeader: false,
keyInQuery: false,
keyNames: ["string"],
realm: "string",
runOnPreflight: false,
},
createdAt: 0,
enabled: false,
gatewayPluginKeyAuthId: "string",
instanceName: "string",
ordering: {
after: {
accesses: ["string"],
},
before: {
accesses: ["string"],
},
},
protocols: ["string"],
route: {
id: "string",
},
service: {
id: "string",
},
tags: ["string"],
updatedAt: 0,
});
type: konnect:GatewayPluginKeyAuth
properties:
config:
anonymous: string
hideCredentials: false
identityRealms:
- id: string
region: string
scope: string
keyInBody: false
keyInHeader: false
keyInQuery: false
keyNames:
- string
realm: string
runOnPreflight: false
controlPlaneId: string
createdAt: 0
enabled: false
gatewayPluginKeyAuthId: string
instanceName: string
ordering:
after:
accesses:
- string
before:
accesses:
- string
protocols:
- string
route:
id: string
service:
id: string
tags:
- string
updatedAt: 0
GatewayPluginKeyAuth Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayPluginKeyAuth resource accepts the following input properties:
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Config
Gateway
Plugin Key Auth Config - Created
At double - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringKey Auth Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Key Auth Ordering - Protocols List<string>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- Route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At double - Unix epoch when the resource was last updated.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Config
Gateway
Plugin Key Auth Config Args - Created
At float64 - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringKey Auth Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Key Auth Ordering Args - Protocols []string
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- Route
Gateway
Plugin Key Auth Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Key Auth Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At float64 - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Key Auth Config - created
At Double - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringKey Auth Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Key Auth Ordering - protocols List<String>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Double - Unix epoch when the resource was last updated.
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Key Auth Config - created
At number - Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringKey Auth Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Key Auth Ordering - protocols string[]
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At number - Unix epoch when the resource was last updated.
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config
Gateway
Plugin Key Auth Config Args - created_
at float - Unix epoch when the resource was created.
- enabled bool
- Whether the plugin is applied.
- gateway_
plugin_ strkey_ auth_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Key Auth Ordering Args - protocols Sequence[str]
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated_
at float - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- config Property Map
- created
At Number - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringKey Auth Id - The ID of this resource.
- instance
Name String - ordering Property Map
- protocols List<String>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Number - Unix epoch when the resource was last updated.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayPluginKeyAuth resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GatewayPluginKeyAuth Resource
Get an existing GatewayPluginKeyAuth resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayPluginKeyAuthState, opts?: CustomResourceOptions): GatewayPluginKeyAuth
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[GatewayPluginKeyAuthConfigArgs] = None,
control_plane_id: Optional[str] = None,
created_at: Optional[float] = None,
enabled: Optional[bool] = None,
gateway_plugin_key_auth_id: Optional[str] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginKeyAuthOrderingArgs] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginKeyAuthRouteArgs] = None,
service: Optional[GatewayPluginKeyAuthServiceArgs] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[float] = None) -> GatewayPluginKeyAuth
func GetGatewayPluginKeyAuth(ctx *Context, name string, id IDInput, state *GatewayPluginKeyAuthState, opts ...ResourceOption) (*GatewayPluginKeyAuth, error)
public static GatewayPluginKeyAuth Get(string name, Input<string> id, GatewayPluginKeyAuthState? state, CustomResourceOptions? opts = null)
public static GatewayPluginKeyAuth get(String name, Output<String> id, GatewayPluginKeyAuthState state, CustomResourceOptions options)
resources: _: type: konnect:GatewayPluginKeyAuth get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Config
Gateway
Plugin Key Auth Config - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At double - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringKey Auth Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Key Auth Ordering - Protocols List<string>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- Route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Plugin Key Auth Config Args - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At float64 - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringKey Auth Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Key Auth Ordering Args - Protocols []string
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- Route
Gateway
Plugin Key Auth Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Key Auth Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Key Auth Config - control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Double - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringKey Auth Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Key Auth Ordering - protocols List<String>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Key Auth Config - control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At number - Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringKey Auth Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Key Auth Ordering - protocols string[]
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Key Auth Config Args - control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created_
at float - Unix epoch when the resource was created.
- enabled bool
- Whether the plugin is applied.
- gateway_
plugin_ strkey_ auth_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Key Auth Ordering Args - protocols Sequence[str]
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route
Gateway
Plugin Key Auth Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Key Auth Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Number - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringKey Auth Id - The ID of this resource.
- instance
Name String - ordering Property Map
- protocols List<String>
- A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Number - Unix epoch when the resource was last updated.
Supporting Types
GatewayPluginKeyAuthConfig, GatewayPluginKeyAuthConfigArgs
- Anonymous string
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - Hide
Credentials bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - Identity
Realms List<GatewayPlugin Key Auth Config Identity Realm> - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- Key
In boolBody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - Key
In boolHeader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- Key
In boolQuery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- Key
Names List<string> - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- Realm string
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Run
On boolPreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
- Anonymous string
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - Hide
Credentials bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - Identity
Realms []GatewayPlugin Key Auth Config Identity Realm - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- Key
In boolBody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - Key
In boolHeader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- Key
In boolQuery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- Key
Names []string - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- Realm string
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Run
On boolPreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
- anonymous String
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - hide
Credentials Boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - identity
Realms List<GatewayPlugin Key Auth Config Identity Realm> - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- key
In BooleanBody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - key
In BooleanHeader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- key
In BooleanQuery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- key
Names List<String> - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- realm String
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On BooleanPreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
- anonymous string
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - hide
Credentials boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - identity
Realms GatewayPlugin Key Auth Config Identity Realm[] - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- key
In booleanBody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - key
In booleanHeader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- key
In booleanQuery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- key
Names string[] - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- realm string
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On booleanPreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
- anonymous str
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - hide_
credentials bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - identity_
realms Sequence[GatewayPlugin Key Auth Config Identity Realm] - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- key_
in_ boolbody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - key_
in_ boolheader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- key_
in_ boolquery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- key_
names Sequence[str] - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- realm str
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run_
on_ boolpreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
- anonymous String
- An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure
4xx
. - hide
Credentials Boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service. If
true
, the plugin strips the credential from the request. - identity
Realms List<Property Map> - A configuration of Konnect Identity Realms that indicate where to source a consumer from.
- key
In BooleanBody - If enabled, the plugin reads the request body. Supported MIME types:
application/www-form-urlencoded
,application/json
, andmultipart/form-data
. - key
In BooleanHeader - If enabled (default), the plugin reads the request header and tries to find the key in it.
- key
In BooleanQuery - If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.
- key
Names List<String> - Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.
- realm String
- When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On BooleanPreflight - A boolean value that indicates whether the plugin should run (and try to authenticate) on
OPTIONS
preflight requests. If set tofalse
, thenOPTIONS
requests are always allowed.
GatewayPluginKeyAuthConfigIdentityRealm, GatewayPluginKeyAuthConfigIdentityRealmArgs
GatewayPluginKeyAuthOrdering, GatewayPluginKeyAuthOrderingArgs
GatewayPluginKeyAuthOrderingAfter, GatewayPluginKeyAuthOrderingAfterArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginKeyAuthOrderingBefore, GatewayPluginKeyAuthOrderingBeforeArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginKeyAuthRoute, GatewayPluginKeyAuthRouteArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginKeyAuthService, GatewayPluginKeyAuthServiceArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
Import
$ pulumi import konnect:index/gatewayPluginKeyAuth:GatewayPluginKeyAuth my_konnect_gateway_plugin_key_auth "{ \"control_plane_id\": \"9524ec7d-36d9-465d-a8c5-83a3c9390458\", \"id\": \"3473c251-5b6c-4f45-b1ff-7ede735a366d\"}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.