Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

GetSshKeys

Using GetSshKeys

function getSshKeys(args: GetSshKeysArgs, opts?: InvokeOptions): Promise<GetSshKeysResult>
def get_ssh_keys(with_selector: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetSshKeysResult
func GetSshKeys(ctx *Context, args *GetSshKeysArgs, opts ...InvokeOption) (*GetSshKeysResult, error)
public static class GetSshKeys {
    public static Task<GetSshKeysResult> InvokeAsync(GetSshKeysArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

GetSshKeys Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

SshKeys List<Pulumi.HCloud.Outputs.GetSshKeysSshKey>

(list) List of all matches SSH keys. See data.hcloud_ssh_key for schema.

WithSelector string
Id string

The provider-assigned unique ID for this managed resource.

SshKeys []GetSshKeysSshKey

(list) List of all matches SSH keys. See data.hcloud_ssh_key for schema.

WithSelector string
id string

The provider-assigned unique ID for this managed resource.

sshKeys GetSshKeysSshKey[]

(list) List of all matches SSH keys. See data.hcloud_ssh_key for schema.

withSelector string
id str

The provider-assigned unique ID for this managed resource.

ssh_keys Sequence[GetSshKeysSshKey]

(list) List of all matches SSH keys. See data.hcloud_ssh_key for schema.

with_selector str

Supporting Types

GetSshKeysSshKey

Fingerprint string
Id int
Labels Dictionary<string, object>
Name string
PublicKey string
Fingerprint string
Id int
Labels map[string]interface{}
Name string
PublicKey string
fingerprint string
id number
labels {[key: string]: any}
name string
publicKey string
fingerprint str
id int
labels Mapping[str, Any]
name str
public_key str

Package Details

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