published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Inbound Authentication Configuration
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const example = new bytepluscc.id.AuthConfig("Example", {
configName: "测试JWT认证配置",
description: "用于测试的JWT入站认证配置",
instanceId: "example",
jwtAuthConfig: {
discovery_url: "https://example1.com/.well-known/openid-configuration",
allowed_audiences: [
"api.example.com",
"mobile.example.com",
],
allowed_clients: [
"web-client",
"app-client",
],
},
authType: "Jwt",
});
import pulumi
import pulumi_bytepluscc as bytepluscc
example = bytepluscc.id.AuthConfig("Example",
config_name="测试JWT认证配置",
description="用于测试的JWT入站认证配置",
instance_id="example",
jwt_auth_config={
"discovery_url": "https://example1.com/.well-known/openid-configuration",
"allowed_audiences": [
"api.example.com",
"mobile.example.com",
],
"allowed_clients": [
"web-client",
"app-client",
],
},
auth_type="Jwt")
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/id"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := id.NewAuthConfig(ctx, "Example", &id.AuthConfigArgs{
ConfigName: pulumi.String("测试JWT认证配置"),
Description: pulumi.String("用于测试的JWT入站认证配置"),
InstanceId: pulumi.String("example"),
JwtAuthConfig: &id.AuthConfigJwtAuthConfigArgs{
Discovery_url: "https://example1.com/.well-known/openid-configuration",
Allowed_audiences: []string{
"api.example.com",
"mobile.example.com",
},
Allowed_clients: []string{
"web-client",
"app-client",
},
},
AuthType: pulumi.String("Jwt"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var example = new Bytepluscc.Id.AuthConfig("Example", new()
{
ConfigName = "测试JWT认证配置",
Description = "用于测试的JWT入站认证配置",
InstanceId = "example",
JwtAuthConfig = new Bytepluscc.Id.Inputs.AuthConfigJwtAuthConfigArgs
{
Discovery_url = "https://example1.com/.well-known/openid-configuration",
Allowed_audiences = new[]
{
"api.example.com",
"mobile.example.com",
},
Allowed_clients = new[]
{
"web-client",
"app-client",
},
},
AuthType = "Jwt",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.id.AuthConfig;
import com.byteplus.bytepluscc.id.AuthConfigArgs;
import com.pulumi.bytepluscc.id.inputs.AuthConfigJwtAuthConfigArgs;
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) {
var example = new AuthConfig("example", AuthConfigArgs.builder()
.configName("测试JWT认证配置")
.description("用于测试的JWT入站认证配置")
.instanceId("example")
.jwtAuthConfig(AuthConfigJwtAuthConfigArgs.builder()
.discovery_url("https://example1.com/.well-known/openid-configuration")
.allowed_audiences(Arrays.asList(
"api.example.com",
"mobile.example.com"))
.allowed_clients(Arrays.asList(
"web-client",
"app-client"))
.build())
.authType("Jwt")
.build());
}
}
resources:
example:
type: bytepluscc:id:AuthConfig
name: Example
properties:
configName: 测试JWT认证配置
description: 用于测试的JWT入站认证配置
instanceId: example
jwtAuthConfig:
discovery_url: https://example1.com/.well-known/openid-configuration
allowed_audiences:
- api.example.com
- mobile.example.com
allowed_clients:
- web-client
- app-client
authType: Jwt
pulumi {
required_providers {
bytepluscc = {
source = "pulumi/bytepluscc"
}
}
}
resource "bytepluscc_id_authconfig" "Example" {
config_name = "测试JWT认证配置"
description = "用于测试的JWT入站认证配置"
instance_id = "example"
jwt_auth_config = {
discovery_url = "https://example1.com/.well-known/openid-configuration"
allowed_audiences = ["api.example.com", "mobile.example.com"]
allowed_clients = ["web-client", "app-client"]
}
auth_type = "Jwt"
}
Create AuthConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthConfig(name: string, args: AuthConfigArgs, opts?: CustomResourceOptions);@overload
def AuthConfig(resource_name: str,
args: AuthConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth_type: Optional[str] = None,
api_key_auth_configs: Optional[Sequence[AuthConfigApiKeyAuthConfigArgs]] = None,
config_name: Optional[str] = None,
description: Optional[str] = None,
instance_id: Optional[str] = None,
jwt_auth_config: Optional[AuthConfigJwtAuthConfigArgs] = None)func NewAuthConfig(ctx *Context, name string, args AuthConfigArgs, opts ...ResourceOption) (*AuthConfig, error)public AuthConfig(string name, AuthConfigArgs args, CustomResourceOptions? opts = null)
public AuthConfig(String name, AuthConfigArgs args)
public AuthConfig(String name, AuthConfigArgs args, CustomResourceOptions options)
type: bytepluscc:id:AuthConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_id_auth_config" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AuthConfigArgs
- 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 AuthConfigArgs
- 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 AuthConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var authConfigResource = new Bytepluscc.Id.AuthConfig("authConfigResource", new()
{
AuthType = "string",
ApiKeyAuthConfigs = new[]
{
new Bytepluscc.Id.Inputs.AuthConfigApiKeyAuthConfigArgs
{
ApiKey = "string",
ApiKeyMetadatas = new[]
{
new Bytepluscc.Id.Inputs.AuthConfigApiKeyAuthConfigApiKeyMetadataArgs
{
Location = "string",
ParameterName = "string",
},
},
ApiKeyName = "string",
ExpiryTimestamp = 0,
},
},
ConfigName = "string",
Description = "string",
InstanceId = "string",
JwtAuthConfig = new Bytepluscc.Id.Inputs.AuthConfigJwtAuthConfigArgs
{
AllowedAudiences = new[]
{
"string",
},
AllowedClients = new[]
{
"string",
},
DiscoveryUrl = "string",
},
});
example, err := id.NewAuthConfig(ctx, "authConfigResource", &id.AuthConfigArgs{
AuthType: pulumi.String("string"),
ApiKeyAuthConfigs: id.AuthConfigApiKeyAuthConfigArray{
&id.AuthConfigApiKeyAuthConfigArgs{
ApiKey: pulumi.String("string"),
ApiKeyMetadatas: id.AuthConfigApiKeyAuthConfigApiKeyMetadataArray{
&id.AuthConfigApiKeyAuthConfigApiKeyMetadataArgs{
Location: pulumi.String("string"),
ParameterName: pulumi.String("string"),
},
},
ApiKeyName: pulumi.String("string"),
ExpiryTimestamp: pulumi.Int(0),
},
},
ConfigName: pulumi.String("string"),
Description: pulumi.String("string"),
InstanceId: pulumi.String("string"),
JwtAuthConfig: &id.AuthConfigJwtAuthConfigArgs{
AllowedAudiences: pulumi.StringArray{
pulumi.String("string"),
},
AllowedClients: pulumi.StringArray{
pulumi.String("string"),
},
DiscoveryUrl: pulumi.String("string"),
},
})
resource "bytepluscc_id_auth_config" "authConfigResource" {
lifecycle {
create_before_destroy = true
}
auth_type = "string"
api_key_auth_configs {
api_key = "string"
api_key_metadatas {
location = "string"
parameter_name = "string"
}
api_key_name = "string"
expiry_timestamp = 0
}
config_name = "string"
description = "string"
instance_id = "string"
jwt_auth_config = {
allowed_audiences = ["string"]
allowed_clients = ["string"]
discovery_url = "string"
}
}
var authConfigResource = new AuthConfig("authConfigResource", AuthConfigArgs.builder()
.authType("string")
.apiKeyAuthConfigs(AuthConfigApiKeyAuthConfigArgs.builder()
.apiKey("string")
.apiKeyMetadatas(AuthConfigApiKeyAuthConfigApiKeyMetadataArgs.builder()
.location("string")
.parameterName("string")
.build())
.apiKeyName("string")
.expiryTimestamp(0)
.build())
.configName("string")
.description("string")
.instanceId("string")
.jwtAuthConfig(AuthConfigJwtAuthConfigArgs.builder()
.allowedAudiences("string")
.allowedClients("string")
.discoveryUrl("string")
.build())
.build());
auth_config_resource = bytepluscc.id.AuthConfig("authConfigResource",
auth_type="string",
api_key_auth_configs=[{
"api_key": "string",
"api_key_metadatas": [{
"location": "string",
"parameter_name": "string",
}],
"api_key_name": "string",
"expiry_timestamp": 0,
}],
config_name="string",
description="string",
instance_id="string",
jwt_auth_config={
"allowed_audiences": ["string"],
"allowed_clients": ["string"],
"discovery_url": "string",
})
const authConfigResource = new bytepluscc.id.AuthConfig("authConfigResource", {
authType: "string",
apiKeyAuthConfigs: [{
apiKey: "string",
apiKeyMetadatas: [{
location: "string",
parameterName: "string",
}],
apiKeyName: "string",
expiryTimestamp: 0,
}],
configName: "string",
description: "string",
instanceId: "string",
jwtAuthConfig: {
allowedAudiences: ["string"],
allowedClients: ["string"],
discoveryUrl: "string",
},
});
type: bytepluscc:id:AuthConfig
properties:
apiKeyAuthConfigs:
- apiKey: string
apiKeyMetadatas:
- location: string
parameterName: string
apiKeyName: string
expiryTimestamp: 0
authType: string
configName: string
description: string
instanceId: string
jwtAuthConfig:
allowedAudiences:
- string
allowedClients:
- string
discoveryUrl: string
AuthConfig 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 AuthConfig resource accepts the following input properties:
- Auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- Api
Key List<Byteplus.Auth Configs Auth Config Api Key Auth Config> - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Config
Name string - Configuration Name
- Description string
- Configuration Description
- Instance
Id string - Bound Instance ID
- Jwt
Auth Byteplus.Config Auth Config Jwt Auth Config - JWT Authentication Configuration
- Auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- Api
Key []AuthAuth Configs Config Api Key Auth Config Args - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Config
Name string - Configuration Name
- Description string
- Configuration Description
- Instance
Id string - Bound Instance ID
- Jwt
Auth AuthConfig Config Jwt Auth Config Args - JWT Authentication Configuration
- auth_
type string - Authentication Type. Only Jwt or ApiKey is allowed
- api_
key_ list(object)auth_ configs - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- config_
name string - Configuration Name
- description string
- Configuration Description
- instance_
id string - Bound Instance ID
- jwt_
auth_ objectconfig - JWT Authentication Configuration
- auth
Type String - Authentication Type. Only Jwt or ApiKey is allowed
- api
Key List<AuthAuth Configs Config Api Key Auth Config> - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- config
Name String - Configuration Name
- description String
- Configuration Description
- instance
Id String - Bound Instance ID
- jwt
Auth AuthConfig Config Jwt Auth Config - JWT Authentication Configuration
- auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- api
Key AuthAuth Configs Config Api Key Auth Config[] - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- config
Name string - Configuration Name
- description string
- Configuration Description
- instance
Id string - Bound Instance ID
- jwt
Auth AuthConfig Config Jwt Auth Config - JWT Authentication Configuration
- auth_
type str - Authentication Type. Only Jwt or ApiKey is allowed
- api_
key_ Sequence[Authauth_ configs Config Api Key Auth Config Args] - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- config_
name str - Configuration Name
- description str
- Configuration Description
- instance_
id str - Bound Instance ID
- jwt_
auth_ Authconfig Config Jwt Auth Config Args - JWT Authentication Configuration
- auth
Type String - Authentication Type. Only Jwt or ApiKey is allowed
- api
Key List<Property Map>Auth Configs - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- config
Name String - Configuration Name
- description String
- Configuration Description
- instance
Id String - Bound Instance ID
- jwt
Auth Property MapConfig - JWT Authentication Configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthConfig resource produces the following output properties:
- Created
At string - Creation Time
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- Trn string
- Resource TRN
- Updated
At string - Update Time
- Created
At string - Creation Time
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- Trn string
- Resource TRN
- Updated
At string - Update Time
- created_
at string - Creation Time
- id string
- The provider-assigned unique ID for this managed resource.
- inbound_
auth_ stringconfig_ id - Inbound Authentication Configuration ID
- trn string
- Resource TRN
- updated_
at string - Update Time
- created
At String - Creation Time
- id String
- The provider-assigned unique ID for this managed resource.
- inbound
Auth StringConfig Id - Inbound Authentication Configuration ID
- trn String
- Resource TRN
- updated
At String - Update Time
- created
At string - Creation Time
- id string
- The provider-assigned unique ID for this managed resource.
- inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- trn string
- Resource TRN
- updated
At string - Update Time
- created_
at str - Creation Time
- id str
- The provider-assigned unique ID for this managed resource.
- inbound_
auth_ strconfig_ id - Inbound Authentication Configuration ID
- trn str
- Resource TRN
- updated_
at str - Update Time
- created
At String - Creation Time
- id String
- The provider-assigned unique ID for this managed resource.
- inbound
Auth StringConfig Id - Inbound Authentication Configuration ID
- trn String
- Resource TRN
- updated
At String - Update Time
Look up Existing AuthConfig Resource
Get an existing AuthConfig 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?: AuthConfigState, opts?: CustomResourceOptions): AuthConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_key_auth_configs: Optional[Sequence[AuthConfigApiKeyAuthConfigArgs]] = None,
auth_type: Optional[str] = None,
config_name: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
inbound_auth_config_id: Optional[str] = None,
instance_id: Optional[str] = None,
jwt_auth_config: Optional[AuthConfigJwtAuthConfigArgs] = None,
trn: Optional[str] = None,
updated_at: Optional[str] = None) -> AuthConfigfunc GetAuthConfig(ctx *Context, name string, id IDInput, state *AuthConfigState, opts ...ResourceOption) (*AuthConfig, error)public static AuthConfig Get(string name, Input<string> id, AuthConfigState? state, CustomResourceOptions? opts = null)public static AuthConfig get(String name, Output<String> id, AuthConfigState state, CustomResourceOptions options)resources: _: type: bytepluscc:id:AuthConfig get: id: ${id}import {
to = bytepluscc_id_auth_config.example
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.
- Api
Key List<Byteplus.Auth Configs Auth Config Api Key Auth Config> - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- Config
Name string - Configuration Name
- Created
At string - Creation Time
- Description string
- Configuration Description
- Inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- Instance
Id string - Bound Instance ID
- Jwt
Auth Byteplus.Config Auth Config Jwt Auth Config - JWT Authentication Configuration
- Trn string
- Resource TRN
- Updated
At string - Update Time
- Api
Key []AuthAuth Configs Config Api Key Auth Config Args - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- Config
Name string - Configuration Name
- Created
At string - Creation Time
- Description string
- Configuration Description
- Inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- Instance
Id string - Bound Instance ID
- Jwt
Auth AuthConfig Config Jwt Auth Config Args - JWT Authentication Configuration
- Trn string
- Resource TRN
- Updated
At string - Update Time
- api_
key_ list(object)auth_ configs - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auth_
type string - Authentication Type. Only Jwt or ApiKey is allowed
- config_
name string - Configuration Name
- created_
at string - Creation Time
- description string
- Configuration Description
- inbound_
auth_ stringconfig_ id - Inbound Authentication Configuration ID
- instance_
id string - Bound Instance ID
- jwt_
auth_ objectconfig - JWT Authentication Configuration
- trn string
- Resource TRN
- updated_
at string - Update Time
- api
Key List<AuthAuth Configs Config Api Key Auth Config> - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auth
Type String - Authentication Type. Only Jwt or ApiKey is allowed
- config
Name String - Configuration Name
- created
At String - Creation Time
- description String
- Configuration Description
- inbound
Auth StringConfig Id - Inbound Authentication Configuration ID
- instance
Id String - Bound Instance ID
- jwt
Auth AuthConfig Config Jwt Auth Config - JWT Authentication Configuration
- trn String
- Resource TRN
- updated
At String - Update Time
- api
Key AuthAuth Configs Config Api Key Auth Config[] - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auth
Type string - Authentication Type. Only Jwt or ApiKey is allowed
- config
Name string - Configuration Name
- created
At string - Creation Time
- description string
- Configuration Description
- inbound
Auth stringConfig Id - Inbound Authentication Configuration ID
- instance
Id string - Bound Instance ID
- jwt
Auth AuthConfig Config Jwt Auth Config - JWT Authentication Configuration
- trn string
- Resource TRN
- updated
At string - Update Time
- api_
key_ Sequence[Authauth_ configs Config Api Key Auth Config Args] - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auth_
type str - Authentication Type. Only Jwt or ApiKey is allowed
- config_
name str - Configuration Name
- created_
at str - Creation Time
- description str
- Configuration Description
- inbound_
auth_ strconfig_ id - Inbound Authentication Configuration ID
- instance_
id str - Bound Instance ID
- jwt_
auth_ Authconfig Config Jwt Auth Config Args - JWT Authentication Configuration
- trn str
- Resource TRN
- updated_
at str - Update Time
- api
Key List<Property Map>Auth Configs - ApiKey Authentication Configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auth
Type String - Authentication Type. Only Jwt or ApiKey is allowed
- config
Name String - Configuration Name
- created
At String - Creation Time
- description String
- Configuration Description
- inbound
Auth StringConfig Id - Inbound Authentication Configuration ID
- instance
Id String - Bound Instance ID
- jwt
Auth Property MapConfig - JWT Authentication Configuration
- trn String
- Resource TRN
- updated
At String - Update Time
Supporting Types
AuthConfigApiKeyAuthConfig, AuthConfigApiKeyAuthConfigArgs
- Api
Key string - ApiKey Value
- Api
Key List<Byteplus.Metadatas Auth Config Api Key Auth Config Api Key Metadata> - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Api
Key stringName - ApiKey Name
- Expiry
Timestamp int - Expiration Timestamp
- Api
Key string - ApiKey Value
- Api
Key []AuthMetadatas Config Api Key Auth Config Api Key Metadata - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Api
Key stringName - ApiKey Name
- Expiry
Timestamp int - Expiration Timestamp
- api_
key string - ApiKey Value
- api_
key_ list(object)metadatas - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- api_
key_ stringname - ApiKey Name
- expiry_
timestamp number - Expiration Timestamp
- api
Key String - ApiKey Value
- api
Key List<AuthMetadatas Config Api Key Auth Config Api Key Metadata> - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- api
Key StringName - ApiKey Name
- expiry
Timestamp Integer - Expiration Timestamp
- api
Key string - ApiKey Value
- api
Key AuthMetadatas Config Api Key Auth Config Api Key Metadata[] - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- api
Key stringName - ApiKey Name
- expiry
Timestamp number - Expiration Timestamp
- api_
key str - ApiKey Value
- api_
key_ Sequence[Authmetadatas Config Api Key Auth Config Api Key Metadata] - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- api_
key_ strname - ApiKey Name
- expiry_
timestamp int - Expiration Timestamp
- api
Key String - ApiKey Value
- api
Key List<Property Map>Metadatas - ApiKey Metadata Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- api
Key StringName - ApiKey Name
- expiry
Timestamp Number - Expiration Timestamp
AuthConfigApiKeyAuthConfigApiKeyMetadata, AuthConfigApiKeyAuthConfigApiKeyMetadataArgs
- Location string
- Parameter Location
- Parameter
Name string - Parameter Name
- Location string
- Parameter Location
- Parameter
Name string - Parameter Name
- location string
- Parameter Location
- parameter_
name string - Parameter Name
- location String
- Parameter Location
- parameter
Name String - Parameter Name
- location string
- Parameter Location
- parameter
Name string - Parameter Name
- location str
- Parameter Location
- parameter_
name str - Parameter Name
- location String
- Parameter Location
- parameter
Name String - Parameter Name
AuthConfigJwtAuthConfig, AuthConfigJwtAuthConfigArgs
- Allowed
Audiences List<string> - Allowed Audience List
- Allowed
Clients List<string> - Allowed Client List
- Discovery
Url string - JWT Discovery URL。
- Allowed
Audiences []string - Allowed Audience List
- Allowed
Clients []string - Allowed Client List
- Discovery
Url string - JWT Discovery URL。
- allowed_
audiences list(string) - Allowed Audience List
- allowed_
clients list(string) - Allowed Client List
- discovery_
url string - JWT Discovery URL。
- allowed
Audiences List<String> - Allowed Audience List
- allowed
Clients List<String> - Allowed Client List
- discovery
Url String - JWT Discovery URL。
- allowed
Audiences string[] - Allowed Audience List
- allowed
Clients string[] - Allowed Client List
- discovery
Url string - JWT Discovery URL。
- allowed_
audiences Sequence[str] - Allowed Audience List
- allowed_
clients Sequence[str] - Allowed Client List
- discovery_
url str - JWT Discovery URL。
- allowed
Audiences List<String> - Allowed Audience List
- allowed
Clients List<String> - Allowed Client List
- discovery
Url String - JWT Discovery URL。
Import
$ pulumi import bytepluscc:id/authConfig:AuthConfig example "inbound_auth_config_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Monday, Jul 20, 2026 by Byteplus