7 lines
315 B
PowerShell
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
|
|
} |