SNS Secrets (CloudGoat)
Credentials & setting up
sns_user_access_key_id = AKIA4YM7GTDHMY5FW6QU
sns_user_secret_access_key = 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
#configure
aws configure --profile sns_user
AWS Access Key ID [None]: AKIA4YM7GTDHMY5FW6QU
AWS Secret Access Key [None]: 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
Default region name [None]: us-east-1
Default output format [None]: json
#whoami
aws sts get-caller-identity --profile sns_user
{
"UserId": "AIDA4YM7GTDHOBI5MDF3P",
"Account": "877044078798",
"Arn": "arn:aws:iam::877044078798:user/cg-sns-user-cgiduohs87zk12"
}Enumeration
1. List managed policies attached to the user
2. List inline policies
3. Retrieve the inline policy document
Enumerating SNS
1. List all SNS topics
2. List subscriptions for the topic
3. View configuration details for the topic



Last updated