1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. id
  6. AuthConfig
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.42
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:

    AuthType string
    Authentication Type. Only Jwt or ApiKey is allowed
    ApiKeyAuthConfigs List<Byteplus.AuthConfigApiKeyAuthConfig>
    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.
    ConfigName string
    Configuration Name
    Description string
    Configuration Description
    InstanceId string
    Bound Instance ID
    JwtAuthConfig Byteplus.AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    AuthType string
    Authentication Type. Only Jwt or ApiKey is allowed
    ApiKeyAuthConfigs []AuthConfigApiKeyAuthConfigArgs
    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.
    ConfigName string
    Configuration Name
    Description string
    Configuration Description
    InstanceId string
    Bound Instance ID
    JwtAuthConfig AuthConfigJwtAuthConfigArgs
    JWT Authentication Configuration
    auth_type string
    Authentication Type. Only Jwt or ApiKey is allowed
    api_key_auth_configs list(object)
    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_config object
    JWT Authentication Configuration
    authType String
    Authentication Type. Only Jwt or ApiKey is allowed
    apiKeyAuthConfigs List<AuthConfigApiKeyAuthConfig>
    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.
    configName String
    Configuration Name
    description String
    Configuration Description
    instanceId String
    Bound Instance ID
    jwtAuthConfig AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    authType string
    Authentication Type. Only Jwt or ApiKey is allowed
    apiKeyAuthConfigs AuthConfigApiKeyAuthConfig[]
    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.
    configName string
    Configuration Name
    description string
    Configuration Description
    instanceId string
    Bound Instance ID
    jwtAuthConfig AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    auth_type str
    Authentication Type. Only Jwt or ApiKey is allowed
    api_key_auth_configs Sequence[AuthConfigApiKeyAuthConfigArgs]
    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_config AuthConfigJwtAuthConfigArgs
    JWT Authentication Configuration
    authType String
    Authentication Type. Only Jwt or ApiKey is allowed
    apiKeyAuthConfigs List<Property Map>
    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.
    configName String
    Configuration Name
    description String
    Configuration Description
    instanceId String
    Bound Instance ID
    jwtAuthConfig Property Map
    JWT Authentication Configuration

    Outputs

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

    CreatedAt string
    Creation Time
    Id string
    The provider-assigned unique ID for this managed resource.
    InboundAuthConfigId string
    Inbound Authentication Configuration ID
    Trn string
    Resource TRN
    UpdatedAt string
    Update Time
    CreatedAt string
    Creation Time
    Id string
    The provider-assigned unique ID for this managed resource.
    InboundAuthConfigId string
    Inbound Authentication Configuration ID
    Trn string
    Resource TRN
    UpdatedAt string
    Update Time
    created_at string
    Creation Time
    id string
    The provider-assigned unique ID for this managed resource.
    inbound_auth_config_id string
    Inbound Authentication Configuration ID
    trn string
    Resource TRN
    updated_at string
    Update Time
    createdAt String
    Creation Time
    id String
    The provider-assigned unique ID for this managed resource.
    inboundAuthConfigId String
    Inbound Authentication Configuration ID
    trn String
    Resource TRN
    updatedAt String
    Update Time
    createdAt string
    Creation Time
    id string
    The provider-assigned unique ID for this managed resource.
    inboundAuthConfigId string
    Inbound Authentication Configuration ID
    trn string
    Resource TRN
    updatedAt string
    Update Time
    created_at str
    Creation Time
    id str
    The provider-assigned unique ID for this managed resource.
    inbound_auth_config_id str
    Inbound Authentication Configuration ID
    trn str
    Resource TRN
    updated_at str
    Update Time
    createdAt String
    Creation Time
    id String
    The provider-assigned unique ID for this managed resource.
    inboundAuthConfigId String
    Inbound Authentication Configuration ID
    trn String
    Resource TRN
    updatedAt 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) -> AuthConfig
    func 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.
    The following state arguments are supported:
    ApiKeyAuthConfigs List<Byteplus.AuthConfigApiKeyAuthConfig>
    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.
    AuthType string
    Authentication Type. Only Jwt or ApiKey is allowed
    ConfigName string
    Configuration Name
    CreatedAt string
    Creation Time
    Description string
    Configuration Description
    InboundAuthConfigId string
    Inbound Authentication Configuration ID
    InstanceId string
    Bound Instance ID
    JwtAuthConfig Byteplus.AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    Trn string
    Resource TRN
    UpdatedAt string
    Update Time
    ApiKeyAuthConfigs []AuthConfigApiKeyAuthConfigArgs
    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.
    AuthType string
    Authentication Type. Only Jwt or ApiKey is allowed
    ConfigName string
    Configuration Name
    CreatedAt string
    Creation Time
    Description string
    Configuration Description
    InboundAuthConfigId string
    Inbound Authentication Configuration ID
    InstanceId string
    Bound Instance ID
    JwtAuthConfig AuthConfigJwtAuthConfigArgs
    JWT Authentication Configuration
    Trn string
    Resource TRN
    UpdatedAt string
    Update Time
    api_key_auth_configs list(object)
    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_config_id string
    Inbound Authentication Configuration ID
    instance_id string
    Bound Instance ID
    jwt_auth_config object
    JWT Authentication Configuration
    trn string
    Resource TRN
    updated_at string
    Update Time
    apiKeyAuthConfigs List<AuthConfigApiKeyAuthConfig>
    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.
    authType String
    Authentication Type. Only Jwt or ApiKey is allowed
    configName String
    Configuration Name
    createdAt String
    Creation Time
    description String
    Configuration Description
    inboundAuthConfigId String
    Inbound Authentication Configuration ID
    instanceId String
    Bound Instance ID
    jwtAuthConfig AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    trn String
    Resource TRN
    updatedAt String
    Update Time
    apiKeyAuthConfigs AuthConfigApiKeyAuthConfig[]
    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.
    authType string
    Authentication Type. Only Jwt or ApiKey is allowed
    configName string
    Configuration Name
    createdAt string
    Creation Time
    description string
    Configuration Description
    inboundAuthConfigId string
    Inbound Authentication Configuration ID
    instanceId string
    Bound Instance ID
    jwtAuthConfig AuthConfigJwtAuthConfig
    JWT Authentication Configuration
    trn string
    Resource TRN
    updatedAt string
    Update Time
    api_key_auth_configs Sequence[AuthConfigApiKeyAuthConfigArgs]
    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_config_id str
    Inbound Authentication Configuration ID
    instance_id str
    Bound Instance ID
    jwt_auth_config AuthConfigJwtAuthConfigArgs
    JWT Authentication Configuration
    trn str
    Resource TRN
    updated_at str
    Update Time
    apiKeyAuthConfigs List<Property Map>
    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.
    authType String
    Authentication Type. Only Jwt or ApiKey is allowed
    configName String
    Configuration Name
    createdAt String
    Creation Time
    description String
    Configuration Description
    inboundAuthConfigId String
    Inbound Authentication Configuration ID
    instanceId String
    Bound Instance ID
    jwtAuthConfig Property Map
    JWT Authentication Configuration
    trn String
    Resource TRN
    updatedAt String
    Update Time

    Supporting Types

    AuthConfigApiKeyAuthConfig, AuthConfigApiKeyAuthConfigArgs

    ApiKey string
    ApiKey Value
    ApiKeyMetadatas List<Byteplus.AuthConfigApiKeyAuthConfigApiKeyMetadata>
    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.
    ApiKeyName string
    ApiKey Name
    ExpiryTimestamp int
    Expiration Timestamp
    ApiKey string
    ApiKey Value
    ApiKeyMetadatas []AuthConfigApiKeyAuthConfigApiKeyMetadata
    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.
    ApiKeyName string
    ApiKey Name
    ExpiryTimestamp int
    Expiration Timestamp
    api_key string
    ApiKey Value
    api_key_metadatas list(object)
    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_name string
    ApiKey Name
    expiry_timestamp number
    Expiration Timestamp
    apiKey String
    ApiKey Value
    apiKeyMetadatas List<AuthConfigApiKeyAuthConfigApiKeyMetadata>
    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.
    apiKeyName String
    ApiKey Name
    expiryTimestamp Integer
    Expiration Timestamp
    apiKey string
    ApiKey Value
    apiKeyMetadatas AuthConfigApiKeyAuthConfigApiKeyMetadata[]
    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.
    apiKeyName string
    ApiKey Name
    expiryTimestamp number
    Expiration Timestamp
    api_key str
    ApiKey Value
    api_key_metadatas Sequence[AuthConfigApiKeyAuthConfigApiKeyMetadata]
    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_name str
    ApiKey Name
    expiry_timestamp int
    Expiration Timestamp
    apiKey String
    ApiKey Value
    apiKeyMetadatas List<Property Map>
    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.
    apiKeyName String
    ApiKey Name
    expiryTimestamp Number
    Expiration Timestamp

    AuthConfigApiKeyAuthConfigApiKeyMetadata, AuthConfigApiKeyAuthConfigApiKeyMetadataArgs

    Location string
    Parameter Location
    ParameterName string
    Parameter Name
    Location string
    Parameter Location
    ParameterName string
    Parameter Name
    location string
    Parameter Location
    parameter_name string
    Parameter Name
    location String
    Parameter Location
    parameterName String
    Parameter Name
    location string
    Parameter Location
    parameterName string
    Parameter Name
    location str
    Parameter Location
    parameter_name str
    Parameter Name
    location String
    Parameter Location
    parameterName String
    Parameter Name

    AuthConfigJwtAuthConfig, AuthConfigJwtAuthConfigArgs

    AllowedAudiences List<string>
    Allowed Audience List
    AllowedClients List<string>
    Allowed Client List
    DiscoveryUrl string
    JWT Discovery URL。
    AllowedAudiences []string
    Allowed Audience List
    AllowedClients []string
    Allowed Client List
    DiscoveryUrl string
    JWT Discovery URL。
    allowed_audiences list(string)
    Allowed Audience List
    allowed_clients list(string)
    Allowed Client List
    discovery_url string
    JWT Discovery URL。
    allowedAudiences List<String>
    Allowed Audience List
    allowedClients List<String>
    Allowed Client List
    discoveryUrl String
    JWT Discovery URL。
    allowedAudiences string[]
    Allowed Audience List
    allowedClients string[]
    Allowed Client List
    discoveryUrl string
    JWT Discovery URL。
    allowed_audiences Sequence[str]
    Allowed Audience List
    allowed_clients Sequence[str]
    Allowed Client List
    discovery_url str
    JWT Discovery URL。
    allowedAudiences List<String>
    Allowed Audience List
    allowedClients List<String>
    Allowed Client List
    discoveryUrl 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 bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.42
    published on Monday, Jul 20, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial