Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Add Go Credential Provider Example - #9

Open
siennathesane wants to merge 1 commit into
localstack:mainfrom
siennathesane:feat/cred-provider
Open

Add Go Credential Provider Example#9
siennathesane wants to merge 1 commit into
localstack:mainfrom
siennathesane:feat/cred-provider

Conversation

@siennathesane

Copy link
Copy Markdown

This pull request introduces a new example for using AWS SDK with LocalStack in Go. The example demonstrates how to configure AWS credentials and interact with AWS SQS service using LocalStack.

Changes:

  1. Makefile:

    • Added a run target to execute the Go example.
  2. go.mod:

    • Initialized a new Go module.
    • Added dependencies for AWS SDK v1 and v2.
  3. go.sum:

    • Added checksums for the dependencies.
  4. main.go:

    • Implemented functions to configure AWS credentials for LocalStack.
    • Demonstrated creating, sending, receiving, and deleting messages in an SQS queue.

How to Test:

  1. Navigate to the go/credentialprovider directory.
  2. Run make run to execute the example.
  3. Verify the output for successful creation, message operations, and deletion of the SQS queue.

Signed-off-by: Sienna Satterwhite <sienna.satterwhite@jamf.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant