Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
automatizace:aws [2024/11/21 08:19]
tomas [AWS CLI]
automatizace:aws [2025/04/03 13:22] (current)
tomas
Line 19: Line 19:
 ''aws sts assume-role-with-web-identity --role-arn ROLEARN --role-session-name SESSION1 --web-identity-token TOKEN'' ... autentikace pomoci web tokenu\\ ''aws sts assume-role-with-web-identity --role-arn ROLEARN --role-session-name SESSION1 --web-identity-token TOKEN'' ... autentikace pomoci web tokenu\\
 ''aws sts assume-role --role-arn ROLEARN --role-session-name SESSION1'' ... spojení s novou rolí\\ ''aws sts assume-role --role-arn ROLEARN --role-session-name SESSION1'' ... spojení s novou rolí\\
-==== ECR Elastic Container Registry ==== 
  
 +
 +==== IAM ====
 +''aws iam list-roles'' ... seznam IAM rolí\\
 +aws iam list-policies ... seznam IAM policy\\
 +
 +
 +==== System Manager ====
 +aws ssm describe-parameters ... vylistuje parametry ze SSM\\
 +aws ssm get-parameters --names /muj/moje ... vypíše hodnotu parametru\\
 +
 +
 +==== ECR Elastic Container Registry ====
 +''%%aws ecr describe-repositories%%'' ... seznam ECR repozitářů pro AWS účet\\
 +''%%aws ecr get-authorization-token%%'' ... obdrží autorizační token v base64 tvaru (jméno AWS a heslo)\\
 ''%%aws ecr list-images --repository-name%%''  ... vylistování obsahu ECR repozitáře\\ ''%%aws ecr list-images --repository-name%%''  ... vylistování obsahu ECR repozitáře\\
-%%aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com%% ... nastaví token ECR pro Docker\\+''%%aws ecr get-login-password --region region | docker login --username AWS --password-stdin%%''\\ 
 +''%%aws_account_id.dkr.ecr.region.amazonaws.com%%'' ... nastaví token ECR pro Docker\\ 
 + 
 +==== EKS Elastic Kubernetes Service ==== 
 +''%%aws eks update-kubeconfig --region eu-central-1 --name czdxl-non-prod-infra-applicationeks --role-arn "ARN"%%''\\
  
 ==== VPC - Virtual Private Cloud - virtuální sítě ==== ==== VPC - Virtual Private Cloud - virtuální sítě ====