Centec ZX530S-24S2CQ Review The Cheap 10G and 100G Switch Option with a Centec Switch Chip

Post Syndicated from Vic A original https://www.servethehome.com/centec-zx530s-24s2cq-review/

We test the ZX530S-24S2CQ switch, a 24-port SFP+ 10G switch with two 100G SFP28 ports, but with a surprise Chinese Centec switch chip inside

The post Centec ZX530S-24S2CQ Review The Cheap 10G and 100G Switch Option with a Centec Switch Chip appeared first on ServeTheHome.

2026-11-22 Записи от OpenFest 2026

Post Syndicated from Vasil Kolev original https://vasil.ludost.net/blog/?p=3533

Видео записите от OpenFest 2026 могат да се намерят в нашия архив на https://va.ludost.net/files/of2026 или в youtube на https://www.youtube.com/@openfestbulgaria/playlists.

Писах доста неща за как мина събитието, само че трябва да видя каква част от тях е за публична употреба 🙂 Но се случи, никой не умря, и като цяло въпреки студът в залата и разни други забавни проблеми мисля, че мина добре.

Седмицата (16–21 ноември)

Post Syndicated from Йовко Ламбрев original https://www.toest.bg/sedmitsata-16-21-noemvri/

Седмицата (16–21 ноември)

Къса клечка изтеглиха Румен Радев и последователите му от „Прогресивна България“ с този прекалено щедър на доверие електорат. Вместо да спечелят малко по-умерено и да си скалъпят някоя удобна „сглобчица“ – в която партньорите им хем да са перманентно виновни за всичко, хем да служат за удобно извинение за по-трудните решения, докато държавицата ни криво-ляво крета по правия път, – сега им се налага да я управляват самостоятелно, че и да носят отговорност за това. Пък така да им личи, че не я умеят тази работа.

Толкова не я умеят, че едва не загубиха президентските избори, бюджет 2027 продължава да скърца по пътя си през парламента, а още преди серията инциденти в Черно море най-висшият военен в страната – началникът на отбраната адмирал Емил Ефтимов – подаде рапорт за напускане. Президентката Илияна Йотова е подписала указ за освобождаването му миналия петък, 13 ноември.

Само един уикенд по-късно, в понеделник, беше обявено, че се оттегля и нейният съветник по националната сигурност вицеадмирал Митко Петев. Официалното обяснение и за двамата е пенсиониране – и въпреки спекулациите, че Петев ще бъде предложен за мястото на адмирал Ефтимов, от последните новини научаваме, че той е отклонил предложението.

С лични мотиви, които „не се коментират“, напусна в началото на ноември и председателят на „Прогресивна България“ в Пловдив Ангел Стоев – неколкократен областен управител на Пловдив по време на служебните кабинети на Радев.

Рано е да се говори за разпад отвътре, но… тези събития са любопитни и заслужават внимание. Още повече когато кораби продължават да потъват около нашите брегове, а премиерът генерал дискутира с опозицията формата на Земята…

За ужас на „Прогресивна България“ от тази седмица в „Тоест“ се завръща и рубриката ни за политическа сатира „Т.Е. от Е.Т.“ със специален епизод, посветен именно на прогресистите.

„Т.Е. от Е.Т.“ се завърна, но Илияна Йотова – не. Спечели изборите и потъна в мълчание. Липсват коментари от страна на президентката за последните атаки по кораби в Черно море; не излезе с изявление, за да изкаже съболезнования за близките на жертвите от тежката катастрофа на магистрала „Тракия“; съветникът ѝ по сигурността напуска – тишина; мълчи за споровете около държавния бюджет; отсъства от срещи и регионални инициативи за отбрана… Но така е – когато избираме президент аватар, получаваме аватар на президент.

В седмичния си политически коментар „Йотова, Йотова, обади се!“ Емилия Милчева анализира поведението на държавния глава Илияна Йотова след спечелването на балотажа и заключава, че вместо да изпълни предизборните си обещания да бъде „коректив“ на институциите, тя е избрала ролята на мълчалив статист на премиера Румен Радев.

Йотова, Йотова, обади се!

Емилия Милчева пита къде е президентката Илияна Йотова, когато управляващите посягат на правата на личните асистенти, корабите в Черно море са под атака, а Комисията по досиетата я грози закриване. И защо държавният глава, който обещаваше да бъде коректив на властта, предпочита да мълчи?

