akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
akeyless.getKubeExecCreds
Explore with Pulumi AI
akeyless 1.9.0 published on Monday, Apr 14, 2025 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,
id: Optional[str] = None,
key_data_base64: Optional[str] = None,
uri_sans: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubeExecCredsResult
def get_kube_exec_creds_output(alt_names: Optional[pulumi.Input[str]] = None,
cert_issuer_name: Optional[pulumi.Input[str]] = None,
common_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
key_data_base64: Optional[pulumi.Input[str]] = None,
uri_sans: Optional[pulumi.Input[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 dictionary
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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 - Cert
Issuer stringName - The name of the PKI certificate issuer
- Client
Certificate stringData - Client
Key stringData - Id string
- The ID of this resource.
- Kind string
- Parent
Certificate stringData - 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
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Api
Version string - Cert
Issuer stringName - The name of the PKI certificate issuer
- Client
Certificate stringData - Client
Key stringData - Id string
- The ID of this resource.
- Kind string
- Parent
Certificate stringData - 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
- Key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version String - cert
Issuer StringName - The name of the PKI certificate issuer
- client
Certificate StringData - client
Key StringData - id String
- The ID of this resource.
- kind String
- parent
Certificate StringData - 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
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version string - cert
Issuer stringName - The name of the PKI certificate issuer
- client
Certificate stringData - client
Key stringData - id string
- The ID of this resource.
- kind string
- parent
Certificate stringData - 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
- key
Data stringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api_
version str - cert_
issuer_ strname - The name of the PKI certificate issuer
- client_
certificate_ strdata - client_
key_ strdata - id str
- The ID of this resource.
- kind str
- parent_
certificate_ strdata - 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
- key_
data_ strbase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- uri_
sans str - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- api
Version String - cert
Issuer StringName - The name of the PKI certificate issuer
- client
Certificate StringData - client
Key StringData - id String
- The ID of this resource.
- kind String
- parent
Certificate StringData - 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
- key
Data StringBase64 - pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
- 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
akeyless
Terraform Provider.
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community