> For the complete documentation index, see [llms.txt](https://docs.kangal.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kangal.dev/tr/entegrasyonlar/aws.md).

# AWS

AWS entegrasyonu hesabın kimliğini, alias bilgisini ve AWS bölge adlarını doğrulayan hafif bir hesap özetidir. İstekler AWS Signature Version 4 ile doğrudan imzalanır.

## Senkronizasyon nasıl çalışır?

1. Bölgesel STS endpoint'ine `GetCallerIdentity` gönderilir.
2. Global IAM endpoint'ine `ListAccountAliases` gönderilir.
3. Bölgesel EC2 endpoint'ine `DescribeRegions` ve `AllRegions=true` gönderilir.

STS çağrısı başarısızsa senkronizasyon hata verir. IAM alias veya bölge çağrısı başarısız olursa işlem başarılı kalır ve hata `warnings` içinde döner.

## Yapılandırma

| Tür    | Alan                | Zorunlu | Açıklama                                   |
| ------ | ------------------- | ------- | ------------------------------------------ |
| Config | `region`            | Evet    | AWS bölgesi, örneğin `us-east-1`           |
| Secret | `access_key_id`     | Evet    | AWS access key ID                          |
| Secret | `secret_access_key` | Evet    | AWS secret access key                      |
| Secret | `session_token`     | Hayır   | Geçici kimlik bilgileri için session token |

## Dönen metadata

| Alan                           | Açıklama                                               |
| ------------------------------ | ------------------------------------------------------ |
| `account_id`, `arn`, `user_id` | STS tarafından doğrulanan çağıran kimlik               |
| `account_aliases`              | IAM hesap alias listesi                                |
| `region`                       | İsteklerin imzalandığı yapılandırılmış bölge           |
| `region_count`, `regions`      | Dönen AWS bölge adlarının sayısı ve listesi            |
| `warnings`                     | Alias veya bölge çağrılarının engellenen hata özetleri |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kangal.dev/tr/entegrasyonlar/aws.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
