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

specify the role ARN and role session name at runtime

XMLWordPrintable

      We would like to be able to specify the role ARN and role session name at runtime in the call to withCredentials. That way we can easily leverage multiple roles that are bound the same service user account without having to define those credentials multiple times in Jenkins. For example:

      withCredentials([[$class: 'AmazonWebServicesCredentialsBinding', credentialsId: awsCredentialsId, roleArn: 'arn:aws:iam::XXXXX:role/my-role', roleSessionName: 'my-session-name']])

      { ... }

            Unassigned Unassigned
            mawuku Makafui
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: