account
Shared Services
Shared Services runs the deployment pipelines and owns the organization-wide StackSets. The platform pipeline rolls baselines out to every member account, the site pipeline builds and deploys this website, and the tools pipeline deploys the security tools into Security.
Every change is linted, policy-checked, tested against the HKB Guard rules and scanned for secrets before anything deploys. The pipelines reach member accounts only through roles built for each job, and they can't reach the management account.
Pipelines and StackSets
Each has its own page, with its configuration as deployed.
- hkb-pipeline-mainPlatform: validation, self-update, StackSets, Security and network.
- hkb-pipeline-siteThis site: build, then Sandbox, Dev and Prod.
- hkb-pipeline-toolsSecurity tools, one stack each in Security.
- StackSetsThe baselines every member account carries, deployed from here as delegated administrator.
Components
The numbers trace one change: a merge reaches CodeConnections, which starts the pipeline whose paths it touches; CodeBuild checks every template first; then each stage assumes a role in the account it changes. StackSets carry the baseline to every member account.
Preventive controls
9 SCPs and RCPs apply, inherited through the OU path.
- SCP-01Deny leaving the org, closing accounts and changing account contact or billing settingsPASS
- SCP-03Protect the security baseline: no stopping or deleting CloudTrail, Config, GuardDuty, Security Hub or Access Analyzer;
hkb-baseline-*roles and stacks changed only by the StackSets execution role; IMDSv2 required at launch, with no switching back afterwardsPASS - SCP-04No long-lived credentials: no IAM users, access keys or console passwordsPASS
- SCP-05Data protection: account-level S3 Block Public Access can't be weakened; KMS keys are deleted only by the pipeline and AWS-managed deployment rolesPASS
- SCP-06AI allowlist: Bedrock only in the Workloads and Sandbox OUs, approved models only, no provisioned throughput or customizationPASS
- SCP-07Cost guardrails: EC2 and NAT only in Workloads and Sandbox, instance-type allowlist, no OpenSearch Serverless, reserved purchases or Marketplace subscriptionsPASS
- SCP-09Deny all root-user actions except task-scoped root sessionsPASS
- RCP-01Data perimeter: S3, KMS, Secrets Manager and STS deny principals outside the org; AWS service principals exemptPASS
- RCP-02Deny non-TLS requests to S3, KMS and Secrets ManagerPASS
Principals
0 IAM users. 3 Identity Center permission sets, 12 IAM roles, parsed from the templates. Org-wide view: access matrix.
Permission sets
HKB-ReadOnlyDaily visibility (ViewOnlyAccess and SecurityAudit, plus the reads the verifier and change-set reviews need)HKB-SupportOpen and manage AWS Support cases, nothing elseHKB-PipelineApproverApprove or reject the pipeline's manual approvals and read its state and change records. No edit rights.
IAM roles
hkb-baseline-account-settingsExecution role of the hkb-baseline-account-settings function. Sets EBS default encryption, the IAM password policy, two Systems Manager settings and VPC Block Public Access, nothing else.hkb-events-forwarderEventBridge forwarder. Puts the security events these rules match onto the central bus in Security, and nothing else.hkb-scannerProwler's read-only scanner role. Taken on only by hkb-tool-prowler in Security; reads the account and imports failed findings to Security Hub.hkb-pipeline-orchestratorCodePipeline service role for hkb-pipeline-main (platform). Moves artifacts, starts the Validate build, assumes the platform action roles. Deploys nothing itself.hkb-pipeline-site-orchestratorCodePipeline service role for hkb-pipeline-site. Moves artifacts, starts the Validate and site-sync builds, assumes hkb-pipeline-site in Sandbox, Dev and Prod. Deploys nothing itself.hkb-pipeline-tools-orchestratorCodePipeline service role for hkb-pipeline-tools. Moves artifacts, starts the Validate build, assumes hkb-pipeline-tools in Security. Deploys nothing itself.hkb-pipeline-validateCodeBuild role for the Validate stage. Reads artifacts and validates policies. Cannot assume any deployer role.hkb-pipeline-syncCodeBuild role for the site sync (step 4.4, DQ-59). Reads the built site artifact and assumes hkb-pipeline-site-sync in Sandbox, Dev and Prod. Changes nothing in this account.hkb-pipeline-selfSelf-update action role. Makes change sets on the hkb-pipeline stack and passes hkb-pipeline-cfn-self to CloudFormation. Changes nothing itself.hkb-pipeline-cfn-selfCloudFormation service role for the hkb-pipeline stack (pipeline and CodeBuild projects). Cannot edit IAM, the key, the bucket or this stack.hkb-pipeline-stacksetsStackSets action role. Makes change sets on hkb-stacksets-* stacks (which own service-managed StackSets) and passes hkb-pipeline-cfn-stacksets to CloudFormation.hkb-pipeline-cfn-stacksetsCloudFormation service role for hkb-stacksets-* stacks. Manages hkb-* service-managed StackSets as StackSets delegated administrator; no IAM or Organizations write access.
Control test coverage
Cost
$17.70 in 2026-11 to date. Org-wide cost.
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
site/content/accounts.md,HKB Shared Services Account.md- Linked from
- Architecture, Management, Log Archive, Security, As-built record, Prod and 34 more