published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack
Provide a resource to configure kubernetes cluster authentication info.
NOTE: Only available for cluster version >= 1.20
Example Usage
Use TKE default issuer and jwks_uri
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.KubernetesAuthAttachment("example", {
clusterId: "cls-53c7589g",
useTkeDefault: true,
autoCreateDiscoveryAnonymousAuth: true,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.KubernetesAuthAttachment("example",
cluster_id="cls-53c7589g",
use_tke_default=True,
auto_create_discovery_anonymous_auth=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewKubernetesAuthAttachment(ctx, "example", &tencentcloud.KubernetesAuthAttachmentArgs{
ClusterId: pulumi.String("cls-53c7589g"),
UseTkeDefault: pulumi.Bool(true),
AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.KubernetesAuthAttachment("example", new()
{
ClusterId = "cls-53c7589g",
UseTkeDefault = true,
AutoCreateDiscoveryAnonymousAuth = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.KubernetesAuthAttachment;
import com.pulumi.tencentcloud.KubernetesAuthAttachmentArgs;
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 example = new KubernetesAuthAttachment("example", KubernetesAuthAttachmentArgs.builder()
.clusterId("cls-53c7589g")
.useTkeDefault(true)
.autoCreateDiscoveryAnonymousAuth(true)
.build());
}
}
resources:
example:
type: tencentcloud:KubernetesAuthAttachment
properties:
clusterId: cls-53c7589g
useTkeDefault: true
autoCreateDiscoveryAnonymousAuth: true
Example coming soon!
Use custom issuer and jwks_uri
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.KubernetesAuthAttachment("example", {
clusterId: "cls-53c7589g",
useTkeDefault: false,
jwksUri: "https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks",
issuer: "https://cls-53c7589g.ccs.tencent-cloud.com",
autoCreateDiscoveryAnonymousAuth: false,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.KubernetesAuthAttachment("example",
cluster_id="cls-53c7589g",
use_tke_default=False,
jwks_uri="https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks",
issuer="https://cls-53c7589g.ccs.tencent-cloud.com",
auto_create_discovery_anonymous_auth=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewKubernetesAuthAttachment(ctx, "example", &tencentcloud.KubernetesAuthAttachmentArgs{
ClusterId: pulumi.String("cls-53c7589g"),
UseTkeDefault: pulumi.Bool(false),
JwksUri: pulumi.String("https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks"),
Issuer: pulumi.String("https://cls-53c7589g.ccs.tencent-cloud.com"),
AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.KubernetesAuthAttachment("example", new()
{
ClusterId = "cls-53c7589g",
UseTkeDefault = false,
JwksUri = "https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks",
Issuer = "https://cls-53c7589g.ccs.tencent-cloud.com",
AutoCreateDiscoveryAnonymousAuth = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.KubernetesAuthAttachment;
import com.pulumi.tencentcloud.KubernetesAuthAttachmentArgs;
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 example = new KubernetesAuthAttachment("example", KubernetesAuthAttachmentArgs.builder()
.clusterId("cls-53c7589g")
.useTkeDefault(false)
.jwksUri("https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks")
.issuer("https://cls-53c7589g.ccs.tencent-cloud.com")
.autoCreateDiscoveryAnonymousAuth(false)
.build());
}
}
resources:
example:
type: tencentcloud:KubernetesAuthAttachment
properties:
clusterId: cls-53c7589g
useTkeDefault: false
jwksUri: https://cls-53c7589g.ccs.tencent-cloud.com/openid/v1/jwks
issuer: https://cls-53c7589g.ccs.tencent-cloud.com
autoCreateDiscoveryAnonymousAuth: false
Example coming soon!
Use OIDC Config
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.KubernetesAuthAttachment("example", {
clusterId: "cls-oof3l9ks",
useTkeDefault: true,
autoCreateDiscoveryAnonymousAuth: true,
autoCreateOidcConfig: true,
autoInstallPodIdentityWebhookAddon: true,
});
const oidcConfig = tencentcloud.getCamOidcConfigOutput({
name: example.clusterId,
});
export const identityKey = oidcConfig.apply(oidcConfig => oidcConfig.identityKey);
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.KubernetesAuthAttachment("example",
cluster_id="cls-oof3l9ks",
use_tke_default=True,
auto_create_discovery_anonymous_auth=True,
auto_create_oidc_config=True,
auto_install_pod_identity_webhook_addon=True)
oidc_config = tencentcloud.get_cam_oidc_config_output(name=example.cluster_id)
pulumi.export("identityKey", oidc_config.identity_key)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := tencentcloud.NewKubernetesAuthAttachment(ctx, "example", &tencentcloud.KubernetesAuthAttachmentArgs{
ClusterId: pulumi.String("cls-oof3l9ks"),
UseTkeDefault: pulumi.Bool(true),
AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(true),
AutoCreateOidcConfig: pulumi.Bool(true),
AutoInstallPodIdentityWebhookAddon: pulumi.Bool(true),
})
if err != nil {
return err
}
oidcConfig := tencentcloud.GetCamOidcConfigOutput(ctx, tencentcloud.GetCamOidcConfigOutputArgs{
Name: example.ClusterId,
}, nil)
ctx.Export("identityKey", oidcConfig.ApplyT(func(oidcConfig tencentcloud.GetCamOidcConfigResult) (*string, error) {
return &oidcConfig.IdentityKey, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.KubernetesAuthAttachment("example", new()
{
ClusterId = "cls-oof3l9ks",
UseTkeDefault = true,
AutoCreateDiscoveryAnonymousAuth = true,
AutoCreateOidcConfig = true,
AutoInstallPodIdentityWebhookAddon = true,
});
var oidcConfig = Tencentcloud.GetCamOidcConfig.Invoke(new()
{
Name = example.ClusterId,
});
return new Dictionary<string, object?>
{
["identityKey"] = oidcConfig.Apply(getCamOidcConfigResult => getCamOidcConfigResult.IdentityKey),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.KubernetesAuthAttachment;
import com.pulumi.tencentcloud.KubernetesAuthAttachmentArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCamOidcConfigArgs;
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 example = new KubernetesAuthAttachment("example", KubernetesAuthAttachmentArgs.builder()
.clusterId("cls-oof3l9ks")
.useTkeDefault(true)
.autoCreateDiscoveryAnonymousAuth(true)
.autoCreateOidcConfig(true)
.autoInstallPodIdentityWebhookAddon(true)
.build());
final var oidcConfig = TencentcloudFunctions.getCamOidcConfig(GetCamOidcConfigArgs.builder()
.name(example.clusterId())
.build());
ctx.export("identityKey", oidcConfig.applyValue(_oidcConfig -> _oidcConfig.identityKey()));
}
}
resources:
example:
type: tencentcloud:KubernetesAuthAttachment
properties:
clusterId: cls-oof3l9ks
useTkeDefault: true
autoCreateDiscoveryAnonymousAuth: true
autoCreateOidcConfig: true
autoInstallPodIdentityWebhookAddon: true
variables:
oidcConfig:
fn::invoke:
function: tencentcloud:getCamOidcConfig
arguments:
name: ${example.clusterId}
outputs:
identityKey: ${oidcConfig.identityKey}
Example coming soon!
Create KubernetesAuthAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesAuthAttachment(name: string, args: KubernetesAuthAttachmentArgs, opts?: CustomResourceOptions);@overload
def KubernetesAuthAttachment(resource_name: str,
args: KubernetesAuthAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesAuthAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
auto_create_client_ids: Optional[Sequence[str]] = None,
auto_create_discovery_anonymous_auth: Optional[bool] = None,
auto_create_oidc_config: Optional[bool] = None,
auto_install_pod_identity_webhook_addon: Optional[bool] = None,
issuer: Optional[str] = None,
jwks_uri: Optional[str] = None,
kubernetes_auth_attachment_id: Optional[str] = None,
use_tke_default: Optional[bool] = None)func NewKubernetesAuthAttachment(ctx *Context, name string, args KubernetesAuthAttachmentArgs, opts ...ResourceOption) (*KubernetesAuthAttachment, error)public KubernetesAuthAttachment(string name, KubernetesAuthAttachmentArgs args, CustomResourceOptions? opts = null)
public KubernetesAuthAttachment(String name, KubernetesAuthAttachmentArgs args)
public KubernetesAuthAttachment(String name, KubernetesAuthAttachmentArgs args, CustomResourceOptions options)
type: tencentcloud:KubernetesAuthAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_kubernetes_auth_attachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args KubernetesAuthAttachmentArgs
- 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 KubernetesAuthAttachmentArgs
- 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 KubernetesAuthAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesAuthAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesAuthAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
KubernetesAuthAttachment 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 KubernetesAuthAttachment resource accepts the following input properties:
- Cluster
Id string - ID of clusters.
- Auto
Create List<string>Client Ids - Creating ClientId of the identity provider.
- Auto
Create boolDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - Auto
Create boolOidc Config - Creating an identity provider.
- Auto
Install boolPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - Issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - Jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - Kubernetes
Auth stringAttachment Id - ID of the resource.
- Use
Tke boolDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- Cluster
Id string - ID of clusters.
- Auto
Create []stringClient Ids - Creating ClientId of the identity provider.
- Auto
Create boolDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - Auto
Create boolOidc Config - Creating an identity provider.
- Auto
Install boolPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - Issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - Jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - Kubernetes
Auth stringAttachment Id - ID of the resource.
- Use
Tke boolDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- cluster_
id string - ID of clusters.
- auto_
create_ list(string)client_ ids - Creating ClientId of the identity provider.
- auto_
create_ booldiscovery_ anonymous_ auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto_
create_ booloidc_ config - Creating an identity provider.
- auto_
install_ boolpod_ identity_ webhook_ addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks_
uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes_
auth_ stringattachment_ id - ID of the resource.
- use_
tke_ booldefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- cluster
Id String - ID of clusters.
- auto
Create List<String>Client Ids - Creating ClientId of the identity provider.
- auto
Create BooleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create BooleanOidc Config - Creating an identity provider.
- auto
Install BooleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - issuer String
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri String - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth StringAttachment Id - ID of the resource.
- use
Tke BooleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- cluster
Id string - ID of clusters.
- auto
Create string[]Client Ids - Creating ClientId of the identity provider.
- auto
Create booleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create booleanOidc Config - Creating an identity provider.
- auto
Install booleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth stringAttachment Id - ID of the resource.
- use
Tke booleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- cluster_
id str - ID of clusters.
- auto_
create_ Sequence[str]client_ ids - Creating ClientId of the identity provider.
- auto_
create_ booldiscovery_ anonymous_ auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto_
create_ booloidc_ config - Creating an identity provider.
- auto_
install_ boolpod_ identity_ webhook_ addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - issuer str
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks_
uri str - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes_
auth_ strattachment_ id - ID of the resource.
- use_
tke_ booldefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- cluster
Id String - ID of clusters.
- auto
Create List<String>Client Ids - Creating ClientId of the identity provider.
- auto
Create BooleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create BooleanOidc Config - Creating an identity provider.
- auto
Install BooleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - issuer String
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri String - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth StringAttachment Id - ID of the resource.
- use
Tke BooleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesAuthAttachment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- id string
- The provider-assigned unique ID for this managed resource.
- tke_
default_ stringissuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke_
default_ stringjwks_ uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- id String
- The provider-assigned unique ID for this managed resource.
- tke
Default StringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default StringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- id string
- The provider-assigned unique ID for this managed resource.
- tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- id str
- The provider-assigned unique ID for this managed resource.
- tke_
default_ strissuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke_
default_ strjwks_ uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
- id String
- The provider-assigned unique ID for this managed resource.
- tke
Default StringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default StringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value.
Look up Existing KubernetesAuthAttachment Resource
Get an existing KubernetesAuthAttachment 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?: KubernetesAuthAttachmentState, opts?: CustomResourceOptions): KubernetesAuthAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_create_client_ids: Optional[Sequence[str]] = None,
auto_create_discovery_anonymous_auth: Optional[bool] = None,
auto_create_oidc_config: Optional[bool] = None,
auto_install_pod_identity_webhook_addon: Optional[bool] = None,
cluster_id: Optional[str] = None,
issuer: Optional[str] = None,
jwks_uri: Optional[str] = None,
kubernetes_auth_attachment_id: Optional[str] = None,
tke_default_issuer: Optional[str] = None,
tke_default_jwks_uri: Optional[str] = None,
use_tke_default: Optional[bool] = None) -> KubernetesAuthAttachmentfunc GetKubernetesAuthAttachment(ctx *Context, name string, id IDInput, state *KubernetesAuthAttachmentState, opts ...ResourceOption) (*KubernetesAuthAttachment, error)public static KubernetesAuthAttachment Get(string name, Input<string> id, KubernetesAuthAttachmentState? state, CustomResourceOptions? opts = null)public static KubernetesAuthAttachment get(String name, Output<String> id, KubernetesAuthAttachmentState state, CustomResourceOptions options)resources: _: type: tencentcloud:KubernetesAuthAttachment get: id: ${id}import {
to = tencentcloud_kubernetes_auth_attachment.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.
- Auto
Create List<string>Client Ids - Creating ClientId of the identity provider.
- Auto
Create boolDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - Auto
Create boolOidc Config - Creating an identity provider.
- Auto
Install boolPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - Cluster
Id string - ID of clusters.
- Issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - Jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - Kubernetes
Auth stringAttachment Id - ID of the resource.
- Tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Use
Tke boolDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- Auto
Create []stringClient Ids - Creating ClientId of the identity provider.
- Auto
Create boolDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - Auto
Create boolOidc Config - Creating an identity provider.
- Auto
Install boolPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - Cluster
Id string - ID of clusters.
- Issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - Jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - Kubernetes
Auth stringAttachment Id - ID of the resource.
- Tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - Use
Tke boolDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- auto_
create_ list(string)client_ ids - Creating ClientId of the identity provider.
- auto_
create_ booldiscovery_ anonymous_ auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto_
create_ booloidc_ config - Creating an identity provider.
- auto_
install_ boolpod_ identity_ webhook_ addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - cluster_
id string - ID of clusters.
- issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks_
uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes_
auth_ stringattachment_ id - ID of the resource.
- tke_
default_ stringissuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke_
default_ stringjwks_ uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - use_
tke_ booldefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- auto
Create List<String>Client Ids - Creating ClientId of the identity provider.
- auto
Create BooleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create BooleanOidc Config - Creating an identity provider.
- auto
Install BooleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - cluster
Id String - ID of clusters.
- issuer String
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri String - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth StringAttachment Id - ID of the resource.
- tke
Default StringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default StringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - use
Tke BooleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- auto
Create string[]Client Ids - Creating ClientId of the identity provider.
- auto
Create booleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create booleanOidc Config - Creating an identity provider.
- auto
Install booleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - cluster
Id string - ID of clusters.
- issuer string
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri string - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth stringAttachment Id - ID of the resource.
- tke
Default stringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default stringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - use
Tke booleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- auto_
create_ Sequence[str]client_ ids - Creating ClientId of the identity provider.
- auto_
create_ booldiscovery_ anonymous_ auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto_
create_ booloidc_ config - Creating an identity provider.
- auto_
install_ boolpod_ identity_ webhook_ addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - cluster_
id str - ID of clusters.
- issuer str
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks_
uri str - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes_
auth_ strattachment_ id - ID of the resource.
- tke_
default_ strissuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke_
default_ strjwks_ uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - use_
tke_ booldefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
- auto
Create List<String>Client Ids - Creating ClientId of the identity provider.
- auto
Create BooleanDiscovery Anonymous Auth - If set to
true, the rbac rule will be created automatically which allow anonymous user to access/.well-known/openid-configurationand/openid/v1/jwks. - auto
Create BooleanOidc Config - Creating an identity provider.
- auto
Install BooleanPod Identity Webhook Addon - Creating the PodIdentityWebhook component. if
auto_create_oidc_configis true, this field must set true. - cluster
Id String - ID of clusters.
- issuer String
- Specify service-account-issuer. If
use_tke_defaultis set totrue, please do not set this field. - jwks
Uri String - Specify service-account-jwks-uri. If
use_tke_defaultis set totrue, please do not set this field. - kubernetes
Auth StringAttachment Id - ID of the resource.
- tke
Default StringIssuer - The default issuer of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - tke
Default StringJwks Uri - The default jwks_uri of tke. If
use_tke_defaultis set totrue, this parameter will be set to the default value. - use
Tke BooleanDefault - If set to
true, theissuerandjwks_uriwill be generated automatically by tke, please do not setissuerandjwks_uri.
Import
TKE cluster authentication can be imported using the id, e.g.
$ pulumi import tencentcloud:index/kubernetesAuthAttachment:KubernetesAuthAttachment example cls-fp5o961e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Monday, Sep 21, 2026 by tencentcloudstack