ps/Modules/Cole.PowerShell.Developer/Public/Get-AWSCredentialSetter.ps1
2023-05-30 22:51:22 -07:00

7 lines
315 B
PowerShell

function Get-AWSCredentialSetter {
<#
.SYNOPSIS
Mostly only useful for people who routinely swap between machines or VM and host and wanna move their most recent AWS creds to another machine
#>
"Set-Content -Value '$((get-content ~/.aws/credentials) -join "','")' -Path ~/.aws/credentials" | Set-Clipboard
}