Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

xCredentialManager

The xCredentialManager DSC resources are used for storing credentials in Credential Manager. They include xStoredCredential

Contributing

Please check out common DSC Resources contributing guidelines.

Resources

  • xStoredCredential ensures that a credential is stored for a particular user.

xCredentialManager

  • UserTag: A tag uniquely identifying the user to store the credentials for.
  • UserCredential: The user for which to store the credential.
  • Target: The host to store the credential for.
  • TargetCredential: The credential to connect to the target.
  • Ensure: Whether the stored credential should be added or removed.
  • Force: Boolean, default is false. Update the credential even if it already exists.

Versions

0.1

  • Initial release with the following resources
    • xStoredCredential

Examples

Storing a credential

configuration Sample_xCredentialManager
{
	param([PSCredential] $UserCredential, [PSCredential] $TargetCredential, [string] $Target)
 
    Import-DscResource -module xCredentialManager
    xCredentialManager Scope
    {
        Ensure = 'Present'
        UserTag = $UserCredential.UserName.GetHashCode()
        UserCredential = $UserCredential
        Target = $Target
        TargetCredential = $TargetCredential
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages