Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26573

REQ: EC2 IAM role support to inherit credentials

    XMLWordPrintable

Details

    Description

      AWS allows EC2 instances to 'inherit' an IAM policy, so that any application on that instance can have account access at the level specified in that policy.

      For people like me who run Jenkins on an EC2 instance, this means that instead of having to manually specify a pair of Access + Secret keys, Jenkins could magically get account access.

      http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-roles.html

      i.e. if there is no access / secret key provided, then try falling back to the InstanceProfileCredentialsProvider()

      Cheers,
      Gavin.

      Attachments

        Activity

          edovale edovale added a comment -

          Gavin,
          Your request makes a lot of sense. I currently have very little time available for this though. I would however, make a release if you or somebody else sends me a pull request for this feature.
          Cheers.

          Erick

          edovale edovale added a comment - Gavin, Your request makes a lot of sense. I currently have very little time available for this though. I would however, make a release if you or somebody else sends me a pull request for this feature. Cheers. Erick
          gdhbashton Gavin Hamill added a comment -

          Hehe I had a feeling that 'PRs welcome' might be the response - if I ever learn to code in Java I'll let you know Cheers, Gavin.

          gdhbashton Gavin Hamill added a comment - Hehe I had a feeling that 'PRs welcome' might be the response - if I ever learn to code in Java I'll let you know Cheers, Gavin.
          edovale edovale added a comment -

          Sorry Gavin.
          Thanks for reporting this though; I do see the imprtance of this feature. If have some free cycles I will take on it but at this point I can't really commit on a date.

          edovale edovale added a comment - Sorry Gavin. Thanks for reporting this though; I do see the imprtance of this feature. If have some free cycles I will take on it but at this point I can't really commit on a date.

          People

            edovale edovale
            gdhbashton Gavin Hamill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: