GithubHelp home page GithubHelp logo

Comments (6)

mrpullen avatar mrpullen commented on June 12, 2024

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.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

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.

camiloborges avatar camiloborges commented on June 12, 2024

Hello
I might work on this one.
Notes:
Needs to support:

  1. update key: https://technet.microsoft.com/en-us/library/ff607850.aspx
  2. 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.

jmcanally avatar jmcanally commented on June 12, 2024

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.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

Tagged as in progress, its all yours @jmcanally

from sharepointdsc.

ykuijs avatar ykuijs commented on June 12, 2024

Resource created: SPSecureStoreServiceApp

from sharepointdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.