Skip to content

simply uses sts to get temporary credentials and writes those credentials to a file to be loaded by a future stage

Notifications You must be signed in to change notification settings

nodefortytwo/drone-aws-role-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simply uses sts to get temporary credentials and writes those credentials to a file to be loaded by a future stage

Resources

Stars

Watchers

Forks

Packages

No packages published