Skip to content

Instantly share code, notes, and snippets.

View ilkka's full-sized avatar
:octocat:
sanitary deeds done at reasonable prices

Ilkka Poutanen ilkka

:octocat:
sanitary deeds done at reasonable prices
View GitHub Profile
@ilkka
ilkka / Set-BotoCredentials.ps1
Created December 11, 2017 10:43
PowerShell cmdlet for writing an awscli/boto credentials file when you used AWS PowerShell tools to store your creds
# Drop this in your profile file and you're good to go.
# Creating ~\.aws\credentials file from creds stored in the aws powershell tools
function Set-BotoCredentials {
[CmdletBinding()]
param (
[parameter()]
[string]
$ProfileName = 'default'
)