maester icon indicating copy to clipboard operation
maester copied to clipboard

Configuration file and function

Open f-bader opened this issue 1 year ago • 3 comments

Create a JSON that allows for environmental configurations Create functions that will query the JSON and return the objects

f-bader avatar Mar 01 '24 08:03 f-bader

Not .psd1? 🙂

fflaten avatar Apr 13 '24 13:04 fflaten

What configurations would be needed in there? I would work on this issue, my use case is to define the emergency access account(s) for the tenant.

What format should be preferred? JSON would be a possibility for sure. Personally i have a preference for YAML. PSD1 would also be a suitable format.

@merill maybe?

lbrauns avatar Sep 16 '24 16:09 lbrauns

@FriedrichWeinmann's PSFramework has a really good configuration system. https://psframework.org/documentation/documents/psframework/configuration.html

It already supports exporting/importing to .psd1, clixml and json. https://psframework.org/documentation/documents/psframework/configuration/persistence-serialization.html

I'm thinking we can leverage that instead of re-inventing the wheel.

merill avatar Sep 18 '24 04:09 merill