Add STS dependencies for web identity authentication

Package the AWS SDK v1 STS module and its required JMESPath dependency
in the aws-dynamodb-refdb plugin.

This makes the STS client available from the plugin classloader when
the DynamoDB client resolves credentials through a Web Identity Token.

Without these dependencies, the SDK cannot initialize
WebIdentityTokenCredentialsProvider and IRSA authentication fails.

Bug: Issue 529263606
Change-Id: Id4ddc8a46d1d55e353a9ec0fff16b85350a3198e
2 files changed
tree: 79cf09d99c86ec5bc2e1809a6255e1d259dbbba4
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

Gerrit DynamoDB ref-db

This plugin provides an implementation of the Gerrit global ref-db backed by AWS DynamoDB.

Requirements for using this plugin are:

  • Gerrit v3.3 or later
  • DynamoDB provisioned in AWS

Typical use-case

The global ref-db is a typical use-case of a Gerrit multi-master scenario in a multi-site setup. Refer to the Gerrit multi-site plugin for more details on the high level architecture.