Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Data Source schema for Byteplus::ID::Oauth2CredentialProvider
Using getOauth2CredentialProvider
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 getOauth2CredentialProvider(args: GetOauth2CredentialProviderArgs, opts?: InvokeOptions): Promise<GetOauth2CredentialProviderResult>
function getOauth2CredentialProviderOutput(args: GetOauth2CredentialProviderOutputArgs, opts?: InvokeOptions): Output<GetOauth2CredentialProviderResult>def get_oauth2_credential_provider(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOauth2CredentialProviderResult
def get_oauth2_credential_provider_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOauth2CredentialProviderResult]func LookupOauth2CredentialProvider(ctx *Context, args *LookupOauth2CredentialProviderArgs, opts ...InvokeOption) (*LookupOauth2CredentialProviderResult, error)
func LookupOauth2CredentialProviderOutput(ctx *Context, args *LookupOauth2CredentialProviderOutputArgs, opts ...InvokeOption) LookupOauth2CredentialProviderResultOutput> Note: This function is named LookupOauth2CredentialProvider in the Go SDK.
public static class GetOauth2CredentialProvider
{
public static Task<GetOauth2CredentialProviderResult> InvokeAsync(GetOauth2CredentialProviderArgs args, InvokeOptions? opts = null)
public static Output<GetOauth2CredentialProviderResult> Invoke(GetOauth2CredentialProviderInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOauth2CredentialProviderResult> getOauth2CredentialProvider(GetOauth2CredentialProviderArgs args, InvokeOptions options)
public static Output<GetOauth2CredentialProviderResult> getOauth2CredentialProvider(GetOauth2CredentialProviderArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:id/getOauth2CredentialProvider:getOauth2CredentialProvider
arguments:
# arguments dictionarydata "bytepluscc_id_get_oauth2_credential_provider" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getOauth2CredentialProvider Result
The following output properties are available:
- Config
Byteplus.
Get Oauth2Credential Provider Config - OAuth2 configuration
- Created
At string - Creation time
- Credential
Provider stringTrn - Credential provider TRN
- Id string
- Uniquely identifies the resource.
- Name string
- Name
- Pool
Name string - Workload pool name
- Project
Name string - Project name
- Secret
Trn string - Secret TRN corresponding to credential ciphertext
- Updated
At string - Update time
- Vendor int
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- Config
Get
Oauth2Credential Provider Config - OAuth2 configuration
- Created
At string - Creation time
- Credential
Provider stringTrn - Credential provider TRN
- Id string
- Uniquely identifies the resource.
- Name string
- Name
- Pool
Name string - Workload pool name
- Project
Name string - Project name
- Secret
Trn string - Secret TRN corresponding to credential ciphertext
- Updated
At string - Update time
- Vendor int
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- config object
- OAuth2 configuration
- created_
at string - Creation time
- credential_
provider_ stringtrn - Credential provider TRN
- id string
- Uniquely identifies the resource.
- name string
- Name
- pool_
name string - Workload pool name
- project_
name string - Project name
- secret_
trn string - Secret TRN corresponding to credential ciphertext
- updated_
at string - Update time
- vendor number
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- config
Get
Oauth2Credential Prover Config - OAuth2 configuration
- created
At String - Creation time
- credential
Provider StringTrn - Credential provider TRN
- id String
- Uniquely identifies the resource.
- name String
- Name
- pool
Name String - Workload pool name
- project
Name String - Project name
- secret
Trn String - Secret TRN corresponding to credential ciphertext
- updated
At String - Update time
- vendor Integer
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- config
Get
Oauth2Credential Provider Config - OAuth2 configuration
- created
At string - Creation time
- credential
Provider stringTrn - Credential provider TRN
- id string
- Uniquely identifies the resource.
- name string
- Name
- pool
Name string - Workload pool name
- project
Name string - Project name
- secret
Trn string - Secret TRN corresponding to credential ciphertext
- updated
At string - Update time
- vendor number
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- config
Get
Oauth2Credential Provider Config - OAuth2 configuration
- created_
at str - Creation time
- credential_
provider_ strtrn - Credential provider TRN
- id str
- Uniquely identifies the resource.
- name str
- Name
- pool_
name str - Workload pool name
- project_
name str - Project name
- secret_
trn str - Secret TRN corresponding to credential ciphertext
- updated_
at str - Update time
- vendor int
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
- config Property Map
- OAuth2 configuration
- created
At String - Creation time
- credential
Provider StringTrn - Credential provider TRN
- id String
- Uniquely identifies the resource.
- name String
- Name
- pool
Name String - Workload pool name
- project
Name String - Project name
- secret
Trn String - Secret TRN corresponding to credential ciphertext
- updated
At String - Update time
- vendor Number
- OAuth2 provider type. 0: Custom, 1: Google, 2: Github, 3: Coze, 4: Feishu, 5: WeChat, 6: User pool
Supporting Types
GetOauth2CredentialProviderConfig
- Client
Id string - OAuth2 Client ID。
- Client
Secret string - OAuth2 Client Secret。
- Custom
Parameters Byteplus.Get Oauth2Credential Provider Config Custom Parameters - Default custom parameters in GetResourceOauth2Token request
- Flow string
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- Force
Authentication bool - Default ForceAuthentication in GetResourceOauth2Token request
- Max
Expires int - Maximum token validity (seconds)
- Metadata string
- Custom metadata
- Oauth2Discovery
Byteplus.
Get Oauth2Credential Provider Config Oauth2Discovery - OAuth2 discovery information
- Redirect
Url string - Default RedirectUrl in GetResourceOauth2Token request
- Scopes List<string>
- Default Scopes in GetResourceOauth2Token request
- Secret
Storage Byteplus.Get Oauth2Credential Provider Config Secret Storage - Encrypted storage configuration
- Client
Id string - OAuth2 Client ID。
- Client
Secret string - OAuth2 Client Secret。
- Custom
Parameters GetOauth2Credential Provider Config Custom Parameters - Default custom parameters in GetResourceOauth2Token request
- Flow string
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- Force
Authentication bool - Default ForceAuthentication in GetResourceOauth2Token request
- Max
Expires int - Maximum token validity (seconds)
- Metadata string
- Custom metadata
- Oauth2Discovery
Get
Oauth2Credential Provider Config Oauth2Discovery - OAuth2 discovery information
- Redirect
Url string - Default RedirectUrl in GetResourceOauth2Token request
- Scopes []string
- Default Scopes in GetResourceOauth2Token request
- Secret
Storage GetOauth2Credential Provider Config Secret Storage - Encrypted storage configuration
- client_
id string - OAuth2 Client ID。
- client_
secret string - OAuth2 Client Secret。
- custom_
parameters object - Default custom parameters in GetResourceOauth2Token request
- flow string
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- force_
authentication bool - Default ForceAuthentication in GetResourceOauth2Token request
- max_
expires number - Maximum token validity (seconds)
- metadata string
- Custom metadata
- oauth2_
discovery object - OAuth2 discovery information
- redirect_
url string - Default RedirectUrl in GetResourceOauth2Token request
- scopes list(string)
- Default Scopes in GetResourceOauth2Token request
- secret_
storage object - Encrypted storage configuration
- client
Id String - OAuth2 Client ID。
- client
Secret String - OAuth2 Client Secret。
- custom
Parameters GetOauth2Credential Prover Config Custom Parameters - Default custom parameters in GetResourceOauth2Token request
- flow String
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- force
Authentication Boolean - Default ForceAuthentication in GetResourceOauth2Token request
- max
Expires Integer - Maximum token validity (seconds)
- metadata String
- Custom metadata
- oauth2Discovery
Get
Oauth2Credential Prover Config Oauth2Discovery - OAuth2 discovery information
- redirect
Url String - Default RedirectUrl in GetResourceOauth2Token request
- scopes List<String>
- Default Scopes in GetResourceOauth2Token request
- secret
Storage GetOauth2Credential Prover Config Secret Storage - Encrypted storage configuration
- client
Id string - OAuth2 Client ID。
- client
Secret string - OAuth2 Client Secret。
- custom
Parameters GetOauth2Credential Provider Config Custom Parameters - Default custom parameters in GetResourceOauth2Token request
- flow string
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- force
Authentication boolean - Default ForceAuthentication in GetResourceOauth2Token request
- max
Expires number - Maximum token validity (seconds)
- metadata string
- Custom metadata
- oauth2Discovery
Get
Oauth2Credential Provider Config Oauth2Discovery - OAuth2 discovery information
- redirect
Url string - Default RedirectUrl in GetResourceOauth2Token request
- scopes string[]
- Default Scopes in GetResourceOauth2Token request
- secret
Storage GetOauth2Credential Provider Config Secret Storage - Encrypted storage configuration
- client_
id str - OAuth2 Client ID。
- client_
secret str - OAuth2 Client Secret。
- custom_
parameters GetOauth2Credential Provider Config Custom Parameters - Default custom parameters in GetResourceOauth2Token request
- flow str
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- force_
authentication bool - Default ForceAuthentication in GetResourceOauth2Token request
- max_
expires int - Maximum token validity (seconds)
- metadata str
- Custom metadata
- oauth2_
discovery GetOauth2Credential Provider Config Oauth2Discovery - OAuth2 discovery information
- redirect_
url str - Default RedirectUrl in GetResourceOauth2Token request
- scopes Sequence[str]
- Default Scopes in GetResourceOauth2Token request
- secret_
storage GetOauth2Credential Provider Config Secret Storage - Encrypted storage configuration
- client
Id String - OAuth2 Client ID。
- client
Secret String - OAuth2 Client Secret。
- custom
Parameters Property Map - Default custom parameters in GetResourceOauth2Token request
- flow String
- Default Flow in GetResourceOauth2Token request. Optional values: USER_FEDERATION, M2M
- force
Authentication Boolean - Default ForceAuthentication in GetResourceOauth2Token request
- max
Expires Number - Maximum token validity (seconds)
- metadata String
- Custom metadata
- oauth2Discovery Property Map
- OAuth2 discovery information
- redirect
Url String - Default RedirectUrl in GetResourceOauth2Token request
- scopes List<String>
- Default Scopes in GetResourceOauth2Token request
- secret
Storage Property Map - Encrypted storage configuration
GetOauth2CredentialProviderConfigCustomParameters
- Entries
List<Byteplus.
Get Oauth2Credential Provider Config Custom Parameters Entry> - Custom parameter entry list
- Entries
[]Get
Oauth2Credential Provider Config Custom Parameters Entry - Custom parameter entry list
- entries list(object)
- Custom parameter entry list
- entries
List<Get
Oauth2Credential Prover Config Custom Parameters Entry> - Custom parameter entry list
- entries
Get
Oauth2Credential Provider Config Custom Parameters Entry[] - Custom parameter entry list
- entries
Sequence[Get
Oauth2Credential Provider Config Custom Parameters Entry] - Custom parameter entry list
- entries List<Property Map>
- Custom parameter entry list
GetOauth2CredentialProviderConfigCustomParametersEntry
GetOauth2CredentialProviderConfigOauth2Discovery
-
Byteplus.
Get Oauth2Credential Provider Config Oauth2Discovery Authorization Server Metadata - Authorization server metadata
- Discovery
Url string - DiscoveryUrl field
-
Get
Oauth2Credential Provider Config Oauth2Discovery Authorization Server Metadata - Authorization server metadata
- Discovery
Url string - DiscoveryUrl field
- object
- Authorization server metadata
- discovery_
url string - DiscoveryUrl field
-
Get
Oauth2Credential Prover Config Oauth2Discovery Authorization Server Metadata - Authorization server metadata
- discovery
Url String - DiscoveryUrl field
-
Get
Oauth2Credential Provider Config Oauth2Discovery Authorization Server Metadata - Authorization server metadata
- discovery
Url string - DiscoveryUrl field
-
Get
Oauth2Credential Provider Config Oauth2Discovery Authorization Server Metadata - Authorization server metadata
- discovery_
url str - DiscoveryUrl field
- Property Map
- Authorization server metadata
- discovery
Url String - DiscoveryUrl field
GetOauth2CredentialProviderConfigOauth2DiscoveryAuthorizationServerMetadata
- string
- AuthorizationEndpoint field
- Code
Challenge List<string>Methods Supporteds - CodeChallengeMethodsSupported field
- Issuer string
- Issuer field
- Registration
Endpoint string - RegistrationEndpoint field
- Response
Types List<string> - ResponseTypes field
- Revocation
Endpoint string - RevocationEndpoint field
- Token
Endpoint string - TokenEndpoint field
- string
- AuthorizationEndpoint field
- Code
Challenge []stringMethods Supporteds - CodeChallengeMethodsSupported field
- Issuer string
- Issuer field
- Registration
Endpoint string - RegistrationEndpoint field
- Response
Types []string - ResponseTypes field
- Revocation
Endpoint string - RevocationEndpoint field
- Token
Endpoint string - TokenEndpoint field
- string
- AuthorizationEndpoint field
- code_
challenge_ list(string)methods_ supporteds - CodeChallengeMethodsSupported field
- issuer string
- Issuer field
- registration_
endpoint string - RegistrationEndpoint field
- response_
types list(string) - ResponseTypes field
- revocation_
endpoint string - RevocationEndpoint field
- token_
endpoint string - TokenEndpoint field
- String
- AuthorizationEndpoint field
- code
Challenge List<String>Methods Supporteds - CodeChallengeMethodsSupported field
- issuer String
- Issuer field
- registration
Endpoint String - RegistrationEndpoint field
- response
Types List<String> - ResponseTypes field
- revocation
Endpoint String - RevocationEndpoint field
- token
Endpoint String - TokenEndpoint field
- string
- AuthorizationEndpoint field
- code
Challenge string[]Methods Supporteds - CodeChallengeMethodsSupported field
- issuer string
- Issuer field
- registration
Endpoint string - RegistrationEndpoint field
- response
Types string[] - ResponseTypes field
- revocation
Endpoint string - RevocationEndpoint field
- token
Endpoint string - TokenEndpoint field
- str
- AuthorizationEndpoint field
- code_
challenge_ Sequence[str]methods_ supporteds - CodeChallengeMethodsSupported field
- issuer str
- Issuer field
- registration_
endpoint str - RegistrationEndpoint field
- response_
types Sequence[str] - ResponseTypes field
- revocation_
endpoint str - RevocationEndpoint field
- token_
endpoint str - TokenEndpoint field
- String
- AuthorizationEndpoint field
- code
Challenge List<String>Methods Supporteds - CodeChallengeMethodsSupported field
- issuer String
- Issuer field
- registration
Endpoint String - RegistrationEndpoint field
- response
Types List<String> - ResponseTypes field
- revocation
Endpoint String - RevocationEndpoint field
- token
Endpoint String - TokenEndpoint field
GetOauth2CredentialProviderConfigSecretStorage
- Encryption
Key string - KMS key TRN for encrypted credential value. If not specified, the default key is used
- Storage
Type int - Encrypted storage type. 0: SecretManager, 1: KMS
- Encryption
Key string - KMS key TRN for encrypted credential value. If not specified, the default key is used
- Storage
Type int - Encrypted storage type. 0: SecretManager, 1: KMS
- encryption_
key string - KMS key TRN for encrypted credential value. If not specified, the default key is used
- storage_
type number - Encrypted storage type. 0: SecretManager, 1: KMS
- encryption
Key String - KMS key TRN for encrypted credential value. If not specified, the default key is used
- storage
Type Integer - Encrypted storage type. 0: SecretManager, 1: KMS
- encryption
Key string - KMS key TRN for encrypted credential value. If not specified, the default key is used
- storage
Type number - Encrypted storage type. 0: SecretManager, 1: KMS
- encryption_
key str - KMS key TRN for encrypted credential value. If not specified, the default key is used
- storage_
type int - Encrypted storage type. 0: SecretManager, 1: KMS
- encryption
Key String - KMS key TRN for encrypted credential value. If not specified, the default key is used
- storage
Type Number - Encrypted storage type. 0: SecretManager, 1: KMS
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus