GetSshKey
linode..SshKey provides access to a specifically labeled SSH Key in the Profile of the User identified by the access token.
Example Usage
using Pulumi;
using Linode = Pulumi.Linode;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(Linode.GetSshKey.InvokeAsync(new Linode.GetSshKeyArgs
{
Label = "foo",
}));
}
}
Coming soon!
import pulumi
import pulumi_linode as linode
foo = linode.get_ssh_key(label="foo")import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foo = pulumi.output(linode.getSshKey({
label: "foo",
}, { async: true }));Using GetSshKey
function getSshKey(args: GetSshKeyArgs, opts?: InvokeOptions): Promise<GetSshKeyResult>function get_ssh_key(label=None, opts=None)func LookupSshKey(ctx *Context, args *LookupSshKeyArgs, opts ...InvokeOption) (*LookupSshKeyResult, error)Note: This function is named
LookupSshKeyin the Go SDK.
public static class GetSshKey {
public static Task<GetSshKeyResult> InvokeAsync(GetSshKeyArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetSshKey Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.