Initial SigV4 Auth Support for Catalog Federation #1489
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Prior Catalog Federation work:
SigV4 Auth
Details about AWS SigV4 protocol can be found here: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
Description
This PR adds the SigV4 Auth Support so that Polaris can federate to Glue IRC / S3Tables / catalog server hosted behind the AWS API Gateway.
Details
User-provided properties:
roleArn
: the AWS IAM role urn, polaris will assume the role to get a tmp aws session credentialexternalId
: An optional external id used to establish a trust relationship with AWS in the trust policysigningRegion
: Region to be used by the SigV4 protocol for signing requestssigningName
: The service name to be used by the SigV4 protocol for signing requests, the default signing name is "execute-api" is if not providedglue
s3tables
execute-api
Service-provided properties:
userArn
: The aws user arn used to assume the aws role, this represents the polaris service itself, overall steps:rest.signing-region
rest.signing-name