AWS Security ChangesHomeSearch

AWS healthlake: Add AWS Python SDK (Boto3) setup with least-privilege guidance

Service: healthlake · 2026-10-22 · Documentation medium

File: healthlake/latest/devguide/getting-started-setting-up.md · Type: iam

Summary

Adds a new section on installing and configuring the AWS SDK for Python (Boto3) for HealthLake, including a recommendation to use a separate least-privilege IAM role for credentials.

Security assessment

The added setup instructions explicitly recommend least-privilege IAM roles for credential configuration, which is security best-practice guidance for handling AWS credentials.

Evidence

+  2. Boto3 credentials can be configured in multiple ways. Regardless of the source or sources that you choose, you must have both AWS credentials and an AWS Region set in order to make requests. Under the security principle of least privilege, we recommend you create a separate IAM role with privileges specific to the tasks being performed. For more information about setting up credentials for boto3, see [Configuration and credentials for boto3](https://docs.aws.amazon.com/boto3/latest/guide/credentials.html) in the _AWS Command Line Interface User Guide_.

Diff

diff --git a/healthlake/latest/devguide/getting-started-setting-up.md b/healthlake/latest/devguide/getting-started-setting-up.md
index 8d5c248..96ba477 100644
--- a//healthlake/latest/devguide/getting-started-setting-up.md
+++ b//healthlake/latest/devguide/getting-started-setting-up.md
@@ -7 +7 @@
-Sign up for an AWS accountConfigure an IAM user or roleAdd a Data Lake Administrator user or roleCreate S3 bucketsCreate a data storeSet up import permissionsSet up export permissionsInstall the AWS CLI
+Sign up for an AWS accountConfigure an IAM user or roleAdd a Data Lake Administrator user or roleCreate S3 bucketsCreate a data storeSet up import permissionsSet up export permissionsInstall the AWS CLIInstall the AWS Python SDK
@@ -30,0 +31,2 @@ In this chapter, you use the AWS Management Console to set up the required permi
+  * Install the AWS SDK for Python
+
@@ -475,0 +478,25 @@ If the AWS CLI is configured correctly, you see a brief description of AWS Healt
+## Install the AWS SDK for Python
+
+You can work with AWS HealthLake programmatically in Python by using the AWS SDK for Python with the Boto3 library. Use Boto3 as an alternative to the AWS Command Line Interface (AWS CLI) when you want to call HealthLake operations from your own scripts and applications, or consume a streaming response from an operation.
+
+Boto3 requires Python 3.8 or later. To avoid conflicts with other packages on your system, install Boto3 into a virtual environment.
+
+###### To set up the AWS Python SDK
+
+  1. Download and configure the boto3 library. For instructions, see the following topics in the _AWS Command Line Interface User Guide_.
+
+     * [Installing or updating the latest version of the boto3 library;](https://docs.aws.amazon.com/boto3/latest/guide/quickstart.html)
+
+     * [Getting started with boto3 HealthLake.Client;](https://docs.aws.amazon.com/boto3/latest/reference/services/healthlake.html)
+
+  2. Boto3 credentials can be configured in multiple ways. Regardless of the source or sources that you choose, you must have both AWS credentials and an AWS Region set in order to make requests. Under the security principle of least privilege, we recommend you create a separate IAM role with privileges specific to the tasks being performed. For more information about setting up credentials for boto3, see [Configuration and credentials for boto3](https://docs.aws.amazon.com/boto3/latest/guide/credentials.html) in the _AWS Command Line Interface User Guide_.
+
+  3. Verify the setup using the following command.
+    
+        python3 -c "import boto3; print(boto3.__version__)"
+
+If the library is configured correctly, it will print the version of boto3 which is installed.
+
+
+
+