• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cloudformation-plugin
    • None

      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.

          [JENKINS-26573] REQ: EC2 IAM role support to inherit credentials

          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 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

          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.

          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 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 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
            gdhbashton Gavin Hamill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: