Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,63 +24,63 @@

## Installation

* [Getting Started with Fluent Bit](installation/getting-started-with-fluent-bit.md)
* [Upgrade Notes](installation/upgrade-notes.md)
* [Supported Platforms](installation/supported-platforms.md)
* [Get started with Fluent Bit](installation/getting-started-with-fluent-bit.md)
* [Upgrade notes](installation/upgrade-notes.md)
* [Supported platforms](installation/supported-platforms.md)
* [Requirements](installation/requirements.md)
* [Sources](installation/sources/README.md)
* [Download Source Code](installation/sources/download-source-code.md)
* [Build and Install](installation/sources/build-and-install.md)
* [Build with Static Configuration](installation/sources/build-with-static-configuration.md)
* [Linux Packages](installation/linux/README.md)
* [Download source code](installation/sources/download-source-code.md)
* [Build and install](installation/sources/build-and-install.md)
* [Build with static configuration](installation/sources/build-with-static-configuration.md)
* [Linux packages](installation/linux/README.md)
* [Amazon Linux](installation/linux/amazon-linux.md)
* [Alma / Rocky Linux](installation/linux/alma-rocky.md)
* [Redhat / CentOS](installation/linux/redhat-centos.md)
* [Rocky Linux and Alma Linux ](installation/linux/alma-rocky.md)
* [Red Hat and CentOS](installation/linux/redhat-centos.md)
* [Debian](installation/linux/debian.md)
* [Ubuntu](installation/linux/ubuntu.md)
* [Raspbian / Raspberry Pi](installation/linux/raspbian-raspberry-pi.md)
* [Raspbian and Raspberry Pi](installation/linux/raspbian-raspberry-pi.md)
* [Docker](installation/docker.md)
* [Containers on AWS](installation/aws-container.md)
* [Amazon EC2](installation/amazon-ec2.md)
* [Kubernetes](installation/kubernetes.md)
* [macOS](installation/macos.md)
* [Windows](installation/windows.md)
* [Yocto / Embedded Linux](installation/yocto-embedded-linux.md)
* [Buildroot / Embedded Linux](installation/buildroot-embedded-linux.md)
* [Yocto embedded Linux](installation/yocto-embedded-linux.md)
* [Buildroot embedded Linux](installation/buildroot-embedded-linux.md)

## Administration

* [Configuring Fluent Bit](administration/configuring-fluent-bit/README.md)
* [YAML Configuration](administration/configuring-fluent-bit/yaml/README.md)
* [Configure Fluent Bit](administration/configuring-fluent-bit/README.md)
* [YAML configuration](administration/configuring-fluent-bit/yaml/README.md)
* [Service](administration/configuring-fluent-bit/yaml/service-section.md)
* [Parsers](administration/configuring-fluent-bit/yaml/parsers-section.md)
* [Multiline Parsers](administration/configuring-fluent-bit/yaml/multiline-parsers-section.md)
* [Multiline parsers](administration/configuring-fluent-bit/yaml/multiline-parsers-section.md)
* [Pipeline](administration/configuring-fluent-bit/yaml/pipeline-section.md)
* [Plugins](administration/configuring-fluent-bit/yaml/plugins-section.md)
* [Upstream Servers](administration/configuring-fluent-bit/yaml/upstream-servers-section.md)
* [Environment Variables](administration/configuring-fluent-bit/yaml/environment-variables-section.md)
* [Upstream servers](administration/configuring-fluent-bit/yaml/upstream-servers-section.md)
* [Environment variables](administration/configuring-fluent-bit/yaml/environment-variables-section.md)
* [Includes](administration/configuring-fluent-bit/yaml/includes-section.md)
* [Classic mode](administration/configuring-fluent-bit/classic-mode/README.md)
* [Format and Schema](administration/configuring-fluent-bit/classic-mode/format-schema.md)
* [Configuration File](administration/configuring-fluent-bit/classic-mode/configuration-file.md)
* [Format and schema](administration/configuring-fluent-bit/classic-mode/format-schema.md)
* [Configuration file](administration/configuring-fluent-bit/classic-mode/configuration-file.md)
* [Variables](administration/configuring-fluent-bit/classic-mode/variables.md)
* [Commands](administration/configuring-fluent-bit/classic-mode/commands.md)
* [Upstream Servers](administration/configuring-fluent-bit/classic-mode/upstream-servers.md)
* [Record Accessor](administration/configuring-fluent-bit/classic-mode/record-accessor.md)
* [Upstream servers](administration/configuring-fluent-bit/classic-mode/upstream-servers.md)
* [Record accessor syntax](administration/configuring-fluent-bit/classic-mode/record-accessor.md)
* [Unit Sizes](administration/configuring-fluent-bit/unit-sizes.md)
* [Multiline Parsing](administration/configuring-fluent-bit/multiline-parsing.md)
* [Transport Security](administration/transport-security.md)
* [Buffering and Storage](administration/buffering-and-storage.md)
* [Multiline parsing](administration/configuring-fluent-bit/multiline-parsing.md)
* [TLS](administration/transport-security.md)
* [Buffering and storage](administration/buffering-and-storage.md)
* [Backpressure](administration/backpressure.md)
* [Scheduling and Retries](administration/scheduling-and-retries.md)
* [Scheduling and retries](administration/scheduling-and-retries.md)
* [Networking](administration/networking.md)
* [Memory Management](administration/memory-management.md)
* [Memory management](administration/memory-management.md)
* [Monitoring](administration/monitoring.md)
* [Multithreading](administration/multithreading.md)
* [HTTP Proxy](administration/http-proxy.md)
* [Hot Reload](administration/hot-reload.md)
* [HTTP proxy](administration/http-proxy.md)
* [Hot reload](administration/hot-reload.md)
* [Troubleshooting](administration/troubleshooting.md)
* [Performance Tips](administration/performance.md)
* [Performance tips](administration/performance.md)
* [AWS credentials](administration/aws-credentials.md)

