konnect 2.5.0 published on Tuesday, Apr 15, 2025 by kong
konnect.getGatewayPluginOauth2
Explore with Pulumi AI
Using getGatewayPluginOauth2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGatewayPluginOauth2(args: GetGatewayPluginOauth2Args, opts?: InvokeOptions): Promise<GetGatewayPluginOauth2Result>
function getGatewayPluginOauth2Output(args: GetGatewayPluginOauth2OutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginOauth2Result>
def get_gateway_plugin_oauth2(control_plane_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGatewayPluginOauth2Result
def get_gateway_plugin_oauth2_output(control_plane_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginOauth2Result]
func LookupGatewayPluginOauth2(ctx *Context, args *LookupGatewayPluginOauth2Args, opts ...InvokeOption) (*LookupGatewayPluginOauth2Result, error)
func LookupGatewayPluginOauth2Output(ctx *Context, args *LookupGatewayPluginOauth2OutputArgs, opts ...InvokeOption) LookupGatewayPluginOauth2ResultOutput
> Note: This function is named LookupGatewayPluginOauth2
in the Go SDK.
public static class GetGatewayPluginOauth2
{
public static Task<GetGatewayPluginOauth2Result> InvokeAsync(GetGatewayPluginOauth2Args args, InvokeOptions? opts = null)
public static Output<GetGatewayPluginOauth2Result> Invoke(GetGatewayPluginOauth2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayPluginOauth2Result> getGatewayPluginOauth2(GetGatewayPluginOauth2Args args, InvokeOptions options)
public static Output<GetGatewayPluginOauth2Result> getGatewayPluginOauth2(GetGatewayPluginOauth2Args args, InvokeOptions options)
fn::invoke:
function: konnect:index/getGatewayPluginOauth2:getGatewayPluginOauth2
arguments:
# arguments dictionary
The following arguments are supported:
- Control
Plane Id This property is required. string
- Control
Plane Id This property is required. string
- control
Plane Id This property is required. String
- control
Plane Id This property is required. string
- control_
plane_ id This property is required. str
- control
Plane Id This property is required. String
getGatewayPluginOauth2 Result
The following output properties are available:
- Config
Get
Gateway Plugin Oauth2Config - Control
Plane stringId - Created
At double - Enabled bool
- Id string
- Instance
Name string - Ordering
Get
Gateway Plugin Oauth2Ordering - Protocols List<string>
- Route
Get
Gateway Plugin Oauth2Route - Service
Get
Gateway Plugin Oauth2Service - List<string>
- Updated
At double
- Config
Get
Gateway Plugin Oauth2Config - Control
Plane stringId - Created
At float64 - Enabled bool
- Id string
- Instance
Name string - Ordering
Get
Gateway Plugin Oauth2Ordering - Protocols []string
- Route
Get
Gateway Plugin Oauth2Route - Service
Get
Gateway Plugin Oauth2Service - []string
- Updated
At float64
- config
Get
Gateway Plugin Oauth2Config - control
Plane StringId - created
At Double - enabled Boolean
- id String
- instance
Name String - ordering
Get
Gateway Plugin Oauth2Ordering - protocols List<String>
- route
Get
Gateway Plugin Oauth2Route - service
Get
Gateway Plugin Oauth2Service - List<String>
- updated
At Double
- config
Get
Gateway Plugin Oauth2Config - control
Plane stringId - created
At number - enabled boolean
- id string
- instance
Name string - ordering
Get
Gateway Plugin Oauth2Ordering - protocols string[]
- route
Get
Gateway Plugin Oauth2Route - service
Get
Gateway Plugin Oauth2Service - string[]
- updated
At number
- config
Get
Gateway Plugin Oauth2Config - control_
plane_ strid - created_
at float - enabled bool
- id str
- instance_
name str - ordering
Get
Gateway Plugin Oauth2Ordering - protocols Sequence[str]
- route
Get
Gateway Plugin Oauth2Route - service
Get
Gateway Plugin Oauth2Service - Sequence[str]
- updated_
at float
- config Property Map
- control
Plane StringId - created
At Number - enabled Boolean
- id String
- instance
Name String - ordering Property Map
- protocols List<String>
- route Property Map
- service Property Map
- List<String>
- updated
At Number
Supporting Types
GetGatewayPluginOauth2Config
- Accept
Http If Already Terminated This property is required. bool - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- Anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- Auth
Header Name This property is required. string - The name of the header that is supposed to carry the access token.
This property is required. bool- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- Enable
Client Credentials This property is required. bool - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- Enable
Implicit Grant This property is required. bool - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- Enable
Password Grant This property is required. bool - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- Global
Credentials This property is required. bool - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - Hide
Credentials This property is required. bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- Mandatory
Scope This property is required. bool - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - Persistent
Refresh Token This property is required. bool - Pkce
This property is required. string - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- Provision
Key This property is required. string - The unique key the plugin has generated when it has been added to the Service.
- Realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Refresh
Token Ttl This property is required. double - Time-to-live value for data
- Reuse
Refresh Token This property is required. bool - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- Scopes
This property is required. List<string> - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - Token
Expiration This property is required. double - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
- Accept
Http If Already Terminated This property is required. bool - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- Anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- Auth
Header Name This property is required. string - The name of the header that is supposed to carry the access token.
This property is required. bool- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- Enable
Client Credentials This property is required. bool - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- Enable
Implicit Grant This property is required. bool - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- Enable
Password Grant This property is required. bool - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- Global
Credentials This property is required. bool - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - Hide
Credentials This property is required. bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- Mandatory
Scope This property is required. bool - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - Persistent
Refresh Token This property is required. bool - Pkce
This property is required. string - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- Provision
Key This property is required. string - The unique key the plugin has generated when it has been added to the Service.
- Realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Refresh
Token Ttl This property is required. float64 - Time-to-live value for data
- Reuse
Refresh Token This property is required. bool - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- Scopes
This property is required. []string - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - Token
Expiration This property is required. float64 - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
- accept
Http If Already Terminated This property is required. Boolean - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- anonymous
This property is required. String - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- auth
Header Name This property is required. String - The name of the header that is supposed to carry the access token.
This property is required. Boolean- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- enable
Client Credentials This property is required. Boolean - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- enable
Implicit Grant This property is required. Boolean - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- enable
Password Grant This property is required. Boolean - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- global
Credentials This property is required. Boolean - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - hide
Credentials This property is required. Boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- mandatory
Scope This property is required. Boolean - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - persistent
Refresh Token This property is required. Boolean - pkce
This property is required. String - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- provision
Key This property is required. String - The unique key the plugin has generated when it has been added to the Service.
- realm
This property is required. String - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - refresh
Token Ttl This property is required. Double - Time-to-live value for data
- reuse
Refresh Token This property is required. Boolean - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- scopes
This property is required. List<String> - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - token
Expiration This property is required. Double - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
- accept
Http If Already Terminated This property is required. boolean - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- auth
Header Name This property is required. string - The name of the header that is supposed to carry the access token.
This property is required. boolean- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- enable
Client Credentials This property is required. boolean - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- enable
Implicit Grant This property is required. boolean - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- enable
Password Grant This property is required. boolean - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- global
Credentials This property is required. boolean - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - hide
Credentials This property is required. boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- mandatory
Scope This property is required. boolean - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - persistent
Refresh Token This property is required. boolean - pkce
This property is required. string - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- provision
Key This property is required. string - The unique key the plugin has generated when it has been added to the Service.
- realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - refresh
Token Ttl This property is required. number - Time-to-live value for data
- reuse
Refresh Token This property is required. boolean - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- scopes
This property is required. string[] - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - token
Expiration This property is required. number - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
- accept_
http_ if_ already_ terminated This property is required. bool - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- anonymous
This property is required. str - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- auth_
header_ name This property is required. str - The name of the header that is supposed to carry the access token.
This property is required. bool- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- enable_
client_ credentials This property is required. bool - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- enable_
implicit_ grant This property is required. bool - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- enable_
password_ grant This property is required. bool - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- global_
credentials This property is required. bool - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - hide_
credentials This property is required. bool - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- mandatory_
scope This property is required. bool - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - persistent_
refresh_ token This property is required. bool - pkce
This property is required. str - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- provision_
key This property is required. str - The unique key the plugin has generated when it has been added to the Service.
- realm
This property is required. str - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - refresh_
token_ ttl This property is required. float - Time-to-live value for data
- reuse_
refresh_ token This property is required. bool - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- scopes
This property is required. Sequence[str] - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - token_
expiration This property is required. float - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
- accept
Http If Already Terminated This property is required. Boolean - Accepts HTTPs requests that have already been terminated by a proxy or load balancer.
- anonymous
This property is required. String - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- auth
Header Name This property is required. String - The name of the header that is supposed to carry the access token.
This property is required. Boolean- An optional boolean value to enable the three-legged Authorization Code flow (RFC 6742 Section 4.1).
- enable
Client Credentials This property is required. Boolean - An optional boolean value to enable the Client Credentials Grant flow (RFC 6742 Section 4.4).
- enable
Implicit Grant This property is required. Boolean - An optional boolean value to enable the Implicit Grant flow which allows to provision a token as a result of the authorization process (RFC 6742 Section 4.2).
- enable
Password Grant This property is required. Boolean - An optional boolean value to enable the Resource Owner Password Credentials Grant flow (RFC 6742 Section 4.3).
- global
Credentials This property is required. Boolean - An optional boolean value that allows using the same OAuth credentials generated by the plugin with any other service whose OAuth 2.0 plugin configuration also has
config.global_credentials=true
. - hide
Credentials This property is required. Boolean - An optional boolean value telling the plugin to show or hide the credential from the upstream service.
- mandatory
Scope This property is required. Boolean - An optional boolean value telling the plugin to require at least one
scope
to be authorized by the end user. - persistent
Refresh Token This property is required. Boolean - pkce
This property is required. String - Specifies a mode of how the Proof Key for Code Exchange (PKCE) should be handled by the plugin.
- provision
Key This property is required. String - The unique key the plugin has generated when it has been added to the Service.
- realm
This property is required. String - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - refresh
Token Ttl This property is required. Number - Time-to-live value for data
- reuse
Refresh Token This property is required. Boolean - An optional boolean value that indicates whether an OAuth refresh token is reused when refreshing an access token.
- scopes
This property is required. List<String> - Describes an array of scope names that will be available to the end user. If
mandatory_scope
is set totrue
, thenscopes
are required. - token
Expiration This property is required. Number - An optional integer value telling the plugin how many seconds a token should last, after which the client will need to refresh the token. Set to
0
to disable the expiration.
GetGatewayPluginOauth2Ordering
- After
This property is required. GetGateway Plugin Oauth2Ordering After - Before
This property is required. GetGateway Plugin Oauth2Ordering Before
- After
This property is required. GetGateway Plugin Oauth2Ordering After - Before
This property is required. GetGateway Plugin Oauth2Ordering Before
- after
This property is required. GetGateway Plugin Oauth2Ordering After - before
This property is required. GetGateway Plugin Oauth2Ordering Before
- after
This property is required. GetGateway Plugin Oauth2Ordering After - before
This property is required. GetGateway Plugin Oauth2Ordering Before
- after
This property is required. GetGateway Plugin Oauth2Ordering After - before
This property is required. GetGateway Plugin Oauth2Ordering Before
- after
This property is required. Property Map - before
This property is required. Property Map
GetGatewayPluginOauth2OrderingAfter
- Accesses
This property is required. List<string>
- Accesses
This property is required. []string
- accesses
This property is required. List<String>
- accesses
This property is required. string[]
- accesses
This property is required. Sequence[str]
- accesses
This property is required. List<String>
GetGatewayPluginOauth2OrderingBefore
- Accesses
This property is required. List<string>
- Accesses
This property is required. []string
- accesses
This property is required. List<String>
- accesses
This property is required. string[]
- accesses
This property is required. Sequence[str]
- accesses
This property is required. List<String>
GetGatewayPluginOauth2Route
- Id
This property is required. string
- Id
This property is required. string
- id
This property is required. String
- id
This property is required. string
- id
This property is required. str
- id
This property is required. String
GetGatewayPluginOauth2Service
- Id
This property is required. string
- Id
This property is required. string
- id
This property is required. String
- id
This property is required. string
- id
This property is required. str
- id
This property is required. String
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.