Sign inSign up

nodefortytwo/drone-aws-role-auth

By nodefortytwo

•Updated over 6 years ago

simply uses sts to get temporary credentials and writes those credentials to a file

Image
0

500K+

nodefortytwo/drone-aws-role-auth repository overview

⁠drone-aws-role-auth

⁠Drone configuration examples

pipeline:
  deploy:
    image: nodefortytwo/drone-aws-role-auth
    role: arn:aws:iam::***:role/***
pipeline:
  deploy:
    image:    nodefortytwo/drone-aws-role-auth
    role:     arn:aws:iam::***:role/***
    duration: 7200
    file:     .creds

Produces a file which looks like this:

export AWS_ACCESS_KEY_ID=xxxxxx
export AWS_SECRET_ACCESS_KEY=yyyyy
export AWS_SESSION_TOKEN=zzzzzz

Tag summary

Content type

Image

Digest

Size

30.2 MB

Last updated

over 6 years ago

docker pull nodefortytwo/drone-aws-role-auth