И още нещо много важно. Според вас колко често е приемливо името на ръководителя на държавна информационна агенция да присъства в собствения ѝ новинарски поток? В анализа „Кирил Вълчев, или когато новинарят стане новината“ автор, чиято анонимност искаме да опазим чрез псевдонима Евгени Соколов, проследява над 4000 публикации на Българската телеграфна агенция, в които се споменава нейният генерален директор и наскоро новоизбран вицепрезидент Кирил Вълчев.

Според изчисленията в текста, базирани на архив от проверими заглавия и дати, от встъпването му в длъжност през януари 2021 г. до включването му в президентската надпревара през септември 2026 г. името на Вълчев се появява средно по 2,2 пъти на ден, без той да е автор на нито един материал. Става още по-лошо, когато същите публикации се разпределят в десет категории и се окаже, че с най-голям дял – 31,4% – са текстове за събития без видима връзка с управлението на Агенцията.

Кирил Вълчев, или когато новинарят стане новината

Можете ли да предположите колко пъти в публикации на БТА се споменава името на директора ѝ Кирил Вълчев, избран за вицепрезидент? Над 4000. Евгени Соколов преглежда тези дописки, разделя ги по категории, анализира ги и стига до смущаващи изводи.

Следва най-логичният въпрос: използвана ли е БТА като инструмент за личен пиар и защо полирането на обществения имидж на Кирил Вълчев трябва да се финансира от данъците на всички българи?

След разследването на Венелина Попова за командировките на директора на БТА в „За истината“ и публикацията на анализа на Евгени Соколов в „Тоест“, които бяха цитирани и от много други медии, Кирил Вълчев все пак подаде оставка като ръководител на БТА.

Важно! Изтичат последните дни на краудфъндинг кампанията за следващия ни документален филм „Какво е да си млад в България“. Още сме далеч от събирането на нужната сума и ще трябва да потърсим друго финансиране, за да осъществим този проект, но можете да помогнете да покрием поне втория му етап. Всяко евро има значение. Включете се! Припомнете си и предишния ни филм „Какво е да остарееш в България“.

Във втория текст от поредицата си „Анатомия на пола: Менопауза“, озаглавен „Холи Бери е в менопауза. И сега какво?“, Надежда Цекулова проследява как темата за преходната възраст, едва излязла от зоната на здрача, завива рязко по пътя към доходоносните индустрии, преди да се превърне в реална обществена политика. Давайки примери с лъкатушенията на холивудската актриса по темата – от застъпничеството ѝ за реформа в медицинското образование до собствената ѝ комерсиална платформа, – Надежда разказва и за българския бум от инициативи, в които границата между полезната информация и агресивния маркетинг става все по-трудно различима.

На фона на факта, че едва 6,8% от специализиращите лекари се чувстват подготвени по темата, превръщането ѝ в пазарна ниша лишава жените от достъпна и научно обоснована медицина. А те вместо от скъп „ребрандинг“ на възрастта си имат нужда от компетентни лекари и от възможност да остаряват без допълнителни тревоги.

Холи Бери е в менопауза. И сега какво?

Менопаузата излезе от зоната на здрача и преди да се превърне в кауза, свърна по улица „Доходоносна индустрия“, на която си продаваме обещания за вечна младост. Къде е границата между грижите за здравето и маркетинга и защо остаряването на жените е такъв проблем? От Надежда Цекулова.

Каква е истинската цена на оцеляването, когато то те осъди да помниш завинаги, а обществото те превърне в кух паметник на героизма? Гостуването на австралийския писател Ричард Фланаган у нас провокира Антония Апостолова да се върне към неговия епос „Тесният път към далечния север“, награден с „Букър“. Насред кал, болести и нечовешка жестокост, оцеляването в тази книга не е възвишена саможертва, а груб „просветен егоизъм“ и прагматична солидарност, които превръщат оцелелите в емоционално вцепенени носители на доживотна травма.

Антония Апостолова обаче прочита тази класика и през неудобните въпроси на днешния ден, например: можем ли да си позволим лукса на релативизма и фразата „въпрос на гледна точка е“ във време, когато политиците се страхуват недвусмислено да назоват агресора в съвременна война? Не пропускайте този проницателен анализ за един брутален и лиричен роман, който разказва за смъртта на духа след оцеляването на плътта.

На второ четене: „Тесният път към далечния север“

Във връзка с неотдавнашното гостуване на Ричард Фланаган в България Антония Апостолова ни връща към няколко негови ключови текста и най-вече към романа „Тесният път към далечния север“, в който се повдига темата за цената на човешкото оцеляване.

