Skip to main content

local_users_keys

Creates, updates, deletes, gets or lists a local_users_keys resource.

Overview

Namelocal_users_keys
TypeResource
Idazure.storage.local_users_keys

Fields

NameDatatypeDescription
sharedKeystringAuto generated by the server for SMB authentication.
sshAuthorizedKeysarrayOptional, local user ssh authorized keys for SFTP.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionId, usernameList SSH authorized keys and shared key of the local user.

SELECT examples

List SSH authorized keys and shared key of the local user.

SELECT
sharedKey,
sshAuthorizedKeys
FROM azure.storage.local_users_keys
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND username = '{{ username }}';