getSshKey

Using getSshKey

function getSshKey(args: GetSshKeyArgs, opts?: InvokeOptions): Promise<GetSshKeyResult>
def get_ssh_key(id: Optional[str] = None,
                name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetSshKeyResult
func LookupSshKey(ctx *Context, args *LookupSshKeyArgs, opts ...InvokeOption) (*LookupSshKeyResult, error)

Note: This function is named LookupSshKey in the Go SDK.

public static class GetSshKey {
    public static Task<GetSshKeyResult> InvokeAsync(GetSshKeyArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id string
The ID of the ssh key.
Name string
The name of the ssh key.
Id string
The ID of the ssh key.
Name string
The name of the ssh key.
id string
The ID of the ssh key.
name string
The name of the ssh key.
id str
The ID of the ssh key.
name str
The name of the ssh key.

getSshKey Result

The following output properties are available:

Fingerprint string
Id string
Name string
Fingerprint string
Id string
Name string
fingerprint string
id string
name string
fingerprint str
id str
name str

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes
This Pulumi package is based on the civo Terraform Provider.