SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
235 stars 67 forks source link

Custom SecureString converter in PSGSuite breaks other implementations of SecureString usage with Configuration module #236

Closed scrthq closed 4 years ago

scrthq commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Import another module that uses Configuration, i.e. PSProfile.
  2. Add a SecureString value to that module's configuration.
  3. Import PSGSuite
  4. Save the other module's configuration
  5. Other module's configuration now shows the SecureString converter function as 'Secure' instead of the default function ConvertTo-SecureString set by Configuration itself.

Expected behavior PSGSuite should use the same converter function that Configuration itself uses by default.

Screenshots image

Additional context This will need to be tested to ensure compatibility with existing PSGSuite configurations, as it stores most of it's values as SecureStrings.