2017-11-13 1 views
0

powershell을 통해 AWS API 게이트웨이 액세스 키를 생성하려고합니다. 예를 들어cmdlet을 사용하여 AWS에 액세스하는 동안 ObjectNotFound 오류가 발생했습니다. IAM

:

Get-AWSCredential -ListProfileDetail 

이 같은 오류가 발생합니다 : 그러나, 매번 나는 그것이 오류가 발생합니다 모든 cmdlet를 사용하려고

Get-AWSCredential : The term 'Get-AWSCredential' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Get-AWSCredential -ListProfileDetail + ~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-AWSCredential:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

나는 명령의 목록을 표시 할 때 Get-Command를 통해 AWS cmdlet이 팝업되지 않습니다. 무엇이 문제 일 수 있습니까?

+0

:

다음은 PS cmdlet에 아마존의 문서입니다. 필자는 Amazon 문서에 대한 참조를 사용하여 답변에 명령을 게시했습니다. –

답변

1

길고도 짧은 이야기,이 실행 Install-Package -Name AWSPowerShell

당신은 일에 Install-Package 명령에 대한 관리자로 PS를 실행해야 할 수도 있습니다. 또한 'nuget'을 설치하라는 메시지가 나타날 수도 있습니다. PSGallery에 대한 보안 경고가 표시되면 예라고 대답하십시오. 난 당신이 cmdlet을 설치하지 않은 가정 http://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up.html

+0

액세스 문제였습니다. 그것을 설치했다. –

관련 문제