Overcast is alpha — behaviour and APIs may change between releases. Pin your version and read the changelog before upgrading.

overcast

STS — Security Token Service

Quick start, what each credential call returns, how AssumeRole feeds opt-in IAM enforcement, and why nothing is ever verified.

Every credential call succeeds and returns freshly generated fake credentials. Nothing is verified — not the role, not the identity, not the token.

Status: ⚠️ Partial

Quick start

export AWS_ENDPOINT_URL=http://localhost:4566

aws sts get-caller-identity
aws sts assume-role \
  --role-arn arn:aws:iam::000000000000:role/app \
  --role-session-name local

Any credentials work; with none configured, run eval "$(overcast env)" first — see Using AWS SDKs and CLI.

What works

AreaBehaviour
GetCallerIdentityA fixed account, user ID and root ARN
GetSessionTokenTemporary credentials (default 12 hours)
AssumeRoleTemporary credentials plus an AssumedRoleUser (default 1 hour)
AssumeRoleWithWebIdentityTemporary credentials; the token is not parsed
GetFederationTokenTemporary credentials plus a FederatedUser

Access keys are ASIA-prefixed, with a random secret and session token as on AWS. DurationSeconds is honoured wherever it is accepted.

Note

AssumeRole records the minted access key against the role ARN, which is how opt-in IAM enforcement resolves a caller to a role’s policies. With enforcement off, nothing reads it.

Differences from AWS

AreaOn AWSOvercast
AssumeRoleThe role must exist and its trust policy must allow youAny RoleArn is accepted, existing or not
GetCallerIdentityReports the actual signing principalAlways the account root ARN, whoever called
Web identity tokensThe OIDC token is validated against the providerNot parsed; a fixed subject is returned
Credential expiryExpired credentials are refusedNever checked — no credential is ever verified
SAML, AssumeRoot, DecodeAuthorizationMessage, GetAccessKeyInfoFull APINot implemented — NotImplemented

Operations

5 of 11 listed operations are implemented. Per-operation status, notes and AWS API links: STS operations.