Какво е общото между данъчна измама за 7 млн. лева с подставено лице и кражба на телефон и 30 лева в столичния квартал „Надежда“? Във втората част на поредицата си „Професия: Съдебен заседател“ Стефан Иванов описва дебюта си в съдебната зала, където абстрактните параграфи на закона се сблъскват с човешката крехкост. Пред стерилния юридически катехизис двата случая имат еднаква процесуална тежест, но отвъд ритуала прозира сериозен системен дефицит: съдът отнема конфликта от хората и го превръща в суха административна процедура, вместо да търси пътища за реално поправяне на вредата чрез практиките на възстановителното правосъдие.

Стефан Иванов посочва и един тревожен структурен дефект – институцията на съдебните заседатели, замислена като глас на гражданското общество и здравия разум, у нас често се запълва от бивши кадри на МВР и на съдебната система, превръщайки се в ехо на самата власт. Прочетете този лишен от всякаква патетика разказ отвътре за съдебната машина, в който най-ясният урок за цената на свободата се научава не в залата, а в момента, в който излезеш на чист въздух през вратата на съда.

Професия: Съдебен заседател (втора част)

Дебютът на Стефан Иванов като съдебен заседател го сблъсква с две дела: за 7 милиона и за 30 лева. И в двата случая ритуалът е един и същ, пред процедурата всички са равни. Липсват обаче практиките на възстановителното правосъдие. А биха били безценни за момчетата, откраднали 30 лева…

В статията си „Студио „Комплект“: Дизайнът е човешка дисциплина“ Ина Иванова ни среща с Адриана Андреева и Бояна Гяурова, създателките на една от първите агенции за културен мениджмънт у нас и организаторки на фестивала „Мелба“. Интервюто изважда дизайна от неговия бутиков балон, за да го покаже като форма на вдъхновение, която има силата да решава социални и екологични проблеми, но и като невидимата логика зад всеки предмет около нас.

Този разговор ни напомня също, че вкус и среда се възпитават – чрез обща култура, четене и мислене, без които обществото лесно се превръща в жертва на манипулации.

Студио „Комплект“: Дизайнът е човешка дисциплина

Освен че е човешка дисциплина, дизайнът е навсякъде – „от домакинските уреди до оръжията“. Той е „утилитарната форма на вдъхновението“ и носи удоволствие и радост от живота. Повече за дизайна във и около нас четете в разговора на Ина Иванова с Адриана Андреева и Бояна Гяурова от Студио „Комплект“.

И преди да се разделим тази седмица… Нека отново напомним, че качествената журналистика няма как да е безплатна. Ако не осъзнаем, че трябва и е важно да я подкрепяме, някой друг ще плаща за това, което според него трябва да четем (и да мислим). Демокрацията ни зависи от наличието на свободни и критични към властта медии.

Ако материалите на „Тоест“ ви харесват и искате да продължим, подкрепяйте ни ежемесечно със сума според възможностите си.

Приятно четене!

JEDEC Previews DDR6 Memory Standard: 2.35x More Bandwidth, 44% Narrower DIMMs

Post Syndicated from Ryan Smith original https://www.servethehome.com/jedec-previews-ddr6-memory-standard-2-35x-more-bandwidth-44-narrower-dimms/

JEDEC has unveiled the first specifications for DDR6 memory. Targeting over twice the bandwidth of DDR5, and with DIMMs 44% smaller, DDR6 is slated to be the biggest change in generations to the server memory standard

The post JEDEC Previews DDR6 Memory Standard: 2.35x More Bandwidth, 44% Narrower DIMMs appeared first on ServeTheHome.

Scope down permissions of existing sessions using AWS STS GetScopedCredentials

Post Syndicated from Vaishnavi Merugu original https://aws.amazon.com/blogs/security/scope-down-permissions-of-existing-sessions-using-aws-sts-getscopedcredentials/

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 credentials. You can assign each agent, sub-agent, or process its own set of credentials that keep the caller’s AWS Identity and Access Management (IAM) identity but carry reduced permissions, a shorter session duration, or both.

You can call GetScopedCredentials with the temporary security credentials you already use, such as those from aws login, an Amazon Elastic Compute Cloud (Amazon EC2) instance profile, or an AWS Lambda function. In each call, you pass a scope down policy, a shorter session duration, or both. A scope down policy is an inline policy that describes the maximum permissions for the new credentials. The resulting permissions are the intersection of your session’s effective permissions and the scope down policy, so they can only be reduced. Similarly, the session duration you request can’t exceed the remaining duration of the calling session. You can also call GetScopedCredentials again with the resulting credentials to scope down permissions or reduce session duration even further.

