Skip to content

Disable PowerShell autosaving context #56

@doherty100

Description

@doherty100

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ X ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Provision #AzureSandbox

Any log messages given by the failure

WARNING: The provided service principal secret or certifcate password will be included in the 'keystore.cache' file found in the user profile ( /home/rdoherty/.Azure ). Please ensure that this directory has appropriate protections.

Expected/desired behavior

Remediate this warning by disabling autosaving of context in PowerShell scripts.

OS and Version?

N/A

Versions

#AzureSandbox v2.10.1

Mention any other details that might be useful

This needs to be implemented in all PowerShell scripts that are used in the bootstrapping process.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions