PowerShell New-GLCVault throws weird error "is not authorized to perform: glacier:CreateVault on resource"

0

Hi,

I registered account for user who has right to create vaults, and he can create them when he works via AWS Console. But when I run in my Windows PowerShell console I get the following error:

PS C:\Windows\system32> New-GLCVault -VaultName clevo -Region us-west-2
New-GLCVault : User: arn:aws:iam::24xxxxxxxxx54:user/sen-backup is not authorized to perform: glacier:CreateVault on resource: arn:aws:glacier:us-west-2:24xxxxxxxxx54:vaults/clevo because
no identity-based policy allows the glacier:CreateVault action
At line:1 char:1
+ New-GLCVault -VaultName clevo -Region us-west-2

How can I have it fixed?

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则