GetScopedCredentials is designed as a building block. Because it scopes down permissions on the credentials you already have, you can build it into agent frameworks, services that issue credentials to other components, continuous integration and deployment (CI/CD) pipelines, and your own applications. You can also call it again with scoped-down credentials, so an orchestrating agent can give each sub-agent narrower access than its own.

In this post, we walk through a few common use cases to get you started, show you how to call GetScopedCredentials, and explain how to manage access to it.

Example use cases

You can use GetScopedCredentials whenever a workload needs narrower access than the session that starts it. Examples include limiting what AI agents can do, scoping down permissions based on runtime context, and granting just-in-time access. We cover two of the most common use cases in more detail in this section.

Limit what AI agents can do

When you pass credentials to an agent, the agent can use any permission those credentials carry. An agent decides which actions to take at runtime, often based on prompts or tool output. If its credentials are overly permissive, an agent that makes a mistake can act beyond the task you gave it.

Before you pass credentials to an agent, you can use GetScopedCredentials to scope down permissions to only what its tasks require, such as read access to a single Amazon Simple Storage Service (Amazon S3) bucket. You could also take the opposite approach and keep most of its permissions while removing only the actions the agent should never perform, such as deleting resources. An orchestrating agent can do the same for each sub-agent it starts. Because a scope down operation can only narrow permissions, a sub-agent never has more access than the agent that started it. To help ensure that your agents only have access to the scoped-down credentials, run them in isolated or sandbox environments such as AWS Strands Box.

Scope down permissions based on runtime context

Many workloads run under a single IAM role but need different, narrower permissions for each task they perform. The right set of permissions for a task often depends on information the workload learns only at runtime, such as who sent a request.

Consider a multi-tenant application that stores each tenant’s files under a separate prefix in one S3 bucket. This application uses a single IAM role to serve all its tenants, so the role can access every tenant’s prefix. However, each request should reach only the files of the tenant who sent it, and the application learns which tenant that is only after it authenticates the request. At that point, a trusted credential broker in the application takes the tenant details from the authenticated session and calls GetScopedCredentials with a scope down policy that allows access only to that tenant’s prefix. It passes only the scoped-down credentials to the worker that handles the request, so Amazon S3 denies that worker access to other tenants’ prefixes even though the original role covers them all.

How to call GetScopedCredentials

This section walks through the process of scoping down permissions for an existing session. Before you call GetScopedCredentials, make sure you have valid temporary security credentials and that they have the permissions to call the API. The following identity based policy grants that permission.

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": "sts:GetScopedCredentials",
    "Resource": "*"
  }]
}

To call GetScopedCredentials, use the latest version of the AWS Command Line Interface (AWS CLI) or the AWS SDK for your programming language.

Step 1: Define a scope down policy

Write a scope down policy that describes the maximum permissions the resulting credentials should have. At launch, GetScopedCredentials accepts one inline scope down policy of up to 2,048 characters. You can write a scope down policy in many ways, such as authoring a policy from scratch, reusing or modifying an existing policy, or asking an AI assistant to draft one. This section covers two such approaches.

Option A: Write the policy yourself

If you know which actions and resources your task needs, write the policy directly. The following sample policy allows the resulting credentials to only read objects from a single S3 bucket.

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*"
  }]
}

Make sure to include every action the task needs, including dependent actions. For example, if your task uses Amazon Athena to query data in Amazon S3, the policy must also allow s3:GetObject on that data, because Athena reads it with your credentials.

To keep most of the calling session’s permissions and remove only a few sensitive ones, use an Allow statement with NotAction. This statement doesn’t grant additional access, because a scope down policy can only reduce permissions. The resulting credentials keep the calling session’s permissions except the actions you list, which makes this a quick way to set guardrails without listing each action a task needs. The following sample policy blocks identity and account management, assuming other roles, and deleting some critical resources.

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "NotAction": [
      "iam:*",
      "organizations:*",
      "account:*",
      "sts:AssumeRole*",
      "s3:DeleteBucket",
      "ec2:TerminateInstances",
      "rds:DeleteDBInstance",
      "dynamodb:DeleteTable"
    ],
    "Resource": "*"
  }]
}

