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

akeyless.getSshCertificate

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 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: Optional[pulumi.Input[str]] = None,
                            cert_username: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            legacy_signing_alg_name: Optional[pulumi.Input[bool]] = None,
                            public_key_data: Optional[pulumi.Input[str]] = None,
                            ttl: Optional[pulumi.Input[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

    The following arguments are supported:

    CertIssuerName string
    The name of the SSH certificate issuer
    CertUsername string
    The username to sign in the SSH certificate (use a comma-separated list for more than one username)
    PublicKeyData string
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    PublicKeyData string
    SSH public key file contents
    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)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate (use a comma-separated list for more than one username)
    publicKeyData String
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    publicKeyData string
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    public_key_data str
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    publicKeyData String
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    Data string
    Id string
    The ID of this resource.
    PublicKeyData string
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    Data string
    Id string
    The ID of this resource.
    PublicKeyData string
    SSH public key file contents
    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)
    certIssuerName String
    The name of the SSH certificate issuer
    certUsername String
    The username to sign in the SSH certificate (use a comma-separated list for more than one username)
    data String
    id String
    The ID of this resource.
    publicKeyData String
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    data string
    id string
    The ID of this resource.
    publicKeyData string
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    data str
    id str
    The ID of this resource.
    public_key_data str
    SSH public key file contents
    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 (use a comma-separated list for more than one username)
    data String
    id String
    The ID of this resource.
    publicKeyData String
    SSH public key file contents
    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.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community