Get-AzAutomationCredential
Automation 자격 증명을 가져옵니다.
Syntax
Get-AzAutomationCredential
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzAutomationCredential
[-Name] <String>
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzAutomationCredential cmdlet은 하나 이상의 Azure Automation 자격 증명을 가져옵니다. 기본적으로 모든 자격 증명이 반환됩니다. 자격 증명의 이름을 지정하여 특정 자격 증명을 가져옵니다. 보안을 위해 이 cmdlet은 자격 증명 암호를 반환하지 않습니다.
예제
예제 1: 모든 자격 증명 가져오기
Get-AzAutomationCredential -ResourceGroupName "ResourceGroup01" -AutomationAccountName "Contoso17"
이 명령은 Contoso17이라는 Automation 계정의 모든 자격 증명에 대한 메타데이터를 가져옵니다.
예제 2: 자격 증명 가져오기
Get-AzAutomationCredential -ResourceGroupName "ResourceGroup01" -AutomationAccountName "Contoso17" -Name "ContosoCredential"
이 명령은 Contoso17이라는 Automation 계정에서 ContosoCredential이라는 자격 증명에 대한 메타데이터를 가져옵니다.
매개 변수
-AutomationAccountName
이 cmdlet이 자격 증명을 검색하는 Automation 계정의 이름을 지정합니다.
형식: | String |
Position: | 1 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독
형식: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
기본값: | None |
필수: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
검색할 자격 증명의 이름을 지정합니다.
형식: | String |
Position: | 2 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
이 cmdlet이 자격 증명을 검색하는 리소스 그룹을 지정합니다.
형식: | String |
Position: | 0 |
기본값: | None |
필수: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
출력
관련 링크
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기