4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:profile tag:aws — newest first
  • Using an IAM role in the AWS CLI - AWS Command Line Interface

    To run a CLI command from within an Amazon Elastic Compute Cloud (Amazon EC2) instance or an Amazon Elastic Container Service (Amazon ECS) container, you can use an IAM role attached to the instance profile or the container. If you specify no profile or set no environment variables, that role is used directly. This enables you to avoid storing long-lived access keys on your instances. You can also use those instance or container roles only to get credentials for another role. To do this, you use credential_source (instead of source_profile) to specify how to find the credentials. The credential_source attribute supports the following values:

    Environment – Retrieves the source credentials from environment variables.
    
    Ec2InstanceMetadata – Uses the IAM role attached to the Amazon EC2 instance profile.
    
    EcsContainer – Uses the IAM role attached to the Amazon ECS container.
    
    March 22, 2021 - permalink - https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html
    aws credentials profile
  • Configuring the AWS Command Line Interface - AWS Command Line Interface

    Pratique quand on doit jongler entre différents comptes AWS

    et l'équivalent pour s3cmd : http://mikesisk.tumblr.com/post/8703449578/s3cmd-and-multiple-accounts

    April 21, 2017 - permalink - http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles
    aws profile