AWS Standalone AI/ML Cloud Onboarding¶
Onboard a standalone AWS account to AccuKnox to discover its AI/ML assets and assess their security. A standalone account is one AWS account that you connect by itself, outside an AWS Organization.
In this flow, a Terraform script creates the access keys that AccuKnox uses. You paste the keys into the AccuKnox console, and AccuKnox then scans the account.
What cloud onboarding enables
Onboarding turns on these AI Security features for the account:
- Model and Data Security
- Shadow AI Discovery
- Prompt Firewall for Cloud Assets
Onboarding many AWS accounts?
Use AWS Organization AI/ML Cloud Onboarding to connect a Management Account and its member accounts with one CloudFormation stack.
Prerequisites¶
- Install Terraform on your workstation. HashiCorp gives the steps in Install Terraform.
- Configure the AWS CLI with a user that can create IAM resources in the account.
The full Terraform flow for a standalone account is in AWS Terraform Onboarding.
Step 1. Open Cloud Accounts¶
- In the AccuKnox console, go to Settings → Cloud Accounts.
- Click Onboard Account.
Step 2. Select the AWS Standalone Account Type¶
- On the Account Provider step, select Amazon Web Service (AWS) as the cloud provider.
- Select Standalone Account.
- Click Next.
Step 3. Enable AI Security¶
- On the Security Configuration step, turn on AI Security. This toggle enables AI/ML asset onboarding.
- Click Next.
Step 4. Set the Label and Connect With Access Keys¶
- In Account Setup → Labels & Tags, select or create a label. The label identifies the assets and findings of this AWS account in AccuKnox. You filter by the label in later steps.
- Add tags to group the account. This step is optional.
- In Connection Method, select Access Keys - Terraform Script.
- Download or copy the Terraform script from STEP 2 in the console. Save it as a Terraform file, for example
accuknox_aws_onboard.tf. -
In the folder that holds the file, run the command from STEP 3 in the console:
terraform init && terraform plan && terraform apply -
Open the
credentials.txtfile that Terraform writes. Copy the access key and the secret key. - Paste the keys into Access Key ID and Secret Access Key.
- Select the AWS regions to scan in Region.
- Click Verify & Connect.
Step 5. Review the AWS Permissions¶
The access keys need these permissions for AI/ML asset discovery and security assessment.
| Permission | Purpose |
|---|---|
ReadOnlyAccess |
Read-only access to AWS resource configuration and metadata for asset discovery. |
SecurityAudit |
Access to security-related configuration and metadata for security assessment. |
bedrock:InvokeModel |
Invokes Amazon Bedrock models when a supported workflow needs model interaction. |
bedrock:ListImportedModels |
Discovers imported Amazon Bedrock models. |
bedrock:ListModelInvocationJobs |
Reads Bedrock model invocation job information for supported AI/ML workflows. |
sagemaker:InvokeEndpoint |
Invokes Amazon SageMaker inference endpoints for supported workflows. |
aws-marketplace:Subscribe |
Subscribes to a supported AI model from AWS Marketplace that needs a subscription. |
aws-marketplace:ViewSubscriptions |
Reads AWS Marketplace subscription information for applicable models. |
bedrock-agentcore:InvokeAgentRuntime |
Invokes supported Amazon Bedrock AgentCore runtimes. |
bedrock-agentcore:StopRuntimeSession |
Stops the matching AgentCore runtime session. |
Step 6. Verify the Onboarded Cloud Account¶
- Go to Settings → Cloud Accounts.
- Check that the AWS account shows with your label and an Active status. This status confirms that AccuKnox registered the account.
Step 7. Verify the AWS Asset Discovery¶
- Go to Inventory Assets → Cloud Assets.
- Filter by the label that you set in Step 4.
- Check that AWS resources from the account show in the inventory.
Step 8. Verify the AI/ML Asset Discovery¶
- Go to AI/ML Security → Assets → Managed.
- Filter by the label that you set in Step 4.
- Check that the discovered AWS AI/ML assets show in the list.
- For a model asset, check the metadata: Cloud Type, Label, Platform Owner, Status, Region, Model ARN, Model Version and Model Type.






