Public/Protect-Env.ps1
function Protect-Env { # .SYNOPSIS # Enable AES encrypted Environment Variables # .DESCRIPTION # Configures/activates AES encryption in Environment Variables. # ie: Once run, all cmdlets of dotEnv PsModule will use AES when seting environment variables. # .NOTES # Information or caveats about the function e.g. 'This function is not supported in Linux' # .LINK # Initialize-EnvConfig # .LINK # https://github.com/alainQtec/cliHelper.env/Public/Protect-Env.ps1 # .EXAMPLE # Protect-Env NEXT_PUBLIC_SUPER_SECRET_KEY # Explanation of the function or its result. You can include multiple examples with additional .EXAMPLE lines [CmdletBinding()] param ( ) begin { } process { } end { } } |