# AWS STS

Published articles for AWS STS.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Scope down permissions of existing sessions using AWS STS GetScopedCredentials

DevFeed: [Scope down permissions of existing sessions using AWS STS GetScopedCredentials](<https://devfeed.tech/articles/scope-down-permissions-of-existing-sessions-using-aws-sts-getscopedcredentials-147006.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/security/scope-down-permissions-of-existing-sessions-using-aws-sts-getscopedcredentials/>)

Author: Vaishnavi Merugu

Published: 2026-11-20T22:57:22Z

Content type: tutorial

Language: en

Sources: [AWS Security Blog](<https://devfeed.tech/sources/aws-security-blog.md>)

Topics: [AWS Security Token Service](<https://devfeed.tech/topics/aws-security-token-service.md>), [least privilege](<https://devfeed.tech/topics/least-privilege.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [AWS CloudTrail](<https://devfeed.tech/topics/aws-cloudtrail.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [api](<https://devfeed.tech/tags/api.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-security-token-service](<https://devfeed.tech/tags/aws-security-token-service.md>), [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [build](<https://devfeed.tech/tags/build.md>), [build-ai-agents](<https://devfeed.tech/tags/build-ai-agents.md>), [can](<https://devfeed.tech/tags/can.md>), [existing](<https://devfeed.tech/tags/existing.md>), [full](<https://devfeed.tech/tags/full.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [scope](<https://devfeed.tech/tags/scope.md>), [security](<https://devfeed.tech/tags/security.md>), [security-identity-compliance](<https://devfeed.tech/tags/security-identity-compliance.md>), [security-token-service](<https://devfeed.tech/tags/security-token-service.md>), [service](<https://devfeed.tech/tags/service.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [using](<https://devfeed.tech/tags/using.md>)

### AI overview

AWS STS GetScopedCredentials creates temporary credentials that retain the caller's IAM identity while narrowing effective permissions, shortening session duration, or both. Permissions are the intersection of the existing session's effective permissions and one inline scope-down policy (up to 2,048 characters at launch); duration cannot exceed the caller's remaining duration. Calls can be recursive, with at most three added policies, each intersecting with earlier ones. The article describes using it to limit AI agents and to restrict a multi-tenant worker to an authenticated tenant's S3 prefix. Policies can be written directly or drafted with IAM Policy Autopilot, whose wildcard output needs review and tightening. Callers need permission for sts:GetScopedCredentials, and recursive policies must also allow that action. Calls are logged in CloudTrail. The API is available in AWS commercial, GovCloud (US), and China Regions, with a launch quota of 200 requests per second per account per Region; some services are unsupported.

### Source excerpt

When you build AI agents, you often want each agent or sub-agent to have only the permissions its tasks require, rather than the full permissions of the session that started it. GetScopedCredentials is a new AWS Security Token Service (AWS STS) API that you can use to scope down the permissions of existing temporary security [...]

## Configuring Terraform IaC pipelines to provision cloud resources in Cloud and Kubernetes...

DevFeed: [Configuring Terraform IaC pipelines to provision cloud resources in Cloud and Kubernetes...](<https://devfeed.tech/articles/configuring-terraform-iac-pipelines-to-provision-cloud-resources-in-cloud-and-kubernetes-90782.md>)

Original publisher: [Read original article](<https://blog.devops.dev/configuring-terraform-iac-pipelines-to-provision-cloud-resources-in-cloud-and-kubernetes-3ff863fe983e?source=rss----33f8b2d9a328---4>)

Author: Oleh Adam Dubnytskyy

Published: 2026-10-20T13:25:47Z

Content type: tutorial

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [Terraform](<https://devfeed.tech/topics/terraform.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [AWS Security Token Service](<https://devfeed.tech/topics/aws-security-token-service.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [CI/CD secrets management](<https://devfeed.tech/topics/ci-cd-secrets-management.md>), [rbac](<https://devfeed.tech/topics/rbac.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-eks](<https://devfeed.tech/tags/amazon-eks.md>), [amazon-web-services](<https://devfeed.tech/tags/amazon-web-services.md>), [amazon-web-services-aws](<https://devfeed.tech/tags/amazon-web-services-aws.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [eks](<https://devfeed.tech/tags/eks.md>), [environments](<https://devfeed.tech/tags/environments.md>), [github](<https://devfeed.tech/tags/github.md>), [iac](<https://devfeed.tech/tags/iac.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [resources](<https://devfeed.tech/tags/resources.md>), [terraform](<https://devfeed.tech/tags/terraform.md>)

### AI overview

The example uses GitHub Actions OIDC federation to obtain temporary AWS credentials for Terraform without storing long-lived AWS keys in GitHub. It provisions an IAM OIDC provider and a role whose trust policy restricts the audience and accepted repository refs, then grants that role AWS permissions for services including EKS, S3, DynamoDB, KMS, IAM, and Secrets Manager. For Kubernetes access, it creates an EKS access entry and shows associating cluster administrator access, with AmazonEKSAdminPolicy or namespace-scoped access as narrower alternatives. The workflow runs Terraform formatting, validation, linting, and planning on pull requests, then applies after merge to main. The author calls this a starting point and recommends separate plan/apply roles, an approval gate, isolated self-hosted runners, and least-privilege Kubernetes access; a GitOps setup with ArgoCD or FluxCD can remove the pipeline's need for cluster access.

### Source excerpt

Configuring Terraform IaC pipelines to provision cloud resources in Cloud and Kubernetes environments How do you build a GitHub Actions workflow that provisions cloud resources securely, without storing long-lived credentials? In this post I'll walk through my setup: GitHub Actions for CI, AWS (including Amazon EKS) as the cloud platform, and Terraform as the IaC tool. Security Secure interaction between CI and Cloud platform practice can be adapted with Open ID Connect in Amazon Web Services. OpenID Connect (OIDC) allows your GitHub Actions workflows to access resources in Amazon Web Services (AWS), without needing to store the AWS credentials as long-lived GitHub secrets. OIDC federation lets external workloads exchange a token from a trusted identity provider for temporary AWS credentials. Here, GitHub signs a short-lived JWT for each job, AWS STS validates it against the IAM OIDC provider and the role's trust policy, and returns credentials that expire automatically, so no AWS keys are stored in GitHub. AWS docs Follow the principle of least privilege for CI/CD. Think twice before granting broad permissions to IaC pipelines that assume roles via OIDC. Step 1. Provision GitHub OIDC provider to IAM # OIDC resource "aws_iam_openid_connect_provider" "github_actions" { url = "https://token.actions.githubusercontent.com" client_id_list = ["sts.amazonaws.com"] } Step 2. Provision IAM role -- github-actions-iac-pipeline to provision cloud resources in cloud platform. Trusted Entity The trust policy defines which principals can assume the role, and under which conditions. A trust policy is a specific type of resource-based policy for IAM roles. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Federated": "arn:aws:iam::aws-account-id:oidc-provider/token.actions.githubusercontent.com" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "token.actions.githubusercontent.com:aud": "sts.amazonaws.com" }, "StringLike": { "

## Modernizing External Volume Access with Workload Identity Federation

DevFeed: [Modernizing External Volume Access with Workload Identity Federation](<https://devfeed.tech/articles/modernizing-external-volume-access-with-workload-identity-federation-84258.md>)

Original publisher: [Read original article](<https://medium.com/snowflake/modernizing-external-volume-access-with-workload-identity-federation-e5adadde26d0?source=rss----34b6daafc07---4>)

Author: Andries Engelbrecht

Published: 2026-10-09T16:21:12Z

Content type: tutorial

Language: en

Sources: [Snowflake Builders](<https://devfeed.tech/sources/snowflake-builders.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>), [AWS Security Token Service](<https://devfeed.tech/topics/aws-security-token-service.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [identity and access management](<https://devfeed.tech/topics/identity-and-access-management.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [also](<https://devfeed.tech/tags/also.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architect](<https://devfeed.tech/tags/architect.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [auditability](<https://devfeed.tech/tags/auditability.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [better](<https://devfeed.tech/tags/better.md>), [building](<https://devfeed.tech/tags/building.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [cases](<https://devfeed.tech/tags/cases.md>), [changes](<https://devfeed.tech/tags/changes.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [data-lake](<https://devfeed.tech/tags/data-lake.md>), [data-lakehouse](<https://devfeed.tech/tags/data-lakehouse.md>), [external](<https://devfeed.tech/tags/external.md>), [identity](<https://devfeed.tech/tags/identity.md>), [modernizing](<https://devfeed.tech/tags/modernizing.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [volume](<https://devfeed.tech/tags/volume.md>), [with](<https://devfeed.tech/tags/with.md>), [workload-identity](<https://devfeed.tech/tags/workload-identity.md>)

### AI overview

Snowflake's Workload Identity Federation for External Volumes, in Private Preview, replaces a shared Snowflake IAM principal and external-ID trust with a short-lived OIDC token and a unique identity for each volume. AWS STS validates the token and returns temporary credentials for the authorized role. Per-volume `sub` conditions can isolate access by storage location and make it easier to review, revoke, and audit. The AWS setup registers Snowflake's issuer, creates a web identity role and S3 policy, creates the volume with `AUTH_TYPE = 'WORKLOAD_IDENTITY_FEDERATION'`, then adds the volume's exact, case-sensitive subject to the role trust policy before verification. The initial audience-only policy permits any account volume to assume the role, so the subject condition is needed for per-volume isolation. Use requires Snowflake account enablement; the authentication type is fixed at volume creation, and role rotation requires adding a storage location and removing the old one.

### Source excerpt

As organizations embrace open and interoperable data architectures, they are also rethinking how data platforms access cloud storage. It is no longer enough for that access model to simply work -- it also needs to meet a higher bar for security, control, and auditability. That is the idea behind Workload Identity Federation (WIF) for External Volumes, now in Private Preview. WIF gives Snowflake customers a more modern way to connect to cloud storage using short-lived, federated identity instead of stored credentials. Key Contributors: Bonny Mahajan, Product Manager, Snowflake James Sun, Senior Partner Solution Engineer, Snowflake Bosco Albuquerque, Senior Partner Solutions Architect, AWS Why This Matters Many customers are building architectures designed for openness and interoperability. As those environments scale, more critical data lives in customer-managed cloud storage, and the path used to access that data becomes part of the security posture. Customers want stronger boundaries around who or what can access each storage location. They want tighter control, clearer isolation, and an access model that better aligns with evolving enterprise security expectations. What Changes with WIF Traditionally, storage access has relied on a shared trust model. Under this approach, a shared Snowflake-managed IAM principal executes sts:AssumeRole against your designated role, relying on an external ID within the trust policy to mitigate confused-deputy risks. While this model uses temporary AWS STS credentials, it relies on a shared Snowflake principal. That model is proven, but it can make it harder to create clean separation across storage locations and use cases. WIF replaces that approach with short-lived, federated identity. Instead of routing access through a shared principal, Snowflake uses a unique identity for each external volume. When Snowflake needs to access your cloud storage, it signs a short-lived identity token, your cloud provider validates it, and Snowflake

## AWS STS simplifies session token size limits and adds session token size monitoring

DevFeed: [AWS STS simplifies session token size limits and adds session token size monitoring](<https://devfeed.tech/articles/aws-sts-simplifies-session-token-size-limits-and-adds-session-token-size-monitoring-26907.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/security/aws-sts-simplifies-session-token-size-limits-and-adds-session-token-size-monitoring/>)

Author: Rishi Tripathy

Published: 2026-09-15T22:21:59Z

Content type: release

Language: en

Sources: [AWS Security Blog](<https://devfeed.tech/sources/aws-security-blog.md>)

Topics: [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Security](<https://devfeed.tech/topics/security.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>), [AWS CloudTrail](<https://devfeed.tech/topics/aws-cloudtrail.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [apis](<https://devfeed.tech/tags/apis.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cloudtrail](<https://devfeed.tech/tags/aws-cloudtrail.md>), [aws-security-token-service](<https://devfeed.tech/tags/aws-security-token-service.md>), [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [security](<https://devfeed.tech/tags/security.md>), [security-blog](<https://devfeed.tech/tags/security-blog.md>), [security-identity-compliance](<https://devfeed.tech/tags/security-identity-compliance.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

AWS Security Token Service has replaced its separate packed policy and overall session token limits with a single 4,096-byte limit. It now reports session token size and limit utilization in API responses, Amazon CloudWatch metrics, and AWS CloudTrail events.

### Source excerpt

AWS Security Token Service (AWS STS) has simplified session token size limits, giving you more room for your session policies and session tags. STS has replaced the packed policy size and the overall session token size limits with a single token size limit of 4,096 bytes. STS now reports session token size in API responses, [...]

## Exploring AWS STS AssumeRoot

DevFeed: [Exploring AWS STS AssumeRoot](<https://devfeed.tech/articles/exploring-aws-sts-assumeroot-48892.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/blog/exploring-aws-sts-assumeroot>)

Author: Terrance DeJesus

Published: 2024-12-10T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [AWS Security Token Service](<https://devfeed.tech/topics/aws-security-token-service.md>), [Security Information and Event Management (SIEM)](<https://devfeed.tech/topics/siem-security.md>), [AWS CloudTrail](<https://devfeed.tech/topics/aws-cloudtrail.md>), [Detection engineering](<https://devfeed.tech/topics/detection-engineering.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Security](<https://devfeed.tech/topics/security.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [cloudtrail](<https://devfeed.tech/tags/cloudtrail.md>), [detection-engineering](<https://devfeed.tech/tags/detection-engineering.md>), [least-privilege](<https://devfeed.tech/tags/least-privilege.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [siem](<https://devfeed.tech/tags/siem.md>), [terraform](<https://devfeed.tech/tags/terraform.md>)

### AI overview

This article examines AWS STS AssumeRoot, explaining how temporary credentials work, the risks of over-permissioned roles, and how attackers could abuse the operation for privilege escalation or account compromise. It also discusses practical scenarios and detection opportunities using Elastic SIEM and AWS CloudTrail data.

### Source excerpt

Explore AWS STS AssumeRoot, its risks, detection strategies, and practical scenarios to secure against privilege escalation and account compromise using Elastic's SIEM and CloudTrail data.

## How AWS IAM role, STS and Identity Pool work together

DevFeed: [How AWS IAM role, STS and Identity Pool work together](<https://devfeed.tech/articles/how-aws-iam-role-sts-and-identity-pool-work-together-29587.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/aws-iam-role-sts-and-identity-pool/>)

Author: info@goteleport.com (Shuo Yang)

Published: 2021-06-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [AWS Security Token Service](<https://devfeed.tech/topics/aws-security-token-service.md>), [Amazon Cognito](<https://devfeed.tech/topics/amazon-cognito.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [amazon-cognito](<https://devfeed.tech/tags/amazon-cognito.md>), [application-development](<https://devfeed.tech/tags/application-development.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [aws-sts](<https://devfeed.tech/tags/aws-sts.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [programming](<https://devfeed.tech/tags/programming.md>), [security](<https://devfeed.tech/tags/security.md>), [services](<https://devfeed.tech/tags/services.md>)

### AI overview

This tutorial explains how AWS IAM roles, AWS STS, and Amazon Cognito Identity Pools work together to let applications obtain temporary AWS credentials. It describes the flow from an OIDC token issued by a Cognito User Pool to temporary credentials obtained through STS and subsequent access to AWS resources.

### Source excerpt

Learn how to access AWS resources using Cognito Identity Pool in combination with AWS STS to provide temporary credentials without long-lived keys.