Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Identity Auth / Amazonaws / AWS Security Token Service
AWS Security Token Service logo

AWS Security Token Service

Browse all Amazonaws APIs
Agent-ready OpenAPI document · curated by JenticIdentity AuthAuthenticationapiKey16 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Issue temporary AWS credentials so an agent can assume a role, federate an external identity, or call AWS services with scoped, short-lived permissions.

Use for: I need to assume an IAM role and get temporary AWS credentials, Get the caller identity for the current AWS credentials, Federate a SAML user into AWS and return session credentials, Exchange a Google or Cognito OIDC token for AWS access keys

Not supported: Does not handle long-term IAM user creation, permission policy authoring, or directory management - use for issuing temporary, limited-privilege AWS credentials only.

Jentic publishes the only available OpenAPI specification for AWS Security Token Service, keeping it validated and agent-ready. AWS Security Token Service (STS) issues temporary, limited-privilege credentials for IAM users and federated identities. It supports role assumption, SAML federation, web identity federation (OIDC), and short-lived session tokens used to call other AWS APIs. STS exposes 8 core actions covering AssumeRole, AssumeRoleWithSAML, AssumeRoleWithWebIdentity, GetSessionToken, GetFederationToken, GetCallerIdentity, GetAccessKeyInfo, and DecodeAuthorizationMessage, with both GET and POST variants for each.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the AWS Security Token Service to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the AWS Security Token Service, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Famazonaws.com%2Fsts" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Famazonaws.com%2Fsts" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with AWS Security Token Service API.

Assume an IAM role across accounts and receive temporary credentials via AssumeRole

Federate SAML 2.0 identity providers into AWS with AssumeRoleWithSAML

Exchange OIDC tokens (Cognito, Google, GitHub Actions) for AWS credentials via AssumeRoleWithWebIdentity

Issue short-lived session tokens for MFA-protected workflows with GetSessionToken

Resolve the AWS account, ARN, and user ID behind the current credentials with GetCallerIdentity

Decode encoded authorization failure messages returned by AWS APIs

Look up the AWS account that owns a specific access key ID

Use Cases

Patterns agents use AWS Security Token Service API for, with concrete tasks.

★ Cross-Account Role Assumption

Grant an application running in account A temporary, scoped permissions in account B. AssumeRole returns a set of credentials valid from 15 minutes up to 12 hours, optionally restricted further by a session policy. Cross-account roles are the recommended pattern for CI pipelines, multi-tenant SaaS, and partner integrations where long-term access keys are unsafe to share.

Call AssumeRole with RoleArn arn:aws:iam::123456789012:role/ReadOnlyAccess, RoleSessionName agent-session, and DurationSeconds 3600, then return the AccessKeyId, SecretAccessKey, and SessionToken.

Web Identity Federation for OIDC Workloads

Let a workload that already holds an OIDC token (GitHub Actions job, Kubernetes pod with IRSA, mobile app authenticated via Cognito) call AWS without provisioning long-term keys. AssumeRoleWithWebIdentity validates the JWT, checks the trust policy on the target role, and returns short-lived AWS credentials, eliminating static secrets from CI runners and edge devices.

Call AssumeRoleWithWebIdentity with the GitHub Actions OIDC JWT in WebIdentityToken, RoleArn arn:aws:iam::123456789012:role/GitHubDeployer, and RoleSessionName gh-actions-build-42.

Identity Verification for Audit Logs

Confirm which principal is making AWS calls before logging or branching on identity. GetCallerIdentity returns the Account, Arn, and UserId of the credentials in use without requiring any IAM permissions. It is the standard probe for sanity-checking which role a Lambda, CodeBuild project, or assumed-role session is actually running as.

Call GetCallerIdentity and return the Account, Arn, and UserId of the active session.

Agent-Driven Temporary Credential Provisioning via Jentic

When an AI agent needs to call other AWS services on behalf of a user, it should not hold long-lived keys. Through Jentic, the agent submits an intent like 'assume the read-only role and list S3 buckets'; Jentic executes AssumeRole with a scoped session policy, holds the resulting credentials in its vault, and signs subsequent API calls on the agent's behalf. The agent never sees the SecretAccessKey.

Through Jentic, search for 'assume an aws iam role', load the AssumeRole operation schema, and execute it with RoleArn and a session policy that restricts the agent to s3:GetObject on a single bucket.

Key Endpoints

16 endpoints — jentic publishes the only available openapi specification for aws security token service, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

POST

/#Action=AssumeRole

Assume an IAM role and receive temporary credentials

POST

/#Action=AssumeRoleWithSAML

Federate a SAML 2.0 identity into AWS

POST

/#Action=AssumeRoleWithWebIdentity

Exchange an OIDC token for AWS credentials

POST

/#Action=GetCallerIdentity

Return the principal of the current credentials

POST