## Local Testing
Expand Down
32 changes: 9 additions & 23 deletions administration/aws-credentials.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
# AWS Credentials
# AWS credentials

Plugins that interact with AWS services fetch credentials from the following providers
in order. Only the first provider that provides credentials is used.
Plugins that interact with AWS services fetch credentials from the following providers in order. Only the first provider that provides credentials is used.

- [Environment variables](#environment-variables)
- [Shared configuration and credentials files](#shared-configuration-and-credentials-files)
- [EKS Web Identity Token (OIDC)](#eks-web-identity-token-oidc)
- [ECS HTTP credentials endpoint](#ecs-http-credentials-endpoint)
- [EC2 Instance Profile Credentials (IMDS)](#ec2-instance-profile-credentials-imds)

All AWS plugins additionally support a `role_arn` (or `AWS_ROLE_ARN`, for
[Elasticsearch](../pipeline/outputs/elasticsearch.md)) configuration parameter. If
specified, the fetched credentials are used to assume the given role.
All AWS plugins additionally support a `role_arn` (or `AWS_ROLE_ARN`, for [Elasticsearch](../pipeline/outputs/elasticsearch.md)) configuration parameter. If specified, the fetched credentials are used to assume the given role.

## Environment variables

Plugins use the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` (and optionally
`AWS_SESSION_TOKEN`) environment variables if set.
Plugins use the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` (and optionally `AWS_SESSION_TOKEN`) environment variables if set.

## Shared configuration and credentials files

Plugins read the shared `config` file at `$AWS_CONFIG_FILE` (or `$HOME/.aws/config`),
and the shared credentials file at `$AWS_SHARED_CREDENTIALS_FILE` (or
`$HOME/.aws/credentials`) to fetch the credentials for the profile named
`$AWS_PROFILE` or `$AWS_DEFAULT_PROFILE` (or "default"). See
[Configuration and credential file settings in the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html).
Plugins read the shared `config` file at `$AWS_CONFIG_FILE` (or `$HOME/.aws/config`), and the shared credentials file at `$AWS_SHARED_CREDENTIALS_FILE` (or `$HOME/.aws/credentials`) to fetch the credentials for the profile named `$AWS_PROFILE` or `$AWS_DEFAULT_PROFILE` (or "default"). See [Configuration and credential file settings in the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html).

The shared settings evaluate in the following order:

Expand All @@ -37,22 +29,16 @@ No other settings are supported.

## EKS Web Identity Token (OIDC)

Credentials are fetched using a signed web identity token for a Kubernetes service account.
See [IAM roles for service accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).
Credentials are fetched using a signed web identity token for a Kubernetes service account. See [IAM roles for service accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).

## ECS HTTP credentials endpoint

Credentials are fetched for the ECS task's role. See
[Amazon ECS task IAM role](https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-iam-roles.html).
Credentials are fetched for the ECS task's role. See [Amazon ECS task IAM role](https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-iam-roles.html).

## EKS Pod Identity credentials

Credentials are fetched using a pod identity endpoint. See
[Learn how EKS Pod Identity grants pods access to AWS services](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).
Credentials are fetched using a pod identity endpoint. See [Learn how EKS Pod Identity grants pods access to AWS services](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).

## EC2 instance profile credentials (IMDS)

Fetches credentials for the EC2 instance profile's role. See
[IAM roles for Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).
As of Fluent Bit version 1.8.8, IMDSv2 is used by default and IMDSv1 might be disabled.
Prior versions of Fluent Bit require enabling IMDSv1 on EC2.
Fetches credentials for the EC2 instance profile's role. See [IAM roles for Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html). As of Fluent Bit version 1.8.8, IMDSv2 is used by default and IMDSv1 might be disabled. Prior versions of Fluent Bit require enabling IMDSv1 on EC2.
Loading