-
Notifications
You must be signed in to change notification settings - Fork 8
Secrets
An overview of the Secrets concept in PSProfile.
Secrets are stored in $PSProfile.Vault
and can either
be PSCredential objects or SecureStrings. PSCredential
Secrets are stored and recalled via the UserName, while
SecureStrings are stored and recalled using a provided
friendly name, e.g. MyAPIKey
.
Secrets are stored using the Data Protection API, so users on non-Windows platforms should be aware that the secrets stored are not encrypted as they are on Windows due to lack of of the underlying Data Protection API.
Adds a new Secret to your PSProfile.
Equivalent to running Get-PSProfileSecret $env:UserName
.
Allows easily pulling your current user's credentials for
use with other commands, e.g. Invoke-Command -Credential (Get-MyCreds)
.
Gets a Secret from your PSProfile configuration.
Removes a Secret from your PSProfile.
- Command Aliases
- Configuration
- Helpers
- Init Scripts
- Meta
- Modules to Import
- Modules to Install
- Path Aliases
- Plugin Paths
- Plugins
- Power Tools
- Project Paths
- Prompts
- Script Paths
- Secrets
- Symbolic Links
- Variables
- Export-PSProfileConfiguration
- Import-PSProfile
- Import-PSProfileConfiguration
- Save-PSProfile
- Start-PSProfileConfigurationHelper
- Update-PSProfileConfig
- Update-PSProfileRefreshFrequency
- Update-PSProfileSetting
- Add-PSProfileToProfile
- Copy-Parameters
- Get-LastCommandDuration
- Get-PathAlias
- Get-PSProfileArguments
- Get-PSVersion
- Test-IfGit
- Write-PSProfileLog
- Add-PSProfileInitScript
- Disable-PSProfileInitScript
- Edit-PSProfileInitScript
- Enable-PSProfileInitScript
- Get-PSProfileInitScript
- Remove-PSProfileInitScript
- Confirm-ScriptIsValid
- Enter-CleanEnvironment
- Format-Syntax
- Get-Definition
- Get-Gist
- Get-LongPath
- Install-LatestModule
- Open-Code
- Open-Item
- Pop-Path
- Push-Path
- Start-BuildScript
- Test-RegEx
- Add-PSProfilePrompt
- Edit-PSProfilePrompt
- Get-PSProfilePrompt
- Remove-PSProfilePrompt
- Switch-PSProfilePrompt