1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. iam
  6. OidcProvider
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    OIDC identity provider is a user authentication service provider responsible for collecting and storing user identity data such as usernames and passwords. In access control (IAM), it is an entity containing external identity provider metadata and provides identity management services.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const iAMOidcProviderDemo = new volcenginecc.iam.OidcProvider("IAMOidcProviderDemo", {
        oidcProviderName: "ccapi-test",
        thumbprints: ["b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx"],
        clientIds: [
            "sts.test1.com",
            "sts.test2.com",
        ],
        description: "this is a test",
        issuanceLimitTime: 10,
        issuerUrl: "https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test",
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    i_am_oidc_provider_demo = volcenginecc.iam.OidcProvider("IAMOidcProviderDemo",
        oidc_provider_name="ccapi-test",
        thumbprints=["b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx"],
        client_ids=[
            "sts.test1.com",
            "sts.test2.com",
        ],
        description="this is a test",
        issuance_limit_time=10,
        issuer_url="https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.NewOidcProvider(ctx, "IAMOidcProviderDemo", &iam.OidcProviderArgs{
    			OidcProviderName: pulumi.String("ccapi-test"),
    			Thumbprints: pulumi.StringArray{
    				pulumi.String("b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx"),
    			},
    			ClientIds: pulumi.StringArray{
    				pulumi.String("sts.test1.com"),
    				pulumi.String("sts.test2.com"),
    			},
    			Description:       pulumi.String("this is a test"),
    			IssuanceLimitTime: pulumi.Int(10),
    			IssuerUrl:         pulumi.String("https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var iAMOidcProviderDemo = new Volcenginecc.Iam.OidcProvider("IAMOidcProviderDemo", new()
        {
            OidcProviderName = "ccapi-test",
            Thumbprints = new[]
            {
                "b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx",
            },
            ClientIds = new[]
            {
                "sts.test1.com",
                "sts.test2.com",
            },
            Description = "this is a test",
            IssuanceLimitTime = 10,
            IssuerUrl = "https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.iam.OidcProvider;
    import com.volcengine.volcenginecc.iam.OidcProviderArgs;
    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 iAMOidcProviderDemo = new OidcProvider("iAMOidcProviderDemo", OidcProviderArgs.builder()
                .oidcProviderName("ccapi-test")
                .thumbprints("b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx")
                .clientIds(            
                    "sts.test1.com",
                    "sts.test2.com")
                .description("this is a test")
                .issuanceLimitTime(10)
                .issuerUrl("https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test")
                .build());
    
        }
    }
    
    resources:
      iAMOidcProviderDemo:
        type: volcenginecc:iam:OidcProvider
        name: IAMOidcProviderDemo
        properties:
          oidcProviderName: ccapi-test
          thumbprints:
            - b676ffa3179e8812093a1b5eafee876ae7a6aaf231078dad1bfbxxxxxx
          clientIds:
            - sts.test1.com
            - sts.test2.com
          description: this is a test
          issuanceLimitTime: 10
          issuerUrl: https://oidc-vke-cn-xxx.tos-cn-boe.volces.com/test
    

    Create OidcProvider Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OidcProvider(name: string, args: OidcProviderArgs, opts?: CustomResourceOptions);
    @overload
    def OidcProvider(resource_name: str,
                     args: OidcProviderArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OidcProvider(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     client_ids: Optional[Sequence[str]] = None,
                     issuer_url: Optional[str] = None,
                     oidc_provider_name: Optional[str] = None,
                     thumbprints: Optional[Sequence[str]] = None,
                     description: Optional[str] = None,
                     issuance_limit_time: Optional[int] = None)
    func NewOidcProvider(ctx *Context, name string, args OidcProviderArgs, opts ...ResourceOption) (*OidcProvider, error)
    public OidcProvider(string name, OidcProviderArgs args, CustomResourceOptions? opts = null)
    public OidcProvider(String name, OidcProviderArgs args)
    public OidcProvider(String name, OidcProviderArgs args, CustomResourceOptions options)
    
    type: volcenginecc:iam:OidcProvider
    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 OidcProviderArgs
    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 OidcProviderArgs
    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 OidcProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OidcProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OidcProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OidcProvider 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 OidcProvider resource accepts the following input properties:

    ClientIds List<string>
    Client ID list. Provided by external IdP.
    IssuerUrl string
    OIDC issuer URL.
    OidcProviderName string
    OIDC identity provider name.
    Thumbprints List<string>
    HTTPS certificate verification fingerprint (SHA256).
    Description string
    Identity provider description.
    IssuanceLimitTime int
    Earliest issuance time allowed for external IdP to issue ID Token.
    ClientIds []string
    Client ID list. Provided by external IdP.
    IssuerUrl string
    OIDC issuer URL.
    OidcProviderName string
    OIDC identity provider name.
    Thumbprints []string
    HTTPS certificate verification fingerprint (SHA256).
    Description string
    Identity provider description.
    IssuanceLimitTime int
    Earliest issuance time allowed for external IdP to issue ID Token.
    clientIds List<String>
    Client ID list. Provided by external IdP.
    issuerUrl String
    OIDC issuer URL.
    oidcProviderName String
    OIDC identity provider name.
    thumbprints List<String>
    HTTPS certificate verification fingerprint (SHA256).
    description String
    Identity provider description.
    issuanceLimitTime Integer
    Earliest issuance time allowed for external IdP to issue ID Token.
    clientIds string[]
    Client ID list. Provided by external IdP.
    issuerUrl string
    OIDC issuer URL.
    oidcProviderName string
    OIDC identity provider name.
    thumbprints string[]
    HTTPS certificate verification fingerprint (SHA256).
    description string
    Identity provider description.
    issuanceLimitTime number
    Earliest issuance time allowed for external IdP to issue ID Token.
    client_ids Sequence[str]
    Client ID list. Provided by external IdP.
    issuer_url str
    OIDC issuer URL.
    oidc_provider_name str
    OIDC identity provider name.
    thumbprints Sequence[str]
    HTTPS certificate verification fingerprint (SHA256).
    description str
    Identity provider description.
    issuance_limit_time int
    Earliest issuance time allowed for external IdP to issue ID Token.
    clientIds List<String>
    Client ID list. Provided by external IdP.
    issuerUrl String
    OIDC issuer URL.
    oidcProviderName String
    OIDC identity provider name.
    thumbprints List<String>
    HTTPS certificate verification fingerprint (SHA256).
    description String
    Identity provider description.
    issuanceLimitTime Number
    Earliest issuance time allowed for external IdP to issue ID Token.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OidcProvider resource produces the following output properties:

    CreateDate string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Trn string
    Identity provider Trn.
    UpdateDate string
    Update time.
    CreateDate string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Trn string
    Identity provider Trn.
    UpdateDate string
    Update time.
    createDate String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    trn String
    Identity provider Trn.
    updateDate String
    Update time.
    createDate string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    trn string
    Identity provider Trn.
    updateDate string
    Update time.
    create_date str
    Creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    trn str
    Identity provider Trn.
    update_date str
    Update time.
    createDate String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    trn String
    Identity provider Trn.
    updateDate String
    Update time.

    Look up Existing OidcProvider Resource

    Get an existing OidcProvider 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?: OidcProviderState, opts?: CustomResourceOptions): OidcProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_ids: Optional[Sequence[str]] = None,
            create_date: Optional[str] = None,
            description: Optional[str] = None,
            issuance_limit_time: Optional[int] = None,
            issuer_url: Optional[str] = None,
            oidc_provider_name: Optional[str] = None,
            thumbprints: Optional[Sequence[str]] = None,
            trn: Optional[str] = None,
            update_date: Optional[str] = None) -> OidcProvider
    func GetOidcProvider(ctx *Context, name string, id IDInput, state *OidcProviderState, opts ...ResourceOption) (*OidcProvider, error)
    public static OidcProvider Get(string name, Input<string> id, OidcProviderState? state, CustomResourceOptions? opts = null)
    public static OidcProvider get(String name, Output<String> id, OidcProviderState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:iam:OidcProvider    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.
    The following state arguments are supported:
    ClientIds List<string>
    Client ID list. Provided by external IdP.
    CreateDate string
    Creation time.
    Description string
    Identity provider description.
    IssuanceLimitTime int
    Earliest issuance time allowed for external IdP to issue ID Token.
    IssuerUrl string
    OIDC issuer URL.
    OidcProviderName string
    OIDC identity provider name.
    Thumbprints List<string>
    HTTPS certificate verification fingerprint (SHA256).
    Trn string
    Identity provider Trn.
    UpdateDate string
    Update time.
    ClientIds []string
    Client ID list. Provided by external IdP.
    CreateDate string
    Creation time.
    Description string
    Identity provider description.
    IssuanceLimitTime int
    Earliest issuance time allowed for external IdP to issue ID Token.
    IssuerUrl string
    OIDC issuer URL.
    OidcProviderName string
    OIDC identity provider name.
    Thumbprints []string
    HTTPS certificate verification fingerprint (SHA256).
    Trn string
    Identity provider Trn.
    UpdateDate string
    Update time.
    clientIds List<String>
    Client ID list. Provided by external IdP.
    createDate String
    Creation time.
    description String
    Identity provider description.
    issuanceLimitTime Integer
    Earliest issuance time allowed for external IdP to issue ID Token.
    issuerUrl String
    OIDC issuer URL.
    oidcProviderName String
    OIDC identity provider name.
    thumbprints List<String>
    HTTPS certificate verification fingerprint (SHA256).
    trn String
    Identity provider Trn.
    updateDate String
    Update time.
    clientIds string[]
    Client ID list. Provided by external IdP.
    createDate string
    Creation time.
    description string
    Identity provider description.
    issuanceLimitTime number
    Earliest issuance time allowed for external IdP to issue ID Token.
    issuerUrl string
    OIDC issuer URL.
    oidcProviderName string
    OIDC identity provider name.
    thumbprints string[]
    HTTPS certificate verification fingerprint (SHA256).
    trn string
    Identity provider Trn.
    updateDate string
    Update time.
    client_ids Sequence[str]
    Client ID list. Provided by external IdP.
    create_date str
    Creation time.
    description str
    Identity provider description.
    issuance_limit_time int
    Earliest issuance time allowed for external IdP to issue ID Token.
    issuer_url str
    OIDC issuer URL.
    oidc_provider_name str
    OIDC identity provider name.
    thumbprints Sequence[str]
    HTTPS certificate verification fingerprint (SHA256).
    trn str
    Identity provider Trn.
    update_date str
    Update time.
    clientIds List<String>
    Client ID list. Provided by external IdP.
    createDate String
    Creation time.
    description String
    Identity provider description.
    issuanceLimitTime Number
    Earliest issuance time allowed for external IdP to issue ID Token.
    issuerUrl String
    OIDC issuer URL.
    oidcProviderName String
    OIDC identity provider name.
    thumbprints List<String>
    HTTPS certificate verification fingerprint (SHA256).
    trn String
    Identity provider Trn.
    updateDate String
    Update time.

    Import

    $ pulumi import volcenginecc:iam/oidcProvider:OidcProvider example "oidc_provider_name"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.