# hkb-rcp-tls-only

RCP-02 deny non-TLS requests to S3, KMS and Secrets Manager.

| Property | Value |
| --- | --- |
| Type | Resource control policy |
| Attached to | the organization root |
| Source | `org/hkb-org-rcp.yaml`, resource `TlsOnlyPolicy` |

## `Rcp02DenyNonTlsRequests`

```yaml
- Sid: Rcp02DenyNonTlsRequests
  Effect: Deny
  Principal: "*"
  Action:
    - s3:*
    - kms:*
    - secretsmanager:*
  Resource: "*"
  Condition:
    BoolIfExists:
      aws:SecureTransport: "false"
```
