This file contains hidden or 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 | |
SCRIPT_NAME="$0" | |
usage() { | |
cat <<EOF | |
Creates a set of tokens assuming the given role. Use "me" as role to simply generate a new session token for your user. | |
Usage: | |
$SCRIPT_NAME <role name> [duration in seconds] |