npx https://gist.github.com/74c68c24a440c7cfbd78ccce5e9652d4 test-app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
console.log('Hello NPM Package!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# AWS CLIおよびAWS Tools for PowerShellで使用しているアクセスキーをローテーションする。 | |
# 新しいアクセスキーを発行し、片方もしくは両方のクレデンシャルファイルを更新します。 | |
# クレデンシャルファイルは同一フォルダーにバックアップされるため、意図しない動作をした場合は手動で復元してください。 | |
# | |
# Usage: | |
# > aws-iam-user-key-rotation.ps1 [profile] | |
# | |
$profileName = $args[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
console.log('yay gist') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -euo pipefail | |
# | |
# Usage: | |
# $ aws-iam-user-key-rotation.sh [profile] [credential_file] | |
# | |
declare -x AWS_DEFAULT_PROFILE=${1:-default} | |
declare credential_file=${2:-~/.aws/credentials} | |
declare -x AWS_SHARED_CREDENTIALS_FILE=$credential_file |