Add support for `PSDscRunAsCredential` input parameter for class-based resources
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Summary of the new feature / enhancement
As I user I need backwards compatibility for the input parameter PSDscRunAsCredential for those class-based resources that supports it or require it. Without this existing configurations need to change have resources are used within the same configuration run, and also some resource might not be able to be used by DSCv3.
If a class-based resource implements [DscResource(RunAsCredential = 'Mandatory')] those cannot be used by the DSCv3 yet. Similar, many class-based resources uses [DscResource(RunAsCredential = 'Optional')] which cannot be used by a user either.
With the current functionality all class-based resources DSCv3 defaults to [DscResource(RunAsCredential = 'NotSupported')] even if a class-based resource implements it or not.
Proposed technical implementation details (optional)
I would like it to be possible to use input parameter PSDscRunAsCredential with class-based resources and DSCv3 switches user context as necessary on an individual resource basis.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing how DSCv3 invokes class-based resources and handles the PSDscRunAsCredential parameter; done means supporting Optional and Mandatory RunAsCredential resources while switching user context per resource as required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- devops, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100