1. Packages
  2. Akeyless Provider
  3. API Docs
  4. getKubeExecCreds
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.getKubeExecCreds

Explore with Pulumi AI

akeyless logo
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:

    CertIssuerName string
    The name of the PKI certificate issuer
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    Id string
    The ID of this resource.
    KeyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CertIssuerName string
    The name of the PKI certificate issuer
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    Id string
    The ID of this resource.
    KeyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certIssuerName String
    The name of the PKI certificate issuer
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    id String
    The ID of this resource.
    keyDataBase64 String
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certIssuerName string
    The name of the PKI certificate issuer
    altNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName string
    The common name to be included in the PKI certificate
    id string
    The ID of this resource.
    keyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    cert_issuer_name str
    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_base64 str
    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)
    certIssuerName String
    The name of the PKI certificate issuer
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    id String
    The ID of this resource.
    keyDataBase64 String
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans 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:

    ApiVersion string
    CertIssuerName string
    The name of the PKI certificate issuer
    ClientCertificateData string
    ClientKeyData string
    Id string
    The ID of this resource.
    Kind string
    ParentCertificateData string
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    KeyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    ApiVersion string
    CertIssuerName string
    The name of the PKI certificate issuer
    ClientCertificateData string
    ClientKeyData string
    Id string
    The ID of this resource.
    Kind string
    ParentCertificateData string
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    KeyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    apiVersion String
    certIssuerName String
    The name of the PKI certificate issuer
    clientCertificateData String
    clientKeyData String
    id String
    The ID of this resource.
    kind String
    parentCertificateData String
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    keyDataBase64 String
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    apiVersion string
    certIssuerName string
    The name of the PKI certificate issuer
    clientCertificateData string
    clientKeyData string
    id string
    The ID of this resource.
    kind string
    parentCertificateData string
    altNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName string
    The common name to be included in the PKI certificate
    keyDataBase64 string
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    api_version str
    cert_issuer_name str
    The name of the PKI certificate issuer
    client_certificate_data str
    client_key_data str
    id str
    The ID of this resource.
    kind str
    parent_certificate_data str
    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_base64 str
    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)
    apiVersion String
    certIssuerName String
    The name of the PKI certificate issuer
    clientCertificateData String
    clientKeyData String
    id String
    The ID of this resource.
    kind String
    parentCertificateData String
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    keyDataBase64 String
    pki key file contents encoded using Base64. If this option is used, the certificate will be printed to stdout
    uriSans 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 logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community