Snippets
Snippets / Tags
auth
3 auth code snippets across 2 languages. Copy-paste solutions from production code.
3
snippets
aws cli
2 snippetsaws ecr get-login-password: Docker Login to ECR
Use aws ecr get-login-password piped to docker login to authenticate with a private Amazon ECR registry. Cross-region included.
aws-cliecrdocker+2
BEGINNERJun 7, 2026
Debug Which AWS Identity You Are Using
Use aws sts get-caller-identity to see which AWS account, IAM user, and role your CLI is currently authenticated as.
aws-cliiamsts+2
BEGINNERApr 20, 2026