Option B: Generate the policy with IAM Policy Autopilot

You can also use IAM Policy Autopilot to generate a scope down policy. IAM Policy Autopilot is an open source tool from AWS that analyzes the AWS SDK calls in your code and identifies the permissions it requires to run successfully. You can run it from the command line or as a Model Context Protocol (MCP) server in your AI coding assistant. To install it, see the Getting Started instructions for IAM Policy Autopilot.

We’ll use the following Python code to generate a scope down policy using IAM Policy Autopilot. It records a report’s status in an Amazon DynamoDB table.

import json
import logging
import os

import boto3
from botocore.exceptions import ClientError

logger = logging.getLogger()
logger.setLevel(logging.INFO)

dynamodb = boto3.client("dynamodb")
table_name = os.environ["TABLE_NAME"]


def _response(status_code, message):
    return {"statusCode": status_code, "body": json.dumps({"message": message})}


def handler(event, context):
    try:
        request = json.loads(event.get("body") or "{}")
        report_id = request["reportId"]
    except (json.JSONDecodeError, KeyError, TypeError):
        return _response(400, "Request body must be JSON with a reportId")

    if not isinstance(report_id, str) or not report_id:
        return _response(400, "reportId must be a non-empty string")

    try:
        dynamodb.put_item(
            TableName=table_name,
            Item={
                "reportId": {"S": report_id},
                "status": {"S": "READY"},
            },
            ConditionExpression="attribute_not_exists(reportId)",
        )
        return _response(200, "Report status saved")
    except ClientError as error:
        code = error.response["Error"]["Code"]
        if code == "ConditionalCheckFailedException":
            return _response(409, "Report status already exists")

        logger.error("PutItem failed: %s", code)
        return _response(500, "Unable to save the report status")

Save the code as report_status.py and run the following command. If the generated policy exceeds the 2,048 character limit, set the max-policy-size and allow-overpermissive-wildcards-to-limit-total-output-size options to 2048. IAM Policy Autopilot then replaces groups of actions with wildcards to fit that size and warns you if it can’t.

iam-policy-autopilot generate-policies ./report_status.py \
  --region us-west-2 \
  --account 123456789012 \
  --service-hints dynamodb \
  --max-policy-size 2048 \
  --allow-overpermissive-wildcards-to-limit-total-output-size 2048 \
  --pretty

IAM Policy Autopilot returns the following policy.

{
  "Id": "IamPolicyAutopilot",
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:PutItem",
        "dynamodb:WriteDataForReplication"
      ],
      "Resource": [
        "arn:aws:dynamodb:us-west-2:123456789012:table/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt"
      ],
      "Resource": [
        "arn:aws:kms:us-west-2:123456789012:key/*"
      ],
      "Condition": {
        "StringEquals": {
          "kms:ViaService": [
            "dynamodb.us-west-2.amazonaws.com"
          ]
        }
      }
    }
  ]
}