/#Action=GetSessionToken

Get an MFA-protected session token

POST

/#Action=DecodeAuthorizationMessage

Decode an encoded AWS authorization failure

POST

/#Action=AssumeRole

Assume an IAM role and receive temporary credentials

POST

/#Action=AssumeRoleWithSAML

Federate a SAML 2.0 identity into AWS

POST

/#Action=AssumeRoleWithWebIdentity

Exchange an OIDC token for AWS credentials

POST

/#Action=GetCallerIdentity

Return the principal of the current credentials

POST

/#Action=GetSessionToken

Get an MFA-protected session token

POST

/#Action=DecodeAuthorizationMessage

Decode an encoded AWS authorization failure

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring AWS Security Token Service by hand means computing SigV4 signatures against the global sts.amazonaws.com endpoint and encoding each Action into the request yourself. Through Jentic you install once, import Security Token Service from the API Directory, store the access keys once, and your agent calls it.

Permission scoping

Permission scoping

STS selects behaviour by an Action parameter rather than resource ids in the path, so scope the agent to the operations it needs, such as GetCallerIdentity and GetSessionToken. You choose the operations it may call, so credential-minting actions like AssumeRole are not included unless you add them.

Credential management

Credential isolation

Your AWS access keys are stored once, encrypted, by your own Jentic One instance and used to sign each STS request with SigV4 at execution time. They never enter the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'assume an IAM role and get temporary credentials' or 'get the caller identity', and Jentic returns the matching STS operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Amazon Cognito Identity

→

Cognito Identity issues AWS credentials to mobile and web app users via identity pools, while STS targets server-side role assumption.

Choose Cognito Identity when end-users authenticate from a mobile or web client; choose STS when a backend service or agent needs to assume an IAM role.

Complementary

AWS Single Sign-On

→

AWS SSO manages workforce identity and SAML federation into AWS accounts; STS is the underlying mechanism that issues the resulting temporary credentials.

Use AWS SSO to manage which users can access which accounts; use STS to fetch the actual session credentials once federated.

Complementary

AWS CloudTrail

→

CloudTrail records every STS call (AssumeRole, GetCallerIdentity, etc.) so you can audit who assumed what role and when.

Pair STS with CloudTrail when you need a forensic trail of role-assumption activity.

FAQs

Specific to using AWS Security Token Service API through Jentic.

Why is there no official OpenAPI spec for AWS Security Token Service?

AWS does not publish an OpenAPI specification for AWS Security Token Service; it ships Smithy models and language-specific SDKs instead. Jentic generates and maintains this OpenAPI spec so that AI agents and developers can call AWS Security Token Service via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the AWS Security Token Service use?

STS uses AWS Signature Version 4 (SigV4): an HMAC-SHA256 signature over the request, sent in the Authorization header. Through Jentic, your AWS access key ID and secret access key sit encrypted in the vault and Jentic computes the SigV4 signature for each call, so the raw secret never enters the agent's context.

Can I use STS to grant cross-account access to an external partner?

Yes. Create an IAM role in your account whose trust policy lists the partner's AWS account ID (and optionally an ExternalId), then have the partner call AssumeRole with that RoleArn. They receive temporary credentials scoped to that role's permissions, with no long-term keys exchanged.

What are the rate limits for the AWS Security Token Service?

STS has a default account-level rate of around 600 transactions per second per region for AssumeRole and similar actions, with higher limits available on request. The regional STS endpoint (sts.us-east-1.amazonaws.com style) gives lower latency than the global sts.amazonaws.com endpoint.

How do I assume a role through Jentic?

Search Jentic with the intent 'assume an aws iam role', load the schema for AssumeRole, and execute with RoleArn, RoleSessionName, and an optional DurationSeconds. Jentic returns the temporary AccessKeyId, SecretAccessKey, and SessionToken in a structured response.

Is AWS STS free to use?

Yes. STS itself has no charge; you pay only for the underlying AWS resources the temporary credentials are used to access.

What is the difference between AssumeRole and GetSessionToken?

AssumeRole switches into a different IAM role (often in another account) and returns credentials with that role's permissions. GetSessionToken keeps the same identity as the calling user but returns short-lived credentials, typically used to satisfy an MFA requirement before performing a privileged action.

Can I limit what my agent is allowed to do with the AWS Security Token Service API?

Yes. Because Jentic One is self-hosted, you run your own instance and your own rules decide which STS operations and credentials the agent may use. STS selects behaviour by an Action parameter rather than resource IDs in the path, so you can scope the agent to only the operations it needs, such as GetCallerIdentity and GetSessionToken. Credential-minting actions like AssumeRole are not available to the agent unless you explicitly add them, and your AWS access keys stay encrypted on your instance and are used only to sign each request.

GET STARTED

Start building with AWS Security Token Service API

Explore with Jentic One
View OpenAPI Document