다음을 통해 공유


Get-AzureStorSimpleStorageAccountCredential

스토리지 계정에 대한 자격 증명을 가져옵니다.

참고

이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.

Syntax

Get-AzureStorSimpleStorageAccountCredential
   [-StorageAccountName <String>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

Get-AzureStorSimpleStorageAccountCredential cmdlet은 스토리지 계정에 대한 자격 증명을 가져옵니다. 이 cmdlet은 서비스에 구성된 모든 StorageAccountCredential 개체 또는 명명 된 StorageAccountCredential을 가져옵니다.

예제

예제 1: 리소스에 대한 모든 자격 증명 가져오기

PS C:\>Get-AzureStorSimpleStorageAccountCredential
InstanceId                           Login           Name            UseSSL VolumeCount     CloudType    Location
----------                           -----           ----            ------ -----------     ---------    --------
b5e0857f-82ef-4426-883b-a612889ebee4 qwertyuiopa     AdminAccount    True   24              Azure

이 명령은 현재 리소스에 대한 스토리지 계정에 사용 가능한 모든 자격 증명을 가져옵니다.

예제 2: 특정 스토리지 계정에 대한 자격 증명 가져오기

PS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoCloudStorage"
VERBOSE: ClientRequestId: 16551af6-3398-4d30-a389-1b8eb01ce92c_PS
VERBOSE: ClientRequestId: 5041277d-4044-4b6c-ae19-4ea9e7ae135a_PS
VERBOSE: Storage Access Credential with name ContosoCloudStorage found! 


CloudType                        : Azure
Hostname                         : blob.core.windows.net
InstanceId                       : 8b3cb7bb-963b-4173-9598-52fe230b0350
IsDefault                        : False
Location                         : West US
Login                            : ContosoCloudStorage
Name                             : ContosoCloudStorage
OperationInProgress              : None
Password                         : 
PasswordEncryptionCertThumbprint : 
UseSSL                           : True
VolumeCount                      : 0

이 명령은 ContosoCloudStorage라는 스토리지 계정에 대한 스토리지 계정 자격 증명을 가져옵니다.

매개 변수

-Profile

Azure 프로필을 지정합니다.

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StorageAccountName

자격 증명을 가져올 스토리지 계정의 이름을 지정합니다.

Type:String
Aliases:Name
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

입력

None

출력

StorageAccountCredential, IList\<StorageAccountCredential\>

StorageAccountName 매개 변수를 지정하거나 해당 매개 변수를 지정하지 않으면 IList<StorageAccountCredential 개체를 반환하는 StorageAccountCredential> 개체를 반환합니다.