Skip to content

Turn off context autosave in AzureRM powershell scripts #5216

Closed
@johnsimons

Description

@johnsimons

Prerequisites

  • I have searched open and closed issues to make sure it isn't already requested
  • I have written a descriptive issue title
  • I have linked the original source of this feature request
  • I have tagged the issue appropriately (area/*, kind/enhancement)

The problem

When using azure powershell in an environment where multiple scripts are running with different credentials, we should turn off context autosave, as this will make all authentication occur in memory, and isolate each session from the context changes in other sessions (Disable-AzureRMContextAutosave -Scope CurrentUser).

Links

Azure/azure-powershell#7110 (comment)

Metadata

Metadata

Assignees

Labels

kind/bugThis issue represents a verified problem we are committed to solving

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions