Skip to content

added assume role to sqs adapter#262

Open
0BL1V10N-55 wants to merge 1 commit intorefractionPOINT:masterfrom
0BL1V10N-55:sqs-assume_roll
Open

added assume role to sqs adapter#262
0BL1V10N-55 wants to merge 1 commit intorefractionPOINT:masterfrom
0BL1V10N-55:sqs-assume_roll

Conversation

@0BL1V10N-55
Copy link
Copy Markdown

Description of the change

The assume role functionality has been added to the sqs/client.go file. The changes include:

New imports: stscreds and sts packages for STS assume role New config fields (lines 42-43):
role_arn - ARN of the role to assume
external_id - Optional external ID for cross-account access assumeRole method (lines 126-146): Creates auto-refreshing credentials using STS NewSQSAdapter update (lines 81-91): Assumes the role if RoleArn is configured

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • [X ] New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

The assume role functionality has been added to the sqs/client.go file. The changes include:

New imports: stscreds and sts packages for STS assume role
New config fields (lines 42-43):
role_arn - ARN of the role to assume
external_id - Optional external ID for cross-account access
assumeRole method (lines 126-146): Creates auto-refreshing credentials using STS
NewSQSAdapter update (lines 81-91): Assumes the role if RoleArn is configured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant