This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.storage.listLocalUserKeys
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
List SSH authorized keys and shared key of the local user. Azure REST API version: 2022-09-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.
Using listLocalUserKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listLocalUserKeys(args: ListLocalUserKeysArgs, opts?: InvokeOptions): Promise<ListLocalUserKeysResult>
function listLocalUserKeysOutput(args: ListLocalUserKeysOutputArgs, opts?: InvokeOptions): Output<ListLocalUserKeysResult>
def list_local_user_keys(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
username: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListLocalUserKeysResult
def list_local_user_keys_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
username: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListLocalUserKeysResult]
func ListLocalUserKeys(ctx *Context, args *ListLocalUserKeysArgs, opts ...InvokeOption) (*ListLocalUserKeysResult, error)
func ListLocalUserKeysOutput(ctx *Context, args *ListLocalUserKeysOutputArgs, opts ...InvokeOption) ListLocalUserKeysResultOutput
> Note: This function is named ListLocalUserKeys
in the Go SDK.
public static class ListLocalUserKeys
{
public static Task<ListLocalUserKeysResult> InvokeAsync(ListLocalUserKeysArgs args, InvokeOptions? opts = null)
public static Output<ListLocalUserKeysResult> Invoke(ListLocalUserKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListLocalUserKeysResult> listLocalUserKeys(ListLocalUserKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:listLocalUserKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - 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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- Account
Name string - 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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name String - 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- username String
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name string - 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.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- username string
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account_
name str - 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.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- username str
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
- account
Name String - 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- username String
- The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
listLocalUserKeys Result
The following output properties are available:
- string
- Auto generated by the server for SMB authentication.
- List<Pulumi.
Azure Native. Storage. Outputs. Ssh Public Key Response> - Optional, local user ssh authorized keys for SFTP.
- string
- Auto generated by the server for SMB authentication.
- []Ssh
Public Key Response - Optional, local user ssh authorized keys for SFTP.
- String
- Auto generated by the server for SMB authentication.
- List<Ssh
Public Key Response> - Optional, local user ssh authorized keys for SFTP.
- string
- Auto generated by the server for SMB authentication.
- Ssh
Public Key Response[] - Optional, local user ssh authorized keys for SFTP.
- str
- Auto generated by the server for SMB authentication.
- Sequence[Ssh
Public Key Response] - Optional, local user ssh authorized keys for SFTP.
- String
- Auto generated by the server for SMB authentication.
- List<Property Map>
- Optional, local user ssh authorized keys for SFTP.
Supporting Types
SshPublicKeyResponse
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- Description string
- Optional. It is used to store the function/usage of the key
- Key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description string
- Optional. It is used to store the function/usage of the key
- key string
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description str
- Optional. It is used to store the function/usage of the key
- key str
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
- description String
- Optional. It is used to store the function/usage of the key
- key String
- Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi