How to set up a cloud target
Last updated: November 18, 2026
A cloud target's setup tells Astra which cloud provider you use and how to access your cloud account. The steps depend on the provider. For AWS, Microsoft Azure and Google Cloud, the setup also asks for programmatic access and lets you limit the scan scope with resource tags.
Set up a cloud target
On the Targets page, click Setup on the target's row.
Get Started: enter the Target Name and the Business Name (For Pentest Certificate), and then click Save & Continue.
Cloud Provider: choose AWS, Digital Ocean, Google Cloud GCP, Microsoft Azure or Other.
User Credentials: enter the sign-in details of a cloud console user, which Astra's security engineers use to check your cloud configuration by hand. For AWS, enter the Account ID, Email/Username and Password of an IAM user with the security analyst role. For Microsoft Azure, enter the Tenant ID, Email and Password of a user with the Reader role. Add the MFA Setup Key (Optional) if that user signs in with MFA. For Digital Ocean, invite pentests@getastra.com to your team instead. During setup, the Provide IAM console credentials switch lets you skip these fields: they are only needed for an Expert Config Review, and Config Scans run with programmatic access.
Programmatic Access (AWS, Azure and Google Cloud): enter the read-only keys Astra's scanner uses to check your account automatically. For AWS, import a CSV file, or enter the Access Key ID and Secret Access Key. For Microsoft Azure, enter the Tenant ID, Application ID, Client Secret and Subscription Id of a service principal. For Google Cloud, upload the JSON credential file and add the Project Id(s). Click Test Connection to check the keys.
Scan Scope (AWS, Azure and Google Cloud): optionally add tag rules to choose which resources Astra scans.
Optional: Additional Note: add anything else the testers should know.
Click Save & Continue on each step.

Choose the cloud provider in the Cloud Provider step.

For AWS, User Credentials asks for the IAM user's account ID, email or username and password.
Note
In Programmatic Access, Astra checks the credentials. Continue when the Connection Status shows that the credentials are verified.
Limit the scan with resource tags
In Scan Scope, use the tags already on your cloud resources to decide what Astra scans:
Include resources with these tags: only resources that match at least one rule are scanned.
Exclude resources with these tags: resources that match any rule are skipped.
Leave both lists empty to scan everything the credentials can access. Click Add in bulk to add many tags at once.

Scan Scope uses include and exclude tag rules.
Change the setup later
After setup, open the target's Settings. The setup steps are listed under Target Setup, and you can change them there. Click Save Changes after each change.
FAQ
For an Azure cloud target, should we use User Credentials or Programmatic Access? Or do we need both?
They are used for different things, so the answer depends on what will run on the target:
Programmatic Access | User Credentials | |
|---|---|---|
What it is | A service principal: Tenant ID, Application ID, Client Secret and Subscription Id | A user's console sign-in: Tenant ID, Email, Password and an optional MFA Setup Key |
Who uses it | Astra's scanner, which checks the account automatically | Astra's security engineers, who sign in to your cloud console and review the configuration by hand |
Needed for a Config Scan | Yes | No |
Needed for an Expert Config Review | Yes | Yes |
Config Scans only: Programmatic Access is enough. During setup, turn off Provide IAM console credentials in the User Credentials step.
Expert Config Review: provide both. The scan runs with the programmatic access, and the engineers sign in with the user credentials.
Both give read-only access. Programmatic Access needs a service principal with the Reader role, described in How to Create an Azure Service Principal Using Azure CLI. User Credentials need a user with the Reader role, described in How-To: Adding a security Reader Role in Azure. If the user credentials were skipped during setup, add them later from the target's Settings → User Credentials.

For Azure, Programmatic Access asks for the service principal's Tenant ID, Application ID, Client Secret and Subscription Id.

For Azure, User Credentials asks for the Tenant ID, email and password of a user with the Reader role.
Next steps
Start a scan. Read more in How to start an automated scan or How to start a pentest.