Compare commits
No commits in common. "1b1d4412ea329ec5c013ae37274f36d312acf2c4" and "88743e9ffd630d001a5ecca411b8e169b9bfd74e" have entirely different histories.
1b1d4412ea
...
88743e9ffd
@ -1,10 +1,12 @@
|
|||||||
----
|
---
|
||||||
name: "Bug"
|
name: Bug report
|
||||||
about: "This template is used to report bugs!"
|
about: This template is used to report bugs!
|
||||||
title: ":lady_beetle: "
|
title: ":lady_beetle: "
|
||||||
labels:
|
labels: bug
|
||||||
- bug
|
assignees: OCram85
|
||||||
----
|
|
||||||
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This bug report is ony for content provided in this repository!
|
This bug report is ony for content provided in this repository!
|
||||||
|
|
@ -1,10 +1,11 @@
|
|||||||
----
|
---
|
||||||
name: "Default"
|
name: Default
|
||||||
about: "Use this template if nothing seems to work."
|
about: Use this template if nothing seems to work.
|
||||||
title: ":question: "
|
title: ":question: "
|
||||||
labels:
|
labels: question
|
||||||
- question
|
assignees: ''
|
||||||
----
|
|
||||||
|
---
|
||||||
|
|
||||||
#### :grey_question: Simply ask your question here: :grey_question:
|
#### :grey_question: Simply ask your question here: :grey_question:
|
||||||
|
|
@ -1,10 +1,12 @@
|
|||||||
----
|
---
|
||||||
name: "Enhancement"
|
name: Feature request
|
||||||
about: "Wite about new features."
|
about: Suggest an idea for this project
|
||||||
title: ":flying_saucer: "
|
title: ":flying_saucer: "
|
||||||
labels:
|
labels: enhancement
|
||||||
- enhancement
|
assignees: ''
|
||||||
----
|
|
||||||
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This issue template is used to describe whished features.
|
This issue template is used to describe whished features.
|
||||||
-->
|
-->
|
16
README.md
16
README.md
@ -4,8 +4,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://gitea.ocram85.com/OCram85/PSCredentialStore/">
|
<a href="https://github.com/OCram85/PSCredentialStore/">
|
||||||
<img src="https://gitea.ocram85.com/OCram85/PSCredentialStore/raw/branch/master/assets/social-logo.png" alt="PSCredentialStore" />
|
<img src="https://raw.githubusercontent.com/OCram85/PSCredentialStore/master/assets/social-logo.png" alt="PSCredentialStore" />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -14,18 +14,16 @@
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
🔐 A simple cross-platform credential manager for PSCredential objects.
|
🔐 A simple credential manager to store and reuse multiple PSCredential objects.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://drone.ocram85.com/OCram85/PSCredentialStore">
|
<a href="https://cloud.drone.io/OCram85/PSCredentialStore">
|
||||||
<img src="https://drone.ocram85.com/api/badges/OCram85/PSCredentialStore/status.svg" alt="Master Branch Build Status">
|
<img src="https://cloud.drone.io/api/badges/OCram85/PSCredentialStore/status.svg" alt="Master Branch Build Status">
|
||||||
</a>
|
</a>
|
||||||
<!-- CodeCove disabled for self hosting git
|
|
||||||
<a href="https://codecov.io/gh/OCram85/PSCredentialStore">
|
<a href="https://codecov.io/gh/OCram85/PSCredentialStore">
|
||||||
<img src="https://codecov.io/gh/OCram85/PSCredentialStore/branch/master/graph/badge.svg" alt="CodeCov">
|
<img src="https://codecov.io/gh/OCram85/PSCredentialStore/branch/master/graph/badge.svg" alt="CodeCov">
|
||||||
</a>
|
</a>
|
||||||
-->
|
|
||||||
<a href="https://www.powershellgallery.com/packages/PSCredentialStore">
|
<a href="https://www.powershellgallery.com/packages/PSCredentialStore">
|
||||||
<img src="https://img.shields.io/powershellgallery/v/PSCredentialStore.svg?style=plastic" alt="PowershellGallery Published Version">
|
<img src="https://img.shields.io/powershellgallery/v/PSCredentialStore.svg?style=plastic" alt="PowershellGallery Published Version">
|
||||||
</a>
|
</a>
|
||||||
@ -51,7 +49,7 @@ need to store credentials for non interactive usage like in scheduled tasks.
|
|||||||
Starting with version `1.0.0` PSCredential uses Pfx certificates fo encryption. You can use Pfx certificate files
|
Starting with version `1.0.0` PSCredential uses Pfx certificates fo encryption. You can use Pfx certificate files
|
||||||
or certificates stored in the certificate store.
|
or certificates stored in the certificate store.
|
||||||
|
|
||||||
For more details read the [about_PSCredentialStore](/docs/about_PSCredentialStore.md) page on gitea or via CLI with
|
For more details read the [about_PSCredentialStore](/docs/about_PSCredentialStore.md) page on github or via CLI with
|
||||||
`Get-Help about_PSCredentialStore`.
|
`Get-Help about_PSCredentialStore`.
|
||||||
|
|
||||||
You can find the [reference](/docs/PSCredentialStore.md) in the /docs/ path as well.
|
You can find the [reference](/docs/PSCredentialStore.md) in the /docs/ path as well.
|
||||||
@ -101,7 +99,7 @@ Here is s brief hierarchy description of the certificate location: *(First match
|
|||||||
|
|
||||||
### :building_construction: Manual Way
|
### :building_construction: Manual Way
|
||||||
|
|
||||||
* Take a look at the [Latest Release](https://gitea.ocram85.com/OCram85/PSCredentialStore/releases/latest) page.
|
* Take a look at the [Latest Release](https://github.com/OCram85/PSCredentialStore/releases/latest) page.
|
||||||
* Download the `PSCredentialStore.zip`.
|
* Download the `PSCredentialStore.zip`.
|
||||||
* Unpack the zip file and put it in your Powershell module path.
|
* Unpack the zip file and put it in your Powershell module path.
|
||||||
* Don't forget to change the NTFS permission flag in the context menu.
|
* Don't forget to change the NTFS permission flag in the context menu.
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Connect-To
|
# Connect-To
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -28,37 +22,37 @@ Establish a connection to the selected host using a stored CredentialStoreItem.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "ucs.myside.local" -Type CiscoUcs
|
Connect-To -RemoteHost "ucs.myside.local" -Type CiscoUcs
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
### BEISPIEL 2
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "ftp.myside.local" -Type FTP
|
Connect-To -RemoteHost "ftp.myside.local" -Type FTP
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 3
|
### BEISPIEL 3
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "fas.myside.local" -Type NetAppFAS
|
Connect-To -RemoteHost "fas.myside.local" -Type NetAppFAS
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 4
|
### BEISPIEL 4
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "esx01.myside.local" -Type VMware
|
Connect-To -RemoteHost "esx01.myside.local" -Type VMware
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 5
|
### BEISPIEL 5
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "vCenter.myside.local" -Type CisServer
|
Connect-To -RemoteHost "vCenter.myside.local" -Type CisServer
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 6
|
### BEISPIEL 6
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP
|
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 7
|
### BEISPIEL 7
|
||||||
```
|
```
|
||||||
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
Connect-To -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
||||||
```
|
```
|
||||||
@ -190,5 +184,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Connect-To.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Disconnect-From
|
# Disconnect-From
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -20,42 +14,42 @@ Terminates a session established with Connect-To using a CredentialStoreItem.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "ucs.myside.local" -Type CiscoUcs
|
Disconnect-From -RemoteHost "ucs.myside.local" -Type CiscoUcs
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
### BEISPIEL 2
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "ftp.myside.local" -Type FTP
|
Disconnect-From -RemoteHost "ftp.myside.local" -Type FTP
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 3
|
### BEISPIEL 3
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "fas.myside.local" -Type NetAppFAS
|
Disconnect-From -RemoteHost "fas.myside.local" -Type NetAppFAS
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 4
|
### BEISPIEL 4
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware
|
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 5
|
### BEISPIEL 5
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware -Force:$True
|
Disconnect-From -RemoteHost "esx01.myside.local" -Type VMware -Force:$True
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 6
|
### BEISPIEL 6
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "vcenter.myside.local" -Type CisServer
|
Disconnect-From -RemoteHost "vcenter.myside.local" -Type CisServer
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 7
|
### BEISPIEL 7
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP
|
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTP
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 8
|
### BEISPIEL 8
|
||||||
```
|
```
|
||||||
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
Disconnect-From -RemoteHost "exchange01.myside.local" -Type ExchangeHTTPS
|
||||||
```
|
```
|
||||||
@ -119,5 +113,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Disconnect-From.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Get-CSCertificate
|
# Get-CSCertificate
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -20,7 +14,7 @@ Use this function to get the available pfx certificate respecting the config hie
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Get-CSCertificate -Type 'Shared' -Thumbprint '12334456'
|
Get-CSCertificate -Type 'Shared' -Thumbprint '12334456'
|
||||||
```
|
```
|
||||||
@ -67,5 +61,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [System.Security.Cryptography.X509Certificates.X509Certificate2]
|
### [System.Security.Cryptography.X509Certificates.X509Certificate2]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Get-CSCertificate.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Get-CredentialStore
|
# Get-CredentialStore
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -30,7 +24,7 @@ Get-CredentialStoreItem.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
$CSContent = Get-CredentialStore -Path "C:\TMP\mystore.json"
|
$CSContent = Get-CredentialStore -Path "C:\TMP\mystore.json"
|
||||||
```
|
```
|
||||||
@ -79,5 +73,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [PSObject] Returns the credential store content as PSObject.
|
### [PSObject] Returns the credential store content as PSObject.
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Get-CredentialStore.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Get-CredentialStoreItem
|
# Get-CredentialStoreItem
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -27,7 +21,7 @@ Return the credential as PSCredential object.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
$myCreds = Get-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
$myCreds = Get-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
@ -109,5 +103,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [System.Management.Automation.PSCredential]
|
### [System.Management.Automation.PSCredential]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Get-CredentialStoreItem.ps1
|
||||||
|
- Author : Messing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Import-CSCertificate
|
# Import-CSCertificate
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -21,7 +15,7 @@ private and shared credential stores.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Import-CSCertificate -Type 'Private' -Path (Join-Path -Path $Env:APPDATA -ChildItem 'PfxCertificate.pfx')
|
Import-CSCertificate -Type 'Private' -Path (Join-Path -Path $Env:APPDATA -ChildItem 'PfxCertificate.pfx')
|
||||||
```
|
```
|
||||||
@ -68,5 +62,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Import-CSCertificate.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# New-CSCertAttribute
|
# New-CSCertAttribute
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -21,7 +15,7 @@ Defines the certificate related properties for an upcoming New-PfxCertificate ex
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
New-CSCertAttribute -Country 'DE' -State 'BW' -City 'Karlsruhe' -Organization 'AwesomeIT' -OrganizationalUnitName '' -CommonName 'MyPrivateCert'
|
New-CSCertAttribute -Country 'DE' -State 'BW' -City 'Karlsruhe' -Organization 'AwesomeIT' -OrganizationalUnitName '' -CommonName 'MyPrivateCert'
|
||||||
```
|
```
|
||||||
@ -143,5 +137,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [PSCredentialStore.Certificate.CSRDetails]
|
### [PSCredentialStore.Certificate.CSRDetails]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : New-CSCertAttribute.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# New-CSCertificate
|
# New-CSCertificate
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -21,7 +15,7 @@ Use this function to create a custom self signed certificate used by the PSCrede
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
New-CSCertificate -CRTAttribute $CRTAttribute -KeyName './myprivate.key' -CertName './mycert.pfx'
|
New-CSCertificate -CRTAttribute $CRTAttribute -KeyName './myprivate.key' -CertName './mycert.pfx'
|
||||||
```
|
```
|
||||||
@ -116,5 +110,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : New-CSCertificate.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# New-CredentialStore
|
# New-CredentialStore
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -29,30 +23,34 @@ save new credentials with New-CredentialStoreItem.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
New-CredentialStore
|
New-CredentialStore
|
||||||
# Creates a new private CredentialStore
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
# Creates a new private CredentialStore
|
||||||
|
|
||||||
|
### BEISPIEL 2
|
||||||
```
|
```
|
||||||
New-CredentialStore -Force
|
New-CredentialStore -Force
|
||||||
# Resets an existing private CredentialStore
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 3
|
# Resets an existing private CredentialStore
|
||||||
|
|
||||||
|
### BEISPIEL 3
|
||||||
```
|
```
|
||||||
New-CredentialStore -Shared
|
New-CredentialStore -Shared
|
||||||
# Creates a new shared CredentialStore
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 4
|
# Creates a new shared CredentialStore
|
||||||
|
|
||||||
|
### BEISPIEL 4
|
||||||
```
|
```
|
||||||
New-CredentialStore -Shared -Path "C:\TMP\CredentialStore.json"
|
New-CredentialStore -Shared -Path "C:\TMP\CredentialStore.json"
|
||||||
# Creates a new shared CredentialStore in the given location.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Creates a new shared CredentialStore in the given location.
|
||||||
|
|
||||||
## PARAMETERS
|
## PARAMETERS
|
||||||
|
|
||||||
### -Force
|
### -Force
|
||||||
@ -198,5 +196,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
### ['PSCredentialStore.Store'] Returns the recently created CredentialStore object if the -PassThru parameter
|
### ['PSCredentialStore.Store'] Returns the recently created CredentialStore object if the -PassThru parameter
|
||||||
### was given.
|
### was given.
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : New-CredentialStore.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# New-CredentialStoreItem
|
# New-CredentialStoreItem
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -32,7 +26,7 @@ a VIConnection, NetApp FAS or UCS Fabric Interconnect.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
New-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
New-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
@ -129,5 +123,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : New-CredentialStoreItem.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
---
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
Module Guid: 6800e192-9df8-4e30-b253-eb2c799bbe84 6800e192-9df8-4e30-b253-eb2c799bbe84
|
|
||||||
Download Help Link: {{ Update Download Link }}
|
|
||||||
Help Version: {{ Please enter version of help manually (X.X.X.X) format }}
|
|
||||||
Locale: en-US
|
|
||||||
---
|
|
||||||
|
|
||||||
# PSCredentialStore Module
|
# PSCredentialStore Module
|
||||||
## Description
|
## Description
|
||||||
{{ Fill in the Description }}
|
[about_PSCredentialStore](about_PSCredentialStore.md)
|
||||||
|
|
||||||
## PSCredentialStore Cmdlets
|
## PSCredentialStore Cmdlets
|
||||||
### [Connect-To](Connect-To.md)
|
### [Connect-To](Connect-To.md)
|
||||||
@ -29,8 +21,8 @@ Returns the current used valid PfX certificate.
|
|||||||
### [Import-CSCertificate](Import-CSCertificate.md)
|
### [Import-CSCertificate](Import-CSCertificate.md)
|
||||||
Imports a linked certificate to the valid store location.
|
Imports a linked certificate to the valid store location.
|
||||||
|
|
||||||
### [New-CredentialStore](New-CredentialStore.md)
|
### [Import-CSCertificate](Import-CSCertificate.md)
|
||||||
Creates a new credential store File
|
Imports a linked certificate to the valid store location.
|
||||||
|
|
||||||
### [New-CredentialStoreItem](New-CredentialStoreItem.md)
|
### [New-CredentialStoreItem](New-CredentialStoreItem.md)
|
||||||
Adds a credential store item containing host, user and password to the given store.
|
Adds a credential store item containing host, user and password to the given store.
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Remove-CredentialStoreItem
|
# Remove-CredentialStoreItem
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -27,22 +21,22 @@ Use this CMDLet to completely remove an credential store item.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Remove-CredentialStoreItem -RemoteHost "esx01.myside.local"
|
Remove-CredentialStoreItem -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
### BEISPIEL 2
|
||||||
```
|
```
|
||||||
Remove-CredentialStoreItem -Shared -RemoteHost "esx01.myside.local"
|
Remove-CredentialStoreItem -Shared -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 3
|
### BEISPIEL 3
|
||||||
```
|
```
|
||||||
Remove-CredentialStoreItem -Shared -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
Remove-CredentialStoreItem -Shared -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 4
|
### BEISPIEL 4
|
||||||
```
|
```
|
||||||
Remove-CredentialStoreItem -RemoteHost "esx01.myside.local" -Identifier svc
|
Remove-CredentialStoreItem -RemoteHost "esx01.myside.local" -Identifier svc
|
||||||
```
|
```
|
||||||
@ -123,5 +117,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Remove-CredentialStoreItem.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Set-CredentialStoreItem
|
# Set-CredentialStoreItem
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -28,12 +22,12 @@ Use this function to update your already stored RemoteHost items.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Set-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
Set-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local"
|
||||||
```
|
```
|
||||||
|
|
||||||
### EXAMPLE 2
|
### BEISPIEL 2
|
||||||
```
|
```
|
||||||
Set-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local" -Identifier svc
|
Set-CredentialStoreItem -Path "C:\TMP\mystore.json" -RemoteHost "esx01.myside.local" -Identifier svc
|
||||||
```
|
```
|
||||||
@ -129,5 +123,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Set-CredentialStoreItem.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Test-CSCertificate
|
# Test-CSCertificate
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -20,7 +14,7 @@ Test-CSCertificate should be an easy high level test for the linked certificate.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Test-CSCertificate -Type 'Shared'
|
Test-CSCertificate -Type 'Shared'
|
||||||
```
|
```
|
||||||
@ -52,5 +46,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [bool]
|
### [bool]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Test-CSCertificate.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Test-CSConnection
|
# Test-CSConnection
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -20,7 +14,7 @@ Use this script to check a connection which was established with the \`Connect-T
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Test-CMConnection -RemoteHost "vcr01.internal.net" -Type VMware
|
Test-CMConnection -RemoteHost "vcr01.internal.net" -Type VMware
|
||||||
```
|
```
|
||||||
@ -69,5 +63,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [bool]
|
### [bool]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Test-CSConnection.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Test-CredentialStore
|
# Test-CredentialStore
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -28,7 +22,7 @@ the file exists.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Test-CredentialStore -eq $true
|
Test-CredentialStore -eq $true
|
||||||
```
|
```
|
||||||
@ -74,7 +68,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
## OUTPUTS
|
## OUTPUTS
|
||||||
|
|
||||||
### System.Boolean
|
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Test-CredentialStore.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Test-CredentialStoreItem
|
# Test-CredentialStoreItem
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -29,15 +23,16 @@ you try to interact with it.
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
if (Test-CredentialStoreItem -RemoteHost "Default") {
|
If (Test-CredentialStoreItem -RemoteHost "Default") {
|
||||||
Get-CredentialStoreItem -RemoteHost "Default"
|
```
|
||||||
|
|
||||||
|
Get-CredentialStoreItem -RemoteHost "Default"
|
||||||
}
|
}
|
||||||
else {
|
Else {
|
||||||
Write-Warning ("The given Remote Host {0} does not exist in the credential Store!" -f $RemoteHost)
|
Write-Warning ("The given Remote Host {0} does not exist in the credential Store!" -f $RemoteHost)
|
||||||
}
|
}
|
||||||
```
|
|
||||||
|
|
||||||
## PARAMETERS
|
## PARAMETERS
|
||||||
|
|
||||||
@ -117,5 +112,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
- File Name : Test-CredentialStoreItem.ps1
|
||||||
|
- Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
- Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
---
|
|
||||||
external help file: PSCredentialStore-help.xml
|
|
||||||
Module Name: PSCredentialStore
|
|
||||||
schema: 2.0.0
|
|
||||||
---
|
|
||||||
|
|
||||||
# Use-CSCertificate
|
# Use-CSCertificate
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
@ -26,7 +20,7 @@ Linking a certificate is needed if you plan to use the same CredentialStore in c
|
|||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
### EXAMPLE 1
|
### BEISPIEL 1
|
||||||
```
|
```
|
||||||
Use-CSCertificate -Path 'C:\cert.pfx'
|
Use-CSCertificate -Path 'C:\cert.pfx'
|
||||||
```
|
```
|
||||||
@ -103,5 +97,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||||||
|
|
||||||
### [None]
|
### [None]
|
||||||
## NOTES
|
## NOTES
|
||||||
|
File Name : Use-CSCertificate.ps1
|
||||||
|
Author : Marco Blessing - marco.blessing@googlemail.com
|
||||||
|
Requires :
|
||||||
|
|
||||||
## RELATED LINKS
|
## RELATED LINKS
|
||||||
|
|
||||||
|
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ need to store credentials for non interactive usage like in scheduled tasks.
|
|||||||
Starting with version `1.0.0` PSCredential uses Pfx certificates fo encryption. You can use Pfx certificate files
|
Starting with version `1.0.0` PSCredential uses Pfx certificates fo encryption. You can use Pfx certificate files
|
||||||
or certificates stored in the certificate store.
|
or certificates stored in the certificate store.
|
||||||
|
|
||||||
For more details read the [about_PSCredentialStore](/docs/about_PSCredentialStore.md) page on gitea or via CLI with
|
For more details read the [about_PSCredentialStore](/docs/about_PSCredentialStore.md) page on github or via CLI with
|
||||||
`Get-Help about_PSCredentialStore`.
|
`Get-Help about_PSCredentialStore`.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
Copyright = '(c) 2022 OCram85. All rights reserved.'
|
Copyright = '(c) 2022 OCram85. All rights reserved.'
|
||||||
|
|
||||||
# Description of the functionality provided by this module
|
# Description of the functionality provided by this module
|
||||||
Description = 'A simple cross-platform credential manager for PSCredential objects.'
|
Description = 'A simple credential manager to store and reuse multiple credential objects.'
|
||||||
|
|
||||||
# Minimum version of the PowerShell engine required by this module
|
# Minimum version of the PowerShell engine required by this module
|
||||||
PowerShellVersion = '5.1'
|
PowerShellVersion = '5.1'
|
||||||
@ -119,16 +119,16 @@
|
|||||||
Tags = 'CredentialStore', 'CredentialManager'
|
Tags = 'CredentialStore', 'CredentialManager'
|
||||||
|
|
||||||
# A URL to the license for this module.
|
# A URL to the license for this module.
|
||||||
LicenseUri = 'https://gitea.ocram85.com/OCram85/PSCredentialStore/raw/branch/master/LICENSE'
|
LicenseUri = 'https://github.com/OCram85/PSCredentialStore/blob/master/LICENSE'
|
||||||
|
|
||||||
# A URL to the main website for this project.
|
# A URL to the main website for this project.
|
||||||
ProjectUri = 'https://gitea.ocram85.com/OCram85/PSCredentialStore'
|
ProjectUri = 'https://github.com/OCram85/PSCredentialStore'
|
||||||
|
|
||||||
# A URL to an icon representing this module.
|
# A URL to an icon representing this module.
|
||||||
IconUri = 'https://gitea.ocram85.com/OCram85/PSCredentialStore/raw/branch/master/assets/logo256.png'
|
IconUri = 'https://raw.githubusercontent.com/OCram85/PSCredentialStore/master/assets/logo256.png'
|
||||||
|
|
||||||
# ReleaseNotes of this module
|
# ReleaseNotes of this module
|
||||||
ReleaseNotes = 'See https://gitea.ocram85.com/OCram85/PSCredentialStore/releases page for details.'
|
ReleaseNotes = 'See https://github.com/OCram85/PSCredentialStore/releases page for details.'
|
||||||
|
|
||||||
# Prerelease string of this module
|
# Prerelease string of this module
|
||||||
#Prerelease = 'preview'
|
#Prerelease = 'preview'
|
||||||
@ -144,7 +144,7 @@
|
|||||||
} # End of PrivateData hashtable
|
} # End of PrivateData hashtable
|
||||||
|
|
||||||
# HelpInfo URI of this module
|
# HelpInfo URI of this module
|
||||||
HelpInfoURI = 'https://gitea.ocram85.com/OCram85/PSCredentialStore'
|
HelpInfoURI = 'https://github.com/OCram85/PSCredentialStore'
|
||||||
|
|
||||||
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
|
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
|
||||||
# DefaultCommandPrefix = ''
|
# DefaultCommandPrefix = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user