Comments (6)
What properties should the UrlType accept?
Also what's the plan to capture fields in the Secure Store Application. We can store all sorts of things in Secure Store Target Application, there are like 6 different field types (Key, Generic, Username, Password, WindowsUsername, WindowsPassword).
For the Fields how about an array of objects like the following
@{
Name : STRING
Type (ValidateSet "Key", "Generic", "Username", "Password", "WindowsUserName", "WindowsPassword")
Masked (ValidateSet "True", "False")
Credential: PSCredential
Value:
}
Then the logic would be if you were passing a WinodwsPassword or PAssword field to resolve it from the PSCredential.Password, for WindowsUSerName, or Username resolve from PSCredential.Username, otherwise for Generic or Key use the Value field.. (Maybe use "Masked: true | false but passing a PSCredential for everything might be a pain).
Anyway this is my first contribution to GitHub, so it might be slow going, but I need this functionality, so seems like a good place to start.
from sharepointdsc.
Hey MrPullen,
That sounds like a sound approach as a starting point. One thing that I got pinged on in regards to secure values is that we need to be mindful of making sure they get encrypted in the MOF files, so an example of where we didn't do that was in the xSPSecureStoreServiceApplication, where we had database username and password as string values (because that's how SharePoint accepts them). So in the context of values we put in to the secure store we should be making sure that anything which should be getting treated as "secure" gets encrypted, which might mean using PSCredential for everything like you state there might need to be a consideration?
Happy for you to have a crack at this and we can discuss what comes out as you go along - feel free to let me know your email address through the contact form on my blog and I'm more than happy to discuss this with you via email as well.
from sharepointdsc.
Hello
I might work on this one.
Notes:
Needs to support:
- update key: https://technet.microsoft.com/en-us/library/ff607850.aspx
- Applications, and Fields: covered on Update-SPSS https://technet.microsoft.com/en-us/library/ff607985.aspx
it sounds like this will become another complex module.
from sharepointdsc.
I'm currently working on this one and planning to submit my changes this week. So far I have the basics working while following the guidance mentioned in previous comments.
from sharepointdsc.
Tagged as in progress, its all yours @jmcanally
from sharepointdsc.
Resource created: SPSecureStoreServiceApp
from sharepointdsc.
Related Issues (20)
- Pass empty string to parameter HOT 1
- [SPSearchIndexPartition] Regression introduced with with the fix for issue #1376
- [SPProductUpdate] Resource does not support SPSE yet
- [SPProductUpdate] Resource pauses the Search Service
- [SPInstallPrereqs] Multiple instances of the VC++ Redist causes issues
- [SPShellAdmins] Get-SPDatabase cmdlet cannot be found
- [SPConfigWizard] Add possibility to temporarily dismount content databases during config wizard
- SPHybridConfig: New resource proposal HOT 1
- SPTrustedRootAuthority - Error while adding Trusted Root Authority via CertificateThumbprint
- SPInstallPrereqs: sqlncli.msi is no longer required after November 2021 CU HOT 2
- SPPublishServiceApplication - Set-TargetResource does not work
- Issue while exporting the site configurations with certificate thumbprint HOT 2
- [Export] Export doesn't work in SPSE
- [SPFarm] Import-Module SharePointServer causes exception in SharePoint Subscription 23H1 HOT 3
- SPCertificateSettings: Unable to set contacts when previously blank
- Intro and SPSite Enhancement
- DSC Resource HOT 1
- Least-privileged security model enabled after Oct 22 CU
- Visio Graphics Service Application
- SPFarm: Add SPServerCertificatePipeBind Support for the Central Administration with SPSE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharepointdsc.