1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. getSshCertificate
Viewing docs for akeyless 2.0.1
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

    Generates SSH certificate data source

    Using getSshCertificate

    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 getSshCertificate(args: GetSshCertificateArgs, opts?: InvokeOptions): Promise<GetSshCertificateResult>
    function getSshCertificateOutput(args: GetSshCertificateOutputArgs, opts?: InvokeOptions): Output<GetSshCertificateResult>
    def get_ssh_certificate(cert_issuer_name: Optional[str] = None,
                            cert_username: Optional[str] = None,
                            id: Optional[str] = None,
                            legacy_signing_alg_name: Optional[bool] = None,
                            public_key_data: Optional[str] = None,
                            ttl: Optional[float] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSshCertificateResult
    def get_ssh_certificate_output(cert_issuer_name: pulumi.Input[Optional[str]] = None,
                            cert_username: pulumi.Input[Optional[str]] = None,
                            id: pulumi.Input[Optional[str]] = None,
                            legacy_signing_alg_name: pulumi.Input[Optional[bool]] = None,
                            public_key_data: pulumi.Input[Optional[str]] = None,
                            ttl: pulumi.Input[Optional[float]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSshCertificateResult]
    func GetSshCertificate(ctx *Context, args *GetSshCertificateArgs, opts ...InvokeOption) (*GetSshCertificateResult, error)
    func GetSshCertificateOutput(ctx *Context, args *GetSshCertificateOutputArgs, opts ...InvokeOption) GetSshCertificateResultOutput

    > Note: This function is named GetSshCertificate in the Go SDK.

    public static class GetSshCertificate 
    {
        public static Task<GetSshCertificateResult> InvokeAsync(GetSshCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetSshCertificateResult> Invoke(GetSshCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSshCertificateResult> getSshCertificate(GetSshCertificateArgs args, InvokeOptions options)
    public static Output<GetSshCertificateResult> getSshCertificate(GetSshCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getSshCertificate:getSshCertificate
      arguments:
        # arguments dictionary
    data "akeyless_getsshcertificate" "name" {
        # arguments
    }

    The following arguments are supported:

    CertIssuerName string
    The name of the SSH certificate issuer
    CertUsername string
    The username to sign in the SSH certificate
    PublicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    Id string
    The ID of this resource.
    LegacySigningAlgName bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    Ttl double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    CertIssuerName string
    The name of the SSH certificate issuer
    CertUsername string
    The username to sign in the SSH certificate
    PublicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    Id string
    The ID of this resource.
    LegacySigningAlgName bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    Ttl float64
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    cert_issuer_name string
    The name of the SSH certificate issuer
    cert_username string
    The username to sign in the SSH certificate
    public_key_data string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    id string
    The ID of this resource.
    legacy_signing_alg_name bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate
    publicKeyData String
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    id String
    The ID of this resource.
    legacySigningAlgName Boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl Double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName string
    The name of the SSH certificate issuer
    certUsername string
    The username to sign in the SSH certificate
    publicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    id string
    The ID of this resource.
    legacySigningAlgName boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    cert_issuer_name str
    The name of the SSH certificate issuer
    cert_username str
    The username to sign in the SSH certificate
    public_key_data str
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    id str
    The ID of this resource.
    legacy_signing_alg_name bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl float
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate
    publicKeyData String
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    id String
    The ID of this resource.
    legacySigningAlgName Boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl Number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)

    getSshCertificate Result

    The following output properties are available:

    CertIssuerName string
    The name of the SSH certificate issuer
    CertUsername string
    The username to sign in the SSH certificate
    Data string
    Id string
    The ID of this resource.
    Path string
    The path of the SSH certificate
    PublicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    LegacySigningAlgName bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    Ttl double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    CertIssuerName string
    The name of the SSH certificate issuer
    CertUsername string
    The username to sign in the SSH certificate
    Data string
    Id string
    The ID of this resource.
    Path string
    The path of the SSH certificate
    PublicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    LegacySigningAlgName bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    Ttl float64
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    cert_issuer_name string
    The name of the SSH certificate issuer
    cert_username string
    The username to sign in the SSH certificate
    data string
    id string
    The ID of this resource.
    path string
    The path of the SSH certificate
    public_key_data string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    legacy_signing_alg_name bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate
    data String
    id String
    The ID of this resource.
    path String
    The path of the SSH certificate
    publicKeyData String
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    legacySigningAlgName Boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl Double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName string
    The name of the SSH certificate issuer
    certUsername string
    The username to sign in the SSH certificate
    data string
    id string
    The ID of this resource.
    path string
    The path of the SSH certificate
    publicKeyData string
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    legacySigningAlgName boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    cert_issuer_name str
    The name of the SSH certificate issuer
    cert_username str
    The username to sign in the SSH certificate
    data str
    id str
    The ID of this resource.
    path str
    The path of the SSH certificate
    public_key_data str
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    legacy_signing_alg_name bool
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl float
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate
    data String
    id String
    The ID of this resource.
    path String
    The path of the SSH certificate
    publicKeyData String
    SSH public key file contents. If this option is used, the certificate will be printed to stdout
    legacySigningAlgName Boolean
    Set this option to output legacy ('ssh-rsa-cert-v01@openssh.com') signing algorithm name in the certificate.
    ttl Number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.