akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
akeyless.getSshCertificate
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Cert
Issuer stringName  - The name of the SSH certificate issuer
 - Cert
Username string - The username to sign in the SSH certificate (use a comma-separated list for more than one username)
 - Public
Key stringData  - SSH public key file contents
 - Id string
 - The ID of this resource.
 - Legacy
Signing boolAlg Name  - 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)
 
- Cert
Issuer stringName  - The name of the SSH certificate issuer
 - Cert
Username string - The username to sign in the SSH certificate (use a comma-separated list for more than one username)
 - Public
Key stringData  - SSH public key file contents
 - Id string
 - The ID of this resource.
 - Legacy
Signing boolAlg Name  - 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 StringName  - The name of the SSH certificate issuer
 - cert
Username String - The username to sign in the SSH certificate (use a comma-separated list for more than one username)
 - public
Key StringData  - SSH public key file contents
 - id String
 - The ID of this resource.
 - legacy
Signing BooleanAlg Name  - 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)
 
- cert
Issuer stringName  - The name of the SSH certificate issuer
 - cert
Username string - The username to sign in the SSH certificate (use a comma-separated list for more than one username)
 - public
Key stringData  - SSH public key file contents
 - id string
 - The ID of this resource.
 - legacy
Signing booleanAlg Name  - 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_ strname  - 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_ strdata  - SSH public key file contents
 - id str
 - The ID of this resource.
 - legacy_
signing_ boolalg_ name  - 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)
 
- cert
Issuer StringName  - The name of the SSH certificate issuer
 - cert
Username String - The username to sign in the SSH certificate (use a comma-separated list for more than one username)
 - public
Key StringData  - SSH public key file contents
 - id String
 - The ID of this resource.
 - legacy
Signing BooleanAlg Name  - 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:
- Cert
Issuer stringName  - The name of the SSH certificate issuer
 - Cert
Username 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.
 - Public
Key stringData  - SSH public key file contents
 - Legacy
Signing boolAlg Name  - 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)
 
- Cert
Issuer stringName  - The name of the SSH certificate issuer
 - Cert
Username 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.
 - Public
Key stringData  - SSH public key file contents
 - Legacy
Signing boolAlg Name  - 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 StringName  - The name of the SSH certificate issuer
 - cert
Username 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.
 - public
Key StringData  - SSH public key file contents
 - legacy
Signing BooleanAlg Name  - 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)
 
- cert
Issuer stringName  - The name of the SSH certificate issuer
 - cert
Username 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.
 - public
Key stringData  - SSH public key file contents
 - legacy
Signing booleanAlg Name  - 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_ strname  - 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_ strdata  - SSH public key file contents
 - legacy_
signing_ boolalg_ name  - 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)
 
- cert
Issuer StringName  - The name of the SSH certificate issuer
 - cert
Username 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.
 - public
Key StringData  - SSH public key file contents
 - legacy
Signing BooleanAlg Name  - 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 
akeylessTerraform Provider. 
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community