ps/Modules/Cole.PowerShell.Developer/Public/Get-LocalCachedAWSProfile.ps1

12 lines
320 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
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)
}