Skip to content

Commit

Permalink
[Keyvault] az keyvault create: Add warning for upcoming breaking ch…
Browse files Browse the repository at this point in the history
…ange that `--enable-rbac-authorization` will default to `true` (Azure#28178)
  • Loading branch information
evelyn-ys authored and MaxHorstmann committed Jan 19, 2024
1 parent 7f5794b commit 73e5e21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/azure-cli/azure/cli/command_modules/keyvault/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@ def create_vault(cmd, client, # pylint: disable=too-many-locals, too-many-state
# if client.get raise exception, we can take it as no existing vault found
# just continue the normal creation process
pass
logger.warning('We will enable rbac authorization by default in the near future,'
' please manually specify --enable-rbac-authorization if you want to overwrite the default value.')
from azure.cli.core._profile import Profile, _TENANT_ID
from azure.cli.command_modules.role import graph_client_factory, GraphError

Expand Down

0 comments on commit 73e5e21

Please sign in to comment.