Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
OAuth Client Read
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleOauthClients = cloudflare.getOauthClients({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_oauth_clients = cloudflare.get_oauth_clients(account_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetOauthClients(ctx, &cloudflare.LookupOauthClientsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleOauthClients = Cloudflare.GetOauthClients.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetOauthClientsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var exampleOauthClients = CloudflareFunctions.getOauthClients(GetOauthClientsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleOauthClients:
fn::invoke:
function: cloudflare:getOauthClients
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getoauthclients" "exampleOauthClients" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Using getOauthClients
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 getOauthClients(args: GetOauthClientsArgs, opts?: InvokeOptions): Promise<GetOauthClientsResult>
function getOauthClientsOutput(args: GetOauthClientsOutputArgs, opts?: InvokeOptions): Output<GetOauthClientsResult>def get_oauth_clients(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetOauthClientsResult
def get_oauth_clients_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOauthClientsResult]func LookupOauthClients(ctx *Context, args *LookupOauthClientsArgs, opts ...InvokeOption) (*LookupOauthClientsResult, error)
func LookupOauthClientsOutput(ctx *Context, args *LookupOauthClientsOutputArgs, opts ...InvokeOption) LookupOauthClientsResultOutput> Note: This function is named LookupOauthClients in the Go SDK.
public static class GetOauthClients
{
public static Task<GetOauthClientsResult> InvokeAsync(GetOauthClientsArgs args, InvokeOptions? opts = null)
public static Output<GetOauthClientsResult> Invoke(GetOauthClientsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOauthClientsResult> getOauthClients(GetOauthClientsArgs args, InvokeOptions options)
public static Output<GetOauthClientsResult> getOauthClients(GetOauthClientsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getOauthClients:getOauthClients
arguments:
# arguments dictionarydata "cloudflare_get_oauth_clients" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Account identifier tag.
- max_
items number - Max items to fetch, default: 1000
- account_
id str - Account identifier tag.
- max_
items int - Max items to fetch, default: 1000
getOauthClients Result
The following output properties are available:
- Account
Id string - Account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Oauth Clients Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Oauth Clients Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - Account identifier tag.
- id string
- The provider-assigned unique ID for this managed resource.
- results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- account
Id String - Account identifier tag.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Oauth Clients Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Account identifier tag.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Oauth Clients Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Account identifier tag.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Oauth Clients Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Account identifier tag.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetOauthClientsResult
- Allowed
Cors List<string>Origins - Array of allowed CORS origins.
- Client
Id string - The unique identifier for an OAuth client.
- Client
Name string - Human-readable name of the OAuth client.
- Client
Uri string - URL of the home page of the client.
- Client
Uri GetVerification Oauth Clients Result Client Uri Verification - Client URI domain control verification state.
- Created
At string - Timestamp when the OAuth client was created.
- Grant
Types List<string> - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - Has
Rotated boolSecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- Logo
Uri string - URL of the client's logo.
- Policy
Uri string - URL that points to a privacy policy document.
- Post
Logout List<string>Redirect Uris - Array of allowed post-logout redirect URIs.
- Promoted
At string - Timestamp when the OAuth client was promoted to public visibility.
- Redirect
Uris List<string> - Array of allowed redirect URIs for the client.
- Response
Types List<string> - Array of OAuth response types the client is allowed to use.
- Scopes List<string>
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - Token
Endpoint stringAuth Method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- Tos
Uri string - URL that points to a terms of service document.
- Updated
At string - Timestamp when the OAuth client was last updated.
- Visibility string
- Visibility of the OAuth client. Available values: "public", "private".
- Allowed
Cors []stringOrigins - Array of allowed CORS origins.
- Client
Id string - The unique identifier for an OAuth client.
- Client
Name string - Human-readable name of the OAuth client.
- Client
Uri string - URL of the home page of the client.
- Client
Uri GetVerification Oauth Clients Result Client Uri Verification - Client URI domain control verification state.
- Created
At string - Timestamp when the OAuth client was created.
- Grant
Types []string - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - Has
Rotated boolSecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- Logo
Uri string - URL of the client's logo.
- Policy
Uri string - URL that points to a privacy policy document.
- Post
Logout []stringRedirect Uris - Array of allowed post-logout redirect URIs.
- Promoted
At string - Timestamp when the OAuth client was promoted to public visibility.
- Redirect
Uris []string - Array of allowed redirect URIs for the client.
- Response
Types []string - Array of OAuth response types the client is allowed to use.
- Scopes []string
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - Token
Endpoint stringAuth Method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- Tos
Uri string - URL that points to a terms of service document.
- Updated
At string - Timestamp when the OAuth client was last updated.
- Visibility string
- Visibility of the OAuth client. Available values: "public", "private".
- allowed_
cors_ list(string)origins - Array of allowed CORS origins.
- client_
id string - The unique identifier for an OAuth client.
- client_
name string - Human-readable name of the OAuth client.
- client_
uri string - URL of the home page of the client.
- client_
uri_ objectverification - Client URI domain control verification state.
- created_
at string - Timestamp when the OAuth client was created.
- grant_
types list(string) - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - has_
rotated_ boolsecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- logo_
uri string - URL of the client's logo.
- policy_
uri string - URL that points to a privacy policy document.
- post_
logout_ list(string)redirect_ uris - Array of allowed post-logout redirect URIs.
- promoted_
at string - Timestamp when the OAuth client was promoted to public visibility.
- redirect_
uris list(string) - Array of allowed redirect URIs for the client.
- response_
types list(string) - Array of OAuth response types the client is allowed to use.
- scopes list(string)
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - token_
endpoint_ stringauth_ method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- tos_
uri string - URL that points to a terms of service document.
- updated_
at string - Timestamp when the OAuth client was last updated.
- visibility string
- Visibility of the OAuth client. Available values: "public", "private".
- allowed
Cors List<String>Origins - Array of allowed CORS origins.
- client
Id String - The unique identifier for an OAuth client.
- client
Name String - Human-readable name of the OAuth client.
- client
Uri String - URL of the home page of the client.
- client
Uri GetVerification Oauth Clients Result Client Uri Verification - Client URI domain control verification state.
- created
At String - Timestamp when the OAuth client was created.
- grant
Types List<String> - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - has
Rotated BooleanSecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- logo
Uri String - URL of the client's logo.
- policy
Uri String - URL that points to a privacy policy document.
- post
Logout List<String>Redirect Uris - Array of allowed post-logout redirect URIs.
- promoted
At String - Timestamp when the OAuth client was promoted to public visibility.
- redirect
Uris List<String> - Array of allowed redirect URIs for the client.
- response
Types List<String> - Array of OAuth response types the client is allowed to use.
- scopes List<String>
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - token
Endpoint StringAuth Method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- tos
Uri String - URL that points to a terms of service document.
- updated
At String - Timestamp when the OAuth client was last updated.
- visibility String
- Visibility of the OAuth client. Available values: "public", "private".
- allowed
Cors string[]Origins - Array of allowed CORS origins.
- client
Id string - The unique identifier for an OAuth client.
- client
Name string - Human-readable name of the OAuth client.
- client
Uri string - URL of the home page of the client.
- client
Uri GetVerification Oauth Clients Result Client Uri Verification - Client URI domain control verification state.
- created
At string - Timestamp when the OAuth client was created.
- grant
Types string[] - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - has
Rotated booleanSecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- logo
Uri string - URL of the client's logo.
- policy
Uri string - URL that points to a privacy policy document.
- post
Logout string[]Redirect Uris - Array of allowed post-logout redirect URIs.
- promoted
At string - Timestamp when the OAuth client was promoted to public visibility.
- redirect
Uris string[] - Array of allowed redirect URIs for the client.
- response
Types string[] - Array of OAuth response types the client is allowed to use.
- scopes string[]
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - token
Endpoint stringAuth Method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- tos
Uri string - URL that points to a terms of service document.
- updated
At string - Timestamp when the OAuth client was last updated.
- visibility string
- Visibility of the OAuth client. Available values: "public", "private".
- allowed_
cors_ Sequence[str]origins - Array of allowed CORS origins.
- client_
id str - The unique identifier for an OAuth client.
- client_
name str - Human-readable name of the OAuth client.
- client_
uri str - URL of the home page of the client.
- client_
uri_ Getverification Oauth Clients Result Client Uri Verification - Client URI domain control verification state.
- created_
at str - Timestamp when the OAuth client was created.
- grant_
types Sequence[str] - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - has_
rotated_ boolsecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- logo_
uri str - URL of the client's logo.
- policy_
uri str - URL that points to a privacy policy document.
- post_
logout_ Sequence[str]redirect_ uris - Array of allowed post-logout redirect URIs.
- promoted_
at str - Timestamp when the OAuth client was promoted to public visibility.
- redirect_
uris Sequence[str] - Array of allowed redirect URIs for the client.
- response_
types Sequence[str] - Array of OAuth response types the client is allowed to use.
- scopes Sequence[str]
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - token_
endpoint_ strauth_ method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- tos_
uri str - URL that points to a terms of service document.
- updated_
at str - Timestamp when the OAuth client was last updated.
- visibility str
- Visibility of the OAuth client. Available values: "public", "private".
- allowed
Cors List<String>Origins - Array of allowed CORS origins.
- client
Id String - The unique identifier for an OAuth client.
- client
Name String - Human-readable name of the OAuth client.
- client
Uri String - URL of the home page of the client.
- client
Uri Property MapVerification - Client URI domain control verification state.
- created
At String - Timestamp when the OAuth client was created.
- grant
Types List<String> - Array of OAuth grant types the client is allowed to use.
authorizationCodeis required;refreshTokenmay be included optionally. - has
Rotated BooleanSecret - Indicates whether the client has a rotated secret that has not yet been deleted.
- logo
Uri String - URL of the client's logo.
- policy
Uri String - URL that points to a privacy policy document.
- post
Logout List<String>Redirect Uris - Array of allowed post-logout redirect URIs.
- promoted
At String - Timestamp when the OAuth client was promoted to public visibility.
- redirect
Uris List<String> - Array of allowed redirect URIs for the client.
- response
Types List<String> - Array of OAuth response types the client is allowed to use.
- scopes List<String>
- Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes
offlineAccessandopenidare added or removed automatically based ongrantTypesandresponseTypes. - token
Endpoint StringAuth Method - The authentication method the client uses at the token endpoint. Available values: "none", "clientsecretbasic", "clientsecretpost".
- tos
Uri String - URL that points to a terms of service document.
- updated
At String - Timestamp when the OAuth client was last updated.
- visibility String
- Visibility of the OAuth client. Available values: "public", "private".
GetOauthClientsResultClientUriVerification
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi