You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/aws/_dev/build/docs/README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,7 @@ There are a few ways to provide AWS credentials:
91
91
* Use temporary security credentials
92
92
* Use a shared credentials file
93
93
* Use an IAM role Amazon Resource Name (ARN)
94
+
* Use an EC2 instance's IAM Role
94
95
95
96
#### Use access keys directly
96
97
@@ -163,6 +164,19 @@ Note: If `role_arn` is given, the package will check if access keys are given.
163
164
If they are not given, the package will check for a credential profile name.
164
165
If neither is given, the default credential profile will be used.
165
166
167
+
#### Use an EC2 instance's IAM Role
168
+
169
+
When Elastic Agent runs on an EC2 instance that has an IAM role attached via an instance profile, it can automatically authenticate to AWS services using a temporary access key pair and session token provided by the Instance Metadata Service (IMDS). For more details see [IAM roles for Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).
170
+
171
+
To use the IAM role attached to the EC2 instance, leave all of the following options empty:
172
+
173
+
*`access_key_id`
174
+
*`secret_access_key`
175
+
*`session_token`
176
+
*`credential_profile_name`
177
+
*`shared_credential_file`
178
+
*`role_arn`
179
+
166
180
### AWS Permissions
167
181
168
182
Specific AWS permissions are required for the IAM user to make specific AWS API calls.
Copy file name to clipboardExpand all lines: packages/aws/docs/README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,7 @@ There are a few ways to provide AWS credentials:
91
91
* Use temporary security credentials
92
92
* Use a shared credentials file
93
93
* Use an IAM role Amazon Resource Name (ARN)
94
+
* Use an EC2 instance's IAM Role
94
95
95
96
#### Use access keys directly
96
97
@@ -163,6 +164,19 @@ Note: If `role_arn` is given, the package will check if access keys are given.
163
164
If they are not given, the package will check for a credential profile name.
164
165
If neither is given, the default credential profile will be used.
165
166
167
+
#### Use an EC2 instance's IAM Role
168
+
169
+
When Elastic Agent runs on an EC2 instance that has an IAM role attached via an instance profile, it can automatically authenticate to AWS services using a temporary access key pair and session token provided by the Instance Metadata Service (IMDS). For more details see [IAM roles for Amazon EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).
170
+
171
+
To use the IAM role attached to the EC2 instance, leave all of the following options empty:
172
+
173
+
*`access_key_id`
174
+
*`secret_access_key`
175
+
*`session_token`
176
+
*`credential_profile_name`
177
+
*`shared_credential_file`
178
+
*`role_arn`
179
+
166
180
### AWS Permissions
167
181
168
182
Specific AWS permissions are required for the IAM user to make specific AWS API calls.
Copy file name to clipboardExpand all lines: packages/azure/_dev/build/docs/events.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,18 +71,18 @@ The integration routes the logs to the most appropriate data stream based on the
71
71
72
72
Use the following table to identify the target data streams for each log category. For example, if the integration receives a log event with the `NonInteractiveUserSignInLogs` category, it will infer `azure.signinlogs` as dataset, indexing the log into `logs-azure.signinlogs-default` data stream.
Copy file name to clipboardExpand all lines: packages/azure/docs/events.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,18 +71,18 @@ The integration routes the logs to the most appropriate data stream based on the
71
71
72
72
Use the following table to identify the target data streams for each log category. For example, if the integration receives a log event with the `NonInteractiveUserSignInLogs` category, it will infer `azure.signinlogs` as dataset, indexing the log into `logs-azure.signinlogs-default` data stream.
0 commit comments