12 lines
320 B
PowerShell
12 lines
320 B
PowerShell
function Get-LocalCachedAWSProfile {
|
|
<#
|
|
.SYNOPSIS
|
|
Used to retrieve the locally cached AWS profile from the environment store
|
|
#>
|
|
[CmdletBinding()]
|
|
[OutputType([string])]
|
|
param (
|
|
)
|
|
|
|
return ((Get-EnvironmentVariable -Name "USERCACHE_AWSProfileKey" -StoreName User) 6>$null 5>$null 4>$null 3>$null)
|
|
} |