IAM Policy Autopilot generates a starting policy that can include wildcards, either because specific resources can’t be inferred from the code, such as with the table/* and key/* resources in this example, or because an optional parameter that limits policy size replaced actions with wildcards. Review the generated policies and replace the wildcards with the actions and resources your task should access.

However you create the policy, save it as scope-down-policy.json. If you want to continue calling GetScopedCredentials with the resulting credentials, also include the sts:GetScopedCredentials action in the Allow block of the permission policy.

Step 2: Call GetScopedCredentials

Pass the scope down policy you created to GetScopedCredentials. The following command also uses the optional duration-seconds parameter to limit the resulting session duration and the optional scoped-session-description parameter to record context for the scoped-down credentials. If you omit the duration-seconds parameter, the credentials keep the calling session’s remaining duration.

aws sts get-scoped-credentials \
  --policy '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":"s3:GetObject","Resource":"arn:aws:s3:::amzn-s3-demo-bucket/*"}]}' \
  --duration-seconds 300 \
  --scoped-session-description report-status-job \
  --region us-west-2

The response includes a new set of temporary security credentials, a SessionInfo element, and some helpful information about session size and contents.

{
  "Credentials": {
    "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
    "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY,
    "SessionToken": "IQoJb3JpZ2luX2VjEHMaCXVzL...",
    "Expiration": "2026-10-12T03:00:00Z"
  },
  "SessionInfo": {
    "Arn": "arn:aws:sts::111122223333:assumed-role/Developer/jane",
    "ScopedSessionId": "AROADBQP57FF2AEXAMPLE:jane"
  },
  "SessionTokenUtilization": 17,
  "SessionTokenSize": 724,
  "ScopedPoliciesCount": 1
}

Notice that the Amazon Resource Name (ARN) in the SessionInfo element matches the ARN of your calling session. The scoped-down credentials retain the identity of the calling session, including the role session name, session tags and context keys.

The ScopedPoliciesCount value in the response shows how many scope down policies apply to the session. It increases only when a recursive call adds a new scope down policy and not when a call only shortens the session duration.

Each GetScopedCredentials call is logged in AWS CloudTrail. The following event, shortened for readability, shows the call from this example.

{
    "eventVersion": "1.11",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "AROADBQP57FF2AEXAMPLE:janee",
        "arn": "arn:aws:sts::111122223333:assumed-role/Developer/jane",
        "accessKeyId": "ASIAI44QH8DHBEXAMPLE",
        ...
    },
    "eventTime": "2026-10-12T02:55:00Z",
    "eventSource": "sts.amazonaws.com",
    "eventName": "GetScopedCredentials",
    "awsRegion": "us-west-2",
    ...
    "requestParameters": {
        "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/*\"}]}",
        "scopedSessionDescription": "report-status-job",
        "durationSeconds": 300
    },
    "responseElements": {
        "credentials": {
            "accessKeyId": "ASIAIOSFODNN7EXAMPLE",
            "sessionToken": "IQoJb3JpZ2luX2VjEHMaCXVzL...",
            "expiration": "2026-10-12T03:00:00Z"
        },
        "sessionInfo": {
            "scopedSessionId": "AROADBQP57FF2AEXAMPLE:jane",
            "arn": "arn:aws:sts::111122223333:assumed-role/Developer/jane"
        },
        "sessionTokenUtilization": 17,
        "sessionTokenSize": 724,
        "scopedPoliciesCount": 1
    },
    "readOnly": false,
    ...
}

The scopedSessionDescription value in the CloudTrail event records the text you passed to the API call earlier. Later calls made with the scoped-down credentials show the scoped down session’s access key ID in userIdentity.accessKeyId, which can be used to trace back to its immediate parent session.

Step 3 (optional): Scope down the credentials again

You can call GetScopedCredentials recursively with the scoped-down credentials to narrow permissions or reduce session duration even further. You can apply a maximum of three scope down policies to a session, and each new scope down policy intersects with all prior ones. Recursive calls that only shorten the session duration and don’t add a scope down policy don’t count toward this limit. For a recursive call to succeed, every earlier scope down policy must allow the sts:GetScopedCredentials action.

Managing access to GetScopedCredentials

You can control access to the sts:GetScopedCredentials action in all relevant policy types. You can also use the sts:DurationSeconds condition key to limit the session duration of scoped-down credentials, and global condition keys such as aws:PrincipalArn, aws:PrincipalTag, and aws:SourceVpce to restrict who can call the API and from where.

Availability and request quota

GetScopedCredentials is available in all AWS commercial Regions, AWS GovCloud (US) Regions, and the China Regions. The API has a dedicated request quota of 200 requests per second per account in each Region at launch. You can use scoped-down credentials with most AWS services. For a list of services that aren’t supported, see the GetScopedCredentials API reference.

Conclusion

GetScopedCredentials gives you a building block for reducing permissions at runtime. This is particularly helpful when you want to give each agent, sub agent or workload only the access it needs.

For more information about GetScopedCredentials, see the GetScopedCredentials API reference. To learn how permissions are evaluated for scoped-down credentials, see Permissions for GetScopedCredentials and Policy evaluation for requests within a single account. Now go build!

If you have feedback about this post, submit comments in the Comments section below. If you have questions about this post, start a new thread on AWS re:Post or contact AWS Support.


Vaishnavi Merugu

Vaishnavi Merugu

Vaishnavi is a Senior Technical Product Manager in AWS Identity. Her work focuses on products that simplify identity and access management for customers. Outside of work, she enjoys traveling and exploring new cultures and food.

Ryan Peng

Ryan Peng

Ryan is a Software Development Engineer in AWS Identity and Access Management (IAM), where he builds the short-term credential vending systems that customers rely on to grant and constrain access to their AWS resources. Most recently, he has focused on how workloads and AI agents can run with the narrowest set of permissions they need. Outside of work, Ryan enjoys watching and playing sports, and staying active outdoors.

The collective thoughts of the interwebz