import * as pulumi from "@pulumi/pulumi"; /** * The `scaleway.AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information. * * ## Retrieve the SSH key of a Scaleway account * * The following commands allow you to: * * - retrieve an SSH key by its name * - retrieve an SSH key by its ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getAccountSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getAccountSshKey(args?: GetAccountSshKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccountSshKey. */ export interface GetAccountSshKeyArgs { /** * The name of the SSH key. */ name?: string; /** * `projectId`) The unique identifier of the project with which the SSH key is associated. */ projectId?: string; /** * The unique identifier of the SSH key. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: string; } /** * A collection of values returned by getAccountSshKey. */ export interface GetAccountSshKeyResult { readonly createdAt: string; readonly disabled: boolean; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * The unique identifier of the Organization with which the SSH key is associated. */ readonly organizationId: string; readonly projectId?: string; /** * The string of the SSH public key. */ readonly publicKey: string; readonly sshKeyId?: string; readonly updatedAt: string; } /** * The `scaleway.AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account. * * Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information. * * ## Retrieve the SSH key of a Scaleway account * * The following commands allow you to: * * - retrieve an SSH key by its name * - retrieve an SSH key by its ID * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getAccountSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getAccountSshKeyOutput(args?: GetAccountSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccountSshKey. */ export interface GetAccountSshKeyOutputArgs { /** * The name of the SSH key. */ name?: pulumi.Input; /** * `projectId`) The unique identifier of the project with which the SSH key is associated. */ projectId?: pulumi.Input; /** * The unique identifier of the SSH key. * * > **Note** You must specify at least one: `name` and/or `sshKeyId`. */ sshKeyId?: pulumi.Input; }