awsident

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package awsident defines the fixed local-AWS identity that every doze-aws service assumes: one region, one account, one set of throwaway credentials.

The values match what LocalStack uses, so tools and copy-pasted snippets that assume them keep working. Signatures are parsed but never verified (this is a local emulator — the identity is fixed, not authenticated), so the credential values only need to exist for SDKs that refuse to sign without them.

Index

Constants

View Source
const (
	Region          = "us-east-1"
	AccountID       = "000000000000"
	AccessKeyID     = "test"
	SecretAccessKey = "test"
)

Conventional local-AWS identity.

Variables

This section is empty.

Functions

func ARN

func ARN(service, resource string) string

ARN builds an AWS ARN for a resource of the given service, e.g. ARN("sqs", "my-queue") -> arn:aws:sqs:us-east-1:000000000000:my-queue.

func GlobalARN

func GlobalARN(service, resource string) string

GlobalARN builds an ARN for a service without a region component (IAM, STS), e.g. GlobalARN("iam", "user/test") -> arn:aws:iam::000000000000:user/test.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL