Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Gets K8S Auth config data source
Using getK8sAuthConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getK8sAuthConfig(args: GetK8sAuthConfigArgs, opts?: InvokeOptions): Promise<GetK8sAuthConfigResult>
function getK8sAuthConfigOutput(args: GetK8sAuthConfigOutputArgs, opts?: InvokeOptions): Output<GetK8sAuthConfigResult>def get_k8s_auth_config(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetK8sAuthConfigResult
def get_k8s_auth_config_output(name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetK8sAuthConfigResult]func LookupK8sAuthConfig(ctx *Context, args *LookupK8sAuthConfigArgs, opts ...InvokeOption) (*LookupK8sAuthConfigResult, error)
func LookupK8sAuthConfigOutput(ctx *Context, args *LookupK8sAuthConfigOutputArgs, opts ...InvokeOption) LookupK8sAuthConfigResultOutput> Note: This function is named LookupK8sAuthConfig in the Go SDK.
public static class GetK8sAuthConfig
{
public static Task<GetK8sAuthConfigResult> InvokeAsync(GetK8sAuthConfigArgs args, InvokeOptions? opts = null)
public static Output<GetK8sAuthConfigResult> Invoke(GetK8sAuthConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetK8sAuthConfigResult> getK8sAuthConfig(GetK8sAuthConfigArgs args, InvokeOptions options)
public static Output<GetK8sAuthConfigResult> getK8sAuthConfig(GetK8sAuthConfigArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getK8sAuthConfig:getK8sAuthConfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- K8S Auth config name
- Name string
- K8S Auth config name
- name String
- K8S Auth config name
- name string
- K8S Auth config name
- name str
- K8S Auth config name
- name String
- K8S Auth config name
getK8sAuthConfig Result
The following output properties are available:
- Am
Token doubleExpiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- Auth
Method stringAccess Id - AuthMethodAccessId of the Kubernetes auth method
- Auth
Method stringPrv Key Pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- Cluster
Api stringType - Defines types of API access to cluster
- Disable
Iss boolValidation - DisableISSValidation is optional parameter to disable ISS validation
- Id string
- K8S Auth config ID
- K8s
Auth stringType - Kubernetes authentication type
- K8s
Ca stringCert - K8SCACert is the CA Cert to use to call into the kubernetes API
- K8s
Client stringCert Data - K8sClientCertData is the client certificate for k8s client certificate authentication
- K8s
Client stringKey Data - K8sClientKeyData is the client key for k8s client certificate authentication
- K8s
Host string - K8SHost is the url string for the kubernetes API
- K8s
Issuer string - K8SIssuer is the claim that specifies who issued the Kubernetes token
- K8s
Pub List<string>Keys Pems - K8SPublicKeysPEM is the list of public key in PEM format
- K8s
Token stringReviewer Jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- Name string
- K8S Auth config name
- Protection
Key string - The name of the key that protects the K8S Auth config
- Rancher
Api stringKey - RancherApiKey the bear token for clusterApiTypeRancher
- Rancher
Cluster stringId - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- Use
Local boolCa Jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
- Am
Token float64Expiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- Auth
Method stringAccess Id - AuthMethodAccessId of the Kubernetes auth method
- Auth
Method stringPrv Key Pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- Cluster
Api stringType - Defines types of API access to cluster
- Disable
Iss boolValidation - DisableISSValidation is optional parameter to disable ISS validation
- Id string
- K8S Auth config ID
- K8s
Auth stringType - Kubernetes authentication type
- K8s
Ca stringCert - K8SCACert is the CA Cert to use to call into the kubernetes API
- K8s
Client stringCert Data - K8sClientCertData is the client certificate for k8s client certificate authentication
- K8s
Client stringKey Data - K8sClientKeyData is the client key for k8s client certificate authentication
- K8s
Host string - K8SHost is the url string for the kubernetes API
- K8s
Issuer string - K8SIssuer is the claim that specifies who issued the Kubernetes token
- K8s
Pub []stringKeys Pems - K8SPublicKeysPEM is the list of public key in PEM format
- K8s
Token stringReviewer Jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- Name string
- K8S Auth config name
- Protection
Key string - The name of the key that protects the K8S Auth config
- Rancher
Api stringKey - RancherApiKey the bear token for clusterApiTypeRancher
- Rancher
Cluster stringId - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- Use
Local boolCa Jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
- am
Token DoubleExpiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- auth
Method StringAccess Id - AuthMethodAccessId of the Kubernetes auth method
- auth
Method StringPrv Key Pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- cluster
Api StringType - Defines types of API access to cluster
- disable
Iss BooleanValidation - DisableISSValidation is optional parameter to disable ISS validation
- id String
- K8S Auth config ID
- k8s
Auth StringType - Kubernetes authentication type
- k8s
Ca StringCert - K8SCACert is the CA Cert to use to call into the kubernetes API
- k8s
Client StringCert Data - K8sClientCertData is the client certificate for k8s client certificate authentication
- k8s
Client StringKey Data - K8sClientKeyData is the client key for k8s client certificate authentication
- k8s
Host String - K8SHost is the url string for the kubernetes API
- k8s
Issuer String - K8SIssuer is the claim that specifies who issued the Kubernetes token
- k8s
Pub List<String>Keys Pems - K8SPublicKeysPEM is the list of public key in PEM format
- k8s
Token StringReviewer Jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- name String
- K8S Auth config name
- protection
Key String - The name of the key that protects the K8S Auth config
- rancher
Api StringKey - RancherApiKey the bear token for clusterApiTypeRancher
- rancher
Cluster StringId - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- use
Local BooleanCa Jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
- am
Token numberExpiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- auth
Method stringAccess Id - AuthMethodAccessId of the Kubernetes auth method
- auth
Method stringPrv Key Pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- cluster
Api stringType - Defines types of API access to cluster
- disable
Iss booleanValidation - DisableISSValidation is optional parameter to disable ISS validation
- id string
- K8S Auth config ID
- k8s
Auth stringType - Kubernetes authentication type
- k8s
Ca stringCert - K8SCACert is the CA Cert to use to call into the kubernetes API
- k8s
Client stringCert Data - K8sClientCertData is the client certificate for k8s client certificate authentication
- k8s
Client stringKey Data - K8sClientKeyData is the client key for k8s client certificate authentication
- k8s
Host string - K8SHost is the url string for the kubernetes API
- k8s
Issuer string - K8SIssuer is the claim that specifies who issued the Kubernetes token
- k8s
Pub string[]Keys Pems - K8SPublicKeysPEM is the list of public key in PEM format
- k8s
Token stringReviewer Jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- name string
- K8S Auth config name
- protection
Key string - The name of the key that protects the K8S Auth config
- rancher
Api stringKey - RancherApiKey the bear token for clusterApiTypeRancher
- rancher
Cluster stringId - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- use
Local booleanCa Jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
- am_
token_ floatexpiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- auth_
method_ straccess_ id - AuthMethodAccessId of the Kubernetes auth method
- auth_
method_ strprv_ key_ pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- cluster_
api_ strtype - Defines types of API access to cluster
- disable_
iss_ boolvalidation - DisableISSValidation is optional parameter to disable ISS validation
- id str
- K8S Auth config ID
- k8s_
auth_ strtype - Kubernetes authentication type
- k8s_
ca_ strcert - K8SCACert is the CA Cert to use to call into the kubernetes API
- k8s_
client_ strcert_ data - K8sClientCertData is the client certificate for k8s client certificate authentication
- k8s_
client_ strkey_ data - K8sClientKeyData is the client key for k8s client certificate authentication
- k8s_
host str - K8SHost is the url string for the kubernetes API
- k8s_
issuer str - K8SIssuer is the claim that specifies who issued the Kubernetes token
- k8s_
pub_ Sequence[str]keys_ pems - K8SPublicKeysPEM is the list of public key in PEM format
- k8s_
token_ strreviewer_ jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- name str
- K8S Auth config name
- protection_
key str - The name of the key that protects the K8S Auth config
- rancher_
api_ strkey - RancherApiKey the bear token for clusterApiTypeRancher
- rancher_
cluster_ strid - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- use_
local_ boolca_ jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
- am
Token NumberExpiration - AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token
- auth
Method StringAccess Id - AuthMethodAccessId of the Kubernetes auth method
- auth
Method StringPrv Key Pem - AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method
- cluster
Api StringType - Defines types of API access to cluster
- disable
Iss BooleanValidation - DisableISSValidation is optional parameter to disable ISS validation
- id String
- K8S Auth config ID
- k8s
Auth StringType - Kubernetes authentication type
- k8s
Ca StringCert - K8SCACert is the CA Cert to use to call into the kubernetes API
- k8s
Client StringCert Data - K8sClientCertData is the client certificate for k8s client certificate authentication
- k8s
Client StringKey Data - K8sClientKeyData is the client key for k8s client certificate authentication
- k8s
Host String - K8SHost is the url string for the kubernetes API
- k8s
Issuer String - K8SIssuer is the claim that specifies who issued the Kubernetes token
- k8s
Pub List<String>Keys Pems - K8SPublicKeysPEM is the list of public key in PEM format
- k8s
Token StringReviewer Jwt - K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call
- name String
- K8S Auth config name
- protection
Key String - The name of the key that protects the K8S Auth config
- rancher
Api StringKey - RancherApiKey the bear token for clusterApiTypeRancher
- rancher
Cluster StringId - RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
- use
Local BooleanCa Jwt - UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
