@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.89 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* List SSH authorized keys and shared key of the local user.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listLocalUserKeys(args: ListLocalUserKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListLocalUserKeysResult>;
export interface ListLocalUserKeysArgs {
/**
* The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
*/
accountName: string;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
*/
username: string;
}
/**
* The Storage Account Local User keys.
*/
export interface ListLocalUserKeysResult {
/**
* Auto generated by the server for SMB authentication.
*/
readonly sharedKey: string;
/**
* Optional, local user ssh authorized keys for SFTP.
*/
readonly sshAuthorizedKeys?: outputs.storage.SshPublicKeyResponse[];
}
/**
* List SSH authorized keys and shared key of the local user.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listLocalUserKeysOutput(args: ListLocalUserKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListLocalUserKeysResult>;
export interface ListLocalUserKeysOutputArgs {
/**
* The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
*/
accountName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
*/
username: pulumi.Input<string>;
}