Git Product home page Git Product logo

pscredentialtools's Introduction

PSCredentialTools

PSCredentialTools provides methods for securely generating, storing and retrieving credentials and other sensitive data for use in PowerShell scripts and Desired State Configurations. Credentials can be saved to disk, encrypted with either a pre-shared-key or with a PKI certificate. Credentials can also be stored in Azure KeyVault as an Azure KeyVault Secret.

List of cmdlets

PSCredentialTools includes the following cmdlets:

PSCredentials cmdlets

  • Export-PSCredential: encrypts and saves a PowerShell Credential object to file or to Azure KeyVault
  • Import-PSCredential: decrypts a previously saved Credential back into a PowerShell Credential object
  • New-PSCredential: creates new PowerShell credential object, with a random strong password, and saves it to an encrypted file or to Azure KeyVault

Conversion cmdlets

  • ConvertFrom-FIPSSecureString: Converts a PowerShell SecureString object into encypted text, using a pre-shared-key. It uses the FIPS compliant AES Crypto Provider.
  • ConvertTo-FIPSSecureString: Converts a previously encrypted SecureString with a pre-shared-key back into a PowerShell SecureString object.
  • ConvertFrom-PKISecureString: Converts a PowerShell SecureString object into encrypted text using a provided certificate's Public Key
  • ConvertTo-PKISecureString: Converts a previously encrypted SecureString back into a PowerShell SecureString object using the provided certificate's Private Key

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document contributing guide.

License

Licensed under the MIT License.

pscredentialtools's People

Contributors

iricigor avatar microsoft-github-policy-service[bot] avatar mikelacher448 avatar randomnote1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pscredentialtools's Issues

fix object returned by new-pscredential

When storing credentials in Azure KeyVault, new-pscredential returns both the credential object and the keyvault secret object.

New-PSCredential should only return the credential object.

Create Help in Markdown Files

Create help and examples in Markdown to help make the module easier to consume. Could possibly use PlatyPS during the build process to automatically generate the help content.

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.