published on Thursday, Apr 23, 2026 by Volcengine
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:
- Client
Ids List<string> - Client ID list. Provided by external IdP.
- Issuer
Url string - OIDC issuer URL.
- Oidc
Provider stringName - OIDC identity provider name.
- Thumbprints List<string>
- HTTPS certificate verification fingerprint (SHA256).
- Description string
- Identity provider description.
- Issuance
Limit intTime - Earliest issuance time allowed for external IdP to issue ID Token.
- Client
Ids []string - Client ID list. Provided by external IdP.
- Issuer
Url string - OIDC issuer URL.
- Oidc
Provider stringName - OIDC identity provider name.
- Thumbprints []string
- HTTPS certificate verification fingerprint (SHA256).
- Description string
- Identity provider description.
- Issuance
Limit intTime - Earliest issuance time allowed for external IdP to issue ID Token.
- client
Ids List<String> - Client ID list. Provided by external IdP.
- issuer
Url String - OIDC issuer URL.
- oidc
Provider StringName - OIDC identity provider name.
- thumbprints List<String>
- HTTPS certificate verification fingerprint (SHA256).
- description String
- Identity provider description.
- issuance
Limit IntegerTime - Earliest issuance time allowed for external IdP to issue ID Token.
- client
Ids string[] - Client ID list. Provided by external IdP.
- issuer
Url string - OIDC issuer URL.
- oidc
Provider stringName - OIDC identity provider name.
- thumbprints string[]
- HTTPS certificate verification fingerprint (SHA256).
- description string
- Identity provider description.
- issuance
Limit numberTime - 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_ strname - OIDC identity provider name.
- thumbprints Sequence[str]
- HTTPS certificate verification fingerprint (SHA256).
- description str
- Identity provider description.
- issuance_
limit_ inttime - Earliest issuance time allowed for external IdP to issue ID Token.
- client
Ids List<String> - Client ID list. Provided by external IdP.
- issuer
Url String - OIDC issuer URL.
- oidc
Provider StringName - OIDC identity provider name.
- thumbprints List<String>
- HTTPS certificate verification fingerprint (SHA256).
- description String
- Identity provider description.
- issuance
Limit NumberTime - 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:
- Create
Date string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Trn string
- Identity provider Trn.
- Update
Date string - Update time.
- Create
Date string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Trn string
- Identity provider Trn.
- Update
Date string - Update time.
- create
Date String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- trn String
- Identity provider Trn.
- update
Date String - Update time.
- create
Date string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- trn string
- Identity provider Trn.
- update
Date 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.
- create
Date String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- trn String
- Identity provider Trn.
- update
Date 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) -> OidcProviderfunc 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.
- Client
Ids List<string> - Client ID list. Provided by external IdP.
- Create
Date string - Creation time.
- Description string
- Identity provider description.
- Issuance
Limit intTime - Earliest issuance time allowed for external IdP to issue ID Token.
- Issuer
Url string - OIDC issuer URL.
- Oidc
Provider stringName - OIDC identity provider name.
- Thumbprints List<string>
- HTTPS certificate verification fingerprint (SHA256).
- Trn string
- Identity provider Trn.
- Update
Date string - Update time.
- Client
Ids []string - Client ID list. Provided by external IdP.
- Create
Date string - Creation time.
- Description string
- Identity provider description.
- Issuance
Limit intTime - Earliest issuance time allowed for external IdP to issue ID Token.
- Issuer
Url string - OIDC issuer URL.
- Oidc
Provider stringName - OIDC identity provider name.
- Thumbprints []string
- HTTPS certificate verification fingerprint (SHA256).
- Trn string
- Identity provider Trn.
- Update
Date string - Update time.
- client
Ids List<String> - Client ID list. Provided by external IdP.
- create
Date String - Creation time.
- description String
- Identity provider description.
- issuance
Limit IntegerTime - Earliest issuance time allowed for external IdP to issue ID Token.
- issuer
Url String - OIDC issuer URL.
- oidc
Provider StringName - OIDC identity provider name.
- thumbprints List<String>
- HTTPS certificate verification fingerprint (SHA256).
- trn String
- Identity provider Trn.
- update
Date String - Update time.
- client
Ids string[] - Client ID list. Provided by external IdP.
- create
Date string - Creation time.
- description string
- Identity provider description.
- issuance
Limit numberTime - Earliest issuance time allowed for external IdP to issue ID Token.
- issuer
Url string - OIDC issuer URL.
- oidc
Provider stringName - OIDC identity provider name.
- thumbprints string[]
- HTTPS certificate verification fingerprint (SHA256).
- trn string
- Identity provider Trn.
- update
Date 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_ inttime - Earliest issuance time allowed for external IdP to issue ID Token.
- issuer_
url str - OIDC issuer URL.
- oidc_
provider_ strname - OIDC identity provider name.
- thumbprints Sequence[str]
- HTTPS certificate verification fingerprint (SHA256).
- trn str
- Identity provider Trn.
- update_
date str - Update time.
- client
Ids List<String> - Client ID list. Provided by external IdP.
- create
Date String - Creation time.
- description String
- Identity provider description.
- issuance
Limit NumberTime - Earliest issuance time allowed for external IdP to issue ID Token.
- issuer
Url String - OIDC issuer URL.
- oidc
Provider StringName - OIDC identity provider name.
- thumbprints List<String>
- HTTPS certificate verification fingerprint (SHA256).
- trn String
- Identity provider Trn.
- update
Date 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
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
