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 | |
# source ./aws_mfa_creds.sh <MFA KEY> <ORIG AWS PROFILE NAME - optional, default> | |
# https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/ | |
# Works on MacOS. Might need changes to date command params for linux | |
if [ -n "$AWS_SESSION_TOKEN_EXPIRATION" ] | |
then | |
if [ $(date -jf "%Y-%m-%dT%H:%M:%SZ" "$AWS_SESSION_TOKEN_EXPIRATION" +"%s") -gt $(date +"%s") ] |
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
showthread.php/1507523-Bhagya-Dile-Tu-Mala-10th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 10th October 2022 Video Watch Online | |
showthread.php/1507162-Bhagya-Dile-Tu-Mala-7th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 7th October 2022 Video Watch Online | |
showthread.php/1506991-Bhagya-Dile-Tu-Mala-6th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 6th October 2022 Video Watch Online | |
showthread.php/1506806-Bhagya-Dile-Tu-Mala-5th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 5th October 2022 Video Watch Online | |
showthread.php/1506614-Bhagya-Dile-Tu-Mala-4th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 4th October 2022 Video Watch Online | |
showthread.php/1506428-Bhagya-Dile-Tu-Mala-3rd-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 3rd October 2022 Video Watch Online | |
showthread.php/1506206-Bhagya-Dile-Tu-Mala-1st-Oct |
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
KEY_PAIR_NAME="XYZ"; aws ssm get-parameter --name /ec2/keypair/$(aws ec2 describe-key-pairs --filters "Name=key-name,Values=$KEY_PAIR_NAME" --query "KeyPairs[*].KeyPairId" --output text) --with-decryption --query "Parameter.Value" --output text |
OlderNewer