1. Packages
  2. Volcengine
  3. API Docs
  4. iam
  5. OauthProviders
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.iam.OauthProviders has been deprecated in favor of volcengine.iam.getOauthProviders

    Use this data source to query detailed information of iam oauth providers

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.iam.getOauthProviders({
        oauthProviderName: "acc-test-oauth",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.iam.get_oauth_providers(oauth_provider_name="acc-test-oauth")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.GetOauthProviders(ctx, &iam.GetOauthProvidersArgs{
    			OauthProviderName: "acc-test-oauth",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Iam.GetOauthProviders.Invoke(new()
        {
            OauthProviderName = "acc-test-oauth",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.iam.IamFunctions;
    import com.pulumi.volcengine.iam.inputs.GetOauthProvidersArgs;
    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) {
            final var default = IamFunctions.getOauthProviders(GetOauthProvidersArgs.builder()
                .oauthProviderName("acc-test-oauth")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:iam:getOauthProviders
          Arguments:
            oauthProviderName: acc-test-oauth
    

    Using OauthProviders

    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 oauthProviders(args: OauthProvidersArgs, opts?: InvokeOptions): Promise<OauthProvidersResult>
    function oauthProvidersOutput(args: OauthProvidersOutputArgs, opts?: InvokeOptions): Output<OauthProvidersResult>
    def oauth_providers(oauth_provider_name: Optional[str] = None,
                        output_file: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> OauthProvidersResult
    def oauth_providers_output(oauth_provider_name: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[OauthProvidersResult]
    func OauthProviders(ctx *Context, args *OauthProvidersArgs, opts ...InvokeOption) (*OauthProvidersResult, error)
    func OauthProvidersOutput(ctx *Context, args *OauthProvidersOutputArgs, opts ...InvokeOption) OauthProvidersResultOutput
    public static class OauthProviders 
    {
        public static Task<OauthProvidersResult> InvokeAsync(OauthProvidersArgs args, InvokeOptions? opts = null)
        public static Output<OauthProvidersResult> Invoke(OauthProvidersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<OauthProvidersResult> oauthProviders(OauthProvidersArgs args, InvokeOptions options)
    public static Output<OauthProvidersResult> oauthProviders(OauthProvidersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:iam:OauthProviders
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OauthProviderName string
    The name of the OAuth provider.
    OutputFile string
    File name where to save data source results.
    OauthProviderName string
    The name of the OAuth provider.
    OutputFile string
    File name where to save data source results.
    oauthProviderName String
    The name of the OAuth provider.
    outputFile String
    File name where to save data source results.
    oauthProviderName string
    The name of the OAuth provider.
    outputFile string
    File name where to save data source results.
    oauth_provider_name str
    The name of the OAuth provider.
    output_file str
    File name where to save data source results.
    oauthProviderName String
    The name of the OAuth provider.
    outputFile String
    File name where to save data source results.

    OauthProviders Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OauthProviderName string
    The name of the OAuth provider.
    Providers List<OauthProvidersProvider>
    The collection of OAuth providers.
    TotalCount int
    The total count of query.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    OauthProviderName string
    The name of the OAuth provider.
    Providers []OauthProvidersProvider
    The collection of OAuth providers.
    TotalCount int
    The total count of query.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    oauthProviderName String
    The name of the OAuth provider.
    providers List<OauthProvidersProvider>
    The collection of OAuth providers.
    totalCount Integer
    The total count of query.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    oauthProviderName string
    The name of the OAuth provider.
    providers OauthProvidersProvider[]
    The collection of OAuth providers.
    totalCount number
    The total count of query.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    oauth_provider_name str
    The name of the OAuth provider.
    providers Sequence[OauthProvidersProvider]
    The collection of OAuth providers.
    total_count int
    The total count of query.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    oauthProviderName String
    The name of the OAuth provider.
    providers List<Property Map>
    The collection of OAuth providers.
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    OauthProvidersProvider

    AuthorizeTemplate string
    The authorize template of the OAuth provider.
    AuthorizeUrl string
    The authorize url of the OAuth provider.
    ClientId string
    The client id of the OAuth provider.
    ClientSecret string
    The client secret of the OAuth provider.
    CreateDate string
    The create date of the OAuth provider.
    Description string
    The description of the OAuth provider.
    IdentityMapType int
    The identity map type of the OAuth provider.
    IdpIdentityKey string
    The idp identity key of the OAuth provider.
    OauthProviderName string
    The name of the OAuth provider.
    ProviderId string
    The id of the OAuth provider.
    Scope string
    The scope of the OAuth provider.
    SsoType int
    The SSO type of the OAuth provider.
    Status int
    The status of the OAuth provider.
    TokenUrl string
    The token url of the OAuth provider.
    Trn string
    The trn of the OAuth provider.
    UpdateDate string
    The update date of the OAuth provider.
    UserInfoUrl string
    The user info url of the OAuth provider.
    AuthorizeTemplate string
    The authorize template of the OAuth provider.
    AuthorizeUrl string
    The authorize url of the OAuth provider.
    ClientId string
    The client id of the OAuth provider.
    ClientSecret string
    The client secret of the OAuth provider.
    CreateDate string
    The create date of the OAuth provider.
    Description string
    The description of the OAuth provider.
    IdentityMapType int
    The identity map type of the OAuth provider.
    IdpIdentityKey string
    The idp identity key of the OAuth provider.
    OauthProviderName string
    The name of the OAuth provider.
    ProviderId string
    The id of the OAuth provider.
    Scope string
    The scope of the OAuth provider.
    SsoType int
    The SSO type of the OAuth provider.
    Status int
    The status of the OAuth provider.
    TokenUrl string
    The token url of the OAuth provider.
    Trn string
    The trn of the OAuth provider.
    UpdateDate string
    The update date of the OAuth provider.
    UserInfoUrl string
    The user info url of the OAuth provider.
    authorizeTemplate String
    The authorize template of the OAuth provider.
    authorizeUrl String
    The authorize url of the OAuth provider.
    clientId String
    The client id of the OAuth provider.
    clientSecret String
    The client secret of the OAuth provider.
    createDate String
    The create date of the OAuth provider.
    description String
    The description of the OAuth provider.
    identityMapType Integer
    The identity map type of the OAuth provider.
    idpIdentityKey String
    The idp identity key of the OAuth provider.
    oauthProviderName String
    The name of the OAuth provider.
    providerId String
    The id of the OAuth provider.
    scope String
    The scope of the OAuth provider.
    ssoType Integer
    The SSO type of the OAuth provider.
    status Integer
    The status of the OAuth provider.
    tokenUrl String
    The token url of the OAuth provider.
    trn String
    The trn of the OAuth provider.
    updateDate String
    The update date of the OAuth provider.
    userInfoUrl String
    The user info url of the OAuth provider.
    authorizeTemplate string
    The authorize template of the OAuth provider.
    authorizeUrl string
    The authorize url of the OAuth provider.
    clientId string
    The client id of the OAuth provider.
    clientSecret string
    The client secret of the OAuth provider.
    createDate string
    The create date of the OAuth provider.
    description string
    The description of the OAuth provider.
    identityMapType number
    The identity map type of the OAuth provider.
    idpIdentityKey string
    The idp identity key of the OAuth provider.
    oauthProviderName string
    The name of the OAuth provider.
    providerId string
    The id of the OAuth provider.
    scope string
    The scope of the OAuth provider.
    ssoType number
    The SSO type of the OAuth provider.
    status number
    The status of the OAuth provider.
    tokenUrl string
    The token url of the OAuth provider.
    trn string
    The trn of the OAuth provider.
    updateDate string
    The update date of the OAuth provider.
    userInfoUrl string
    The user info url of the OAuth provider.
    authorize_template str
    The authorize template of the OAuth provider.
    authorize_url str
    The authorize url of the OAuth provider.
    client_id str
    The client id of the OAuth provider.
    client_secret str
    The client secret of the OAuth provider.
    create_date str
    The create date of the OAuth provider.
    description str
    The description of the OAuth provider.
    identity_map_type int
    The identity map type of the OAuth provider.
    idp_identity_key str
    The idp identity key of the OAuth provider.
    oauth_provider_name str
    The name of the OAuth provider.
    provider_id str
    The id of the OAuth provider.
    scope str
    The scope of the OAuth provider.
    sso_type int
    The SSO type of the OAuth provider.
    status int
    The status of the OAuth provider.
    token_url str
    The token url of the OAuth provider.
    trn str
    The trn of the OAuth provider.
    update_date str
    The update date of the OAuth provider.
    user_info_url str
    The user info url of the OAuth provider.
    authorizeTemplate String
    The authorize template of the OAuth provider.
    authorizeUrl String
    The authorize url of the OAuth provider.
    clientId String
    The client id of the OAuth provider.
    clientSecret String
    The client secret of the OAuth provider.
    createDate String
    The create date of the OAuth provider.
    description String
    The description of the OAuth provider.
    identityMapType Number
    The identity map type of the OAuth provider.
    idpIdentityKey String
    The idp identity key of the OAuth provider.
    oauthProviderName String
    The name of the OAuth provider.
    providerId String
    The id of the OAuth provider.
    scope String
    The scope of the OAuth provider.
    ssoType Number
    The SSO type of the OAuth provider.
    status Number
    The status of the OAuth provider.
    tokenUrl String
    The token url of the OAuth provider.
    trn String
    The trn of the OAuth provider.
    updateDate String
    The update date of the OAuth provider.
    userInfoUrl String
    The user info url of the OAuth provider.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate