Skip to content

Set permissions throws error #1

Description

@BernardWez

The command mi key-vault:set-permissions results in the following output:


Examples from AI knowledge base:
az keyvault set-policy --name MyVault --object-id {object-id} --secret-permissions get
Update security policy settings for a Key Vault. (autogenerated)

az keyvault set-policy --key-permissions encrypt --name MyVault --object-id {object-id} --resource-group myresourcegroup
Update security policy settings for a Key Vault. (autogenerated)

https://docs.microsoft.com/en-US/cli/azure/keyvault#az_keyvault_set_policy
Read more about the command in reference docs


error invoking keyvault None   error_message=KeyVault invocation failed returncode=2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions