# HKB-DomainAdmin

Domain registration changes and DNSSEC DS record updates

- **Session:** 1 hours. **Accounts:** [Management](/architecture/management/).
- **AWS managed policies:** none.
- **Inline policy:** 8 actions across 2 services (route53, route53domains).
- **Source:** `bootstrap/hkb-bootstrap-identity.yaml`, resource `DomainAdminSet`.

## Policy

```yaml
InlinePolicy:
  Version: "2012-10-17"
  Statement:
    - Sid: DomainRegistration
      Effect: Allow
      Action: route53domains:*
      Resource: "*"
    # Registering a domain creates its hosted zone; revisit at Phase 6.1 if registration asks for more.
    - Sid: HostedZoneForRegistration
      Effect: Allow
      Action:
        - route53:CreateHostedZone
        - route53:GetChange
        - route53:GetHostedZone
        - route53:ListHostedZones
        - route53:ListHostedZonesByName
        - route53:ListResourceRecordSets
        - route53:ChangeResourceRecordSets
      Resource: "*"
```
