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
Get credentials for authentication with Kubernetes cluster based on a PKI Cert Issuer data source
Using getKubeExecCreds
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 getKubeExecCreds(args: GetKubeExecCredsArgs, opts?: InvokeOptions): Promise<GetKubeExecCredsResult>
function getKubeExecCredsOutput(args: GetKubeExecCredsOutputArgs, opts?: InvokeOptions): Output<GetKubeExecCredsResult>def get_kube_exec_creds(alt_names: Optional[str] = None,
cert_issuer_name: Optional[str] = None,
common_name: Optional[str] = None,
csr_data_base64: Optional[str] = None,
extended_key_usage: Optional[str] = None,
extra_extensions: Optional[str] = None,
id: Optional[str] = None,
key_data_base64: Optional[str] = None,
max_path_len: Optional[float] = None,
ttl: Optional[str] = None,
uri_sans: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubeExecCredsResult
def get_kube_exec_creds_output(alt_names: pulumi.Input[Optional[str]] = None,
cert_issuer_name: pulumi.Input[Optional[str]] = None,
common_name: pulumi.Input[Optional[str]] = None,
csr_data_base64: pulumi.Input[Optional[str]] = None,
extended_key_usage: pulumi.Input[Optional[str]] = None,
extra_extensions: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
key_data_base64: pulumi.Input[Optional[str]] = None,
max_path_len: pulumi.Input[Optional[float]] = None,
ttl: pulumi.Input[Optional[str]] = None,
uri_sans: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubeExecCredsResult]func GetKubeExecCreds(ctx *Context, args *GetKubeExecCredsArgs, opts ...InvokeOption) (*GetKubeExecCredsResult, error)
func GetKubeExecCredsOutput(ctx *Context, args *GetKubeExecCredsOutputArgs, opts ...InvokeOption) GetKubeExecCredsResultOutput> Note: This function is named GetKubeExecCreds in the Go SDK.
public static class GetKubeExecCreds
{
public static Task<GetKubeExecCredsResult> InvokeAsync(GetKubeExecCredsArgs args, InvokeOptions? opts = null)
public static Output<GetKubeExecCredsResult> Invoke(GetKubeExecCredsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubeExecCredsResult> getKubeExecCreds(GetKubeExecCredsArgs args, InvokeOptions options)
public static Output<GetKubeExecCredsResult> getKubeExecCreds(GetKubeExecCredsArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getKubeExecCreds:getKubeExecCreds
arguments:
# arguments dictionarydata "akeyless_getkubeexeccreds" "name" {
# arguments
}The following arguments are supported:
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- Extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- Id string
- The ID of this resource.
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Max
Path doubleLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- Ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- Extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- Id string
- The ID of this resource.
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Max
Path float64Len - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- Ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert_
issuer_ stringname - The name of the PKI certificate issuer
- alt_
names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common_
name string - The common name to be included in the PKI certificate
- csr_
data_ stringbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ stringusage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra_
extensions string - A json string that defines the requested extra extensions for the certificate
- id string
- The ID of this resource.
- key_
data_ stringbase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max_
path_ numberlen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri_
sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Issuer StringName - The name of the PKI certificate issuer
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions String - A json string that defines the requested extra extensions for the certificate
- id String
- The ID of this resource.
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path DoubleLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl String
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Issuer stringName - The name of the PKI certificate issuer
- alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name string - The common name to be included in the PKI certificate
- csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- id string
- The ID of this resource.
- key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path numberLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert_
issuer_ strname - The name of the PKI certificate issuer
- alt_
names str - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common_
name str - The common name to be included in the PKI certificate
- csr_
data_ strbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ strusage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra_
extensions str - A json string that defines the requested extra extensions for the certificate
- id str
- The ID of this resource.
- key_
data_ strbase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max_
path_ floatlen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl str
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri_
sans str - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Issuer StringName - The name of the PKI certificate issuer
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions String - A json string that defines the requested extra extensions for the certificate
- id String
- The ID of this resource.
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path NumberLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl String
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
getKubeExecCreds Result
The following output properties are available:
- Api
Version string - The API version of the Kubernetes exec credential
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Client
Certificate stringData - The client certificate data for Kubernetes authentication
- Client
Key stringData - The client key data for Kubernetes authentication
- Id string
- The ID of this resource.
- Kind string
- The kind of the Kubernetes exec credential
- Parent
Certificate stringData - The parent certificate data for Kubernetes authentication
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- Extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Max
Path doubleLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- Ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Api
Version string - The API version of the Kubernetes exec credential
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Client
Certificate stringData - The client certificate data for Kubernetes authentication
- Client
Key stringData - The client key data for Kubernetes authentication
- Id string
- The ID of this resource.
- Kind string
- The kind of the Kubernetes exec credential
- Parent
Certificate stringData - The parent certificate data for Kubernetes authentication
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- Extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Max
Path float64Len - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- Ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api_
version string - The API version of the Kubernetes exec credential
- cert_
issuer_ stringname - The name of the PKI certificate issuer
- client_
certificate_ stringdata - The client certificate data for Kubernetes authentication
- client_
key_ stringdata - The client key data for Kubernetes authentication
- id string
- The ID of this resource.
- kind string
- The kind of the Kubernetes exec credential
- parent_
certificate_ stringdata - The parent certificate data for Kubernetes authentication
- alt_
names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common_
name string - The common name to be included in the PKI certificate
- csr_
data_ stringbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ stringusage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra_
extensions string - A json string that defines the requested extra extensions for the certificate
- key_
data_ stringbase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max_
path_ numberlen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri_
sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version String - The API version of the Kubernetes exec credential
- cert
Issuer StringName - The name of the PKI certificate issuer
- client
Certificate StringData - The client certificate data for Kubernetes authentication
- client
Key StringData - The client key data for Kubernetes authentication
- id String
- The ID of this resource.
- kind String
- The kind of the Kubernetes exec credential
- parent
Certificate StringData - The parent certificate data for Kubernetes authentication
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions String - A json string that defines the requested extra extensions for the certificate
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path DoubleLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl String
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version string - The API version of the Kubernetes exec credential
- cert
Issuer stringName - The name of the PKI certificate issuer
- client
Certificate stringData - The client certificate data for Kubernetes authentication
- client
Key stringData - The client key data for Kubernetes authentication
- id string
- The ID of this resource.
- kind string
- The kind of the Kubernetes exec credential
- parent
Certificate stringData - The parent certificate data for Kubernetes authentication
- alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name string - The common name to be included in the PKI certificate
- csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions string - A json string that defines the requested extra extensions for the certificate
- key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path numberLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl string
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api_
version str - The API version of the Kubernetes exec credential
- cert_
issuer_ strname - The name of the PKI certificate issuer
- client_
certificate_ strdata - The client certificate data for Kubernetes authentication
- client_
key_ strdata - The client key data for Kubernetes authentication
- id str
- The ID of this resource.
- kind str
- The kind of the Kubernetes exec credential
- parent_
certificate_ strdata - The parent certificate data for Kubernetes authentication
- alt_
names str - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common_
name str - The common name to be included in the PKI certificate
- csr_
data_ strbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ strusage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra_
extensions str - A json string that defines the requested extra extensions for the certificate
- key_
data_ strbase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max_
path_ floatlen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl str
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri_
sans str - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version String - The API version of the Kubernetes exec credential
- cert
Issuer StringName - The name of the PKI certificate issuer
- client
Certificate StringData - The client certificate data for Kubernetes authentication
- client
Key StringData - The client key data for Kubernetes authentication
- id String
- The ID of this resource.
- kind String
- The kind of the Kubernetes exec credential
- parent
Certificate StringData - The parent certificate data for Kubernetes authentication
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'
- extra
Extensions String - A json string that defines the requested extra extensions for the certificate
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- max
Path NumberLen - The maximum path length for the generated certificate. -1 means unlimited unless the signing certificate has a maximum path length set
- ttl String
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
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
