> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Superblocks support access

Superblocks operates your Managed BYOC instance for you, so our on-call engineers sometimes need access to the Superblocks resources in your AWS account to support or repair it. This page covers how that access is granted, what it can and can't reach, and how you can see and control it.

## How it works

When a Superblocks on-call engineer needs to investigate or fix an issue with your instance:

1. The engineer signs in to our corporate identity provider, Okta, with phishing-resistant multi-factor authentication using a hardware security key.
2. The engineer starts with the **read-only support role** in your AWS account to investigate.
3. If the fix needs changes, the engineer requests the **admin support role**. Superblocks on-call leadership must approve the request before the role can be used.
4. If you gate support access, our team pages your on-call team and waits for you to open an access window. See [Restrict support access](#restrict-support-access).
5. Each support role session expires within one hour. If the engineer needs to run commands in your instance's Kubernetes clusters, they connect to the clusters through the Superblocks support VPN.
6. Every session and every action is recorded in your AWS account.

## Access controls

* **Strong authentication:** Support access starts at our corporate Okta, which requires phishing-resistant multi-factor authentication with a hardware security key.
* **On-call engineers only:** Only Superblocks on-call engineers who are granted support access can use the support roles.
* **Least privilege by default:** Engineers start with the read-only support role. It can view the Superblocks resources in your instance, but it can't read Kubernetes secrets, and it can't create, restart, delete, or run commands in anything in your clusters.
* **Approval for changes:** Only the admin support role can change your instance. It's used only to restore service, with approval from Superblocks on-call leadership.
* **No standing access:** Superblocks doesn't hold long-lived credentials for your account. Each support session expires automatically within one hour.
* **Private cluster connections:** Connections to your instance's Kubernetes clusters come only through the Superblocks support VPN.
* **Bounded to the Superblocks platform:** The support roles' policies are scoped to the resources the Superblocks platform owns. An [IAM permissions boundary](https://docs.superblocks.com/enterprise/cloud-prem/configure/permissions-boundary.md), on by default, also caps both roles: even if their own policies were widened, they can't make IAM changes, read data outside Superblocks resources, or act in your other AWS accounts.
* **Unique to your instance:** Each role can be assumed only with an identifier that's unique to your deployment.
* **Recorded in your account:** Every session and action appears in your CloudTrail and Kubernetes audit logs, and the support roles can't change those records.
* **Under your control:** You can gate support access behind access windows that you open.

## Support roles

Both roles are created by the [bootstrap](https://docs.superblocks.com/enterprise/cloud-prem/deployment-guide.md#the-bootstrap) you run in your account.

| Role | When it's used | What it can do | What it can't do |
| - | - | - | - |
| Read-only support role | Routine support and debugging | View the Superblocks resources in your control plane cluster, every data plane cluster, and your AWS account, such as service status, configuration, and Superblocks platform logs | Read Kubernetes secrets, or create, restart, delete, or run commands in anything. It can't change your instance |
| Admin support role | Break-glass scenarios only, such as an incident that normal operations can't resolve, with on-call leadership approval | View your clusters, restart, create, and run commands in Superblocks services in a fixed set of Superblocks namespaces, restart other platform components such as cert-manager, and write objects in Superblocks S3 buckets | Make changes outside the resources the Superblocks platform owns, change your audit logs, or change your instance's deployment state |

The admin support role exists to restore your instance during an incident, for example by restarting a failing Superblocks service. When it's used, you hear about it through the incident communication for that incident.

## What support access excludes

Superblocks personnel don't access:

* **Your data sources:** Superblocks personnel never connect to your data sources. Only your apps do, from your data plane, through the integrations you configure. Routine support uses the read-only support role, which has no network path to your data sources.
* **Your app databases and files:** The support roles have no login to your [app databases](https://docs.superblocks.com/admin/superblocks-on-aws/database.md), and no access to the files in your [app file storage](https://docs.superblocks.com/admin/superblocks-on-aws/file-store.md). The data in them is yours to manage.
* **Your secrets:** The support roles can't read secrets you create.
* **Your AI prompts and responses:** We don't access your AI prompt and response history.
* **Your app telemetry:** We don't access the logs, metrics, and traces from your apps. See [Telemetry](https://docs.superblocks.com/enterprise/architecture/platform-architecture.md#telemetry).

## Audit log visibility

Support access is recorded in your AWS account:

* **AWS CloudTrail** records each time a support role is assumed, and every AWS API call made with it. Managed BYOC configures a trail across all regions, with log file validation, in a dedicated bucket that the support roles can't write to.
* **Kubernetes audit logs** record the actions taken in your instance's clusters. They're delivered to CloudWatch Logs in your account.

The support roles' names start with `superblocks-support-`. To list support activity with [CloudTrail Lake](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake.html), run a query like this, replacing `<event_data_store_id>` with your event data store:

```sql theme={null}
SELECT eventTime, eventName, eventSource,
       userIdentity.sessionContext.sessionIssuer.userName AS supportRole
FROM <event_data_store_id>
WHERE userIdentity.sessionContext.sessionIssuer.userName LIKE 'superblocks-support-%'
ORDER BY eventTime DESC
```

To find support activity in a cluster, run a [CloudWatch Logs Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html) query on the cluster's log group, `/aws/eks/<cluster name>/cluster`:

```
fields @timestamp, verb, objectRef.resource, objectRef.namespace, user.username
| filter @logStream like /kube-apiserver-audit/ and user.username like /superblocks-support-/
| sort @timestamp desc
```

Support sessions appear under the support role's name. To find out which Superblocks engineer used a specific session, contact Superblocks support.

## Restrict support access

You can gate either support role behind time-boxed access windows that your team opens:

1. **Block the roles:** Add a [resource control policy](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html) (RCP) that denies assuming the support roles, except during a window. Outside a window, no support session can start, so there's no access to your AWS resources or your clusters.
2. **We page you:** When an incident needs support access, our team pages your on-call team. Your deployment team records how to page them.
3. **Open a window:** Set the window's start and end times in the policy, and tell us it's open. We wait for your confirmation before we use the role.
4. **The window closes:** When it ends, the roles can't be assumed again. Sessions that are already open end when they expire, within one hour.

For example, this RCP lets the support roles be assumed only between the two times you set:

```json theme={null}
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DenySupportBeforeWindow",
      "Effect": "Deny",
      "Principal": "*",
      "Action": "sts:AssumeRole",
      "Resource": "arn:aws:iam::*:role/superblocks-support-*",
      "Condition": { "DateLessThan": { "aws:CurrentTime": "<window start>" } }
    },
    {
      "Sid": "DenySupportAfterWindow",
      "Effect": "Deny",
      "Principal": "*",
      "Action": "sts:AssumeRole",
      "Resource": "arn:aws:iam::*:role/superblocks-support-*",
      "Condition": { "DateGreaterThan": { "aws:CurrentTime": "<window end>" } }
    }
  ]
}
```

To gate only the admin support role, use `superblocks-support-admin-*` as the resource. To also stop an open session's AWS requests as soon as a window closes, add a service control policy that denies the support roles' actions outside the window.

During an incident, we can't use a gated role until you open the window, which can lengthen recovery.

Restricting support access can affect our ability to deploy updates, troubleshoot issues, and meet our service level agreements (SLAs). Talk to your deployment team before you restrict support access, and don't change the support roles or other Superblocks-managed resources in your account. See [Shared responsibility](https://docs.superblocks.com/enterprise/architecture/shared-responsibility.md#managed-byoc-responsibilities).

## FAQ

> [accordion] When does Superblocks use support access?
>
> Superblocks on-call engineers use the read-only support role for routine support and debugging. They use the admin support role only in break-glass scenarios, such as an incident that normal operations can't resolve.

> [accordion] Can any Superblocks employee use support access?
>
> No. Only Superblocks on-call engineers who are granted support access can use it, after signing in to our corporate Okta with a hardware security key. Connections to your instance's Kubernetes clusters also have to come through the Superblocks support VPN. The admin support role also requires approval from Superblocks on-call leadership.

> [accordion] How long does support access last?
>
> Each session expires within one hour. If an incident takes longer, the engineer starts a new session, which is recorded the same way.

> [accordion] Can I see when Superblocks accessed my instance?
>
> Yes. Every session and action is recorded in your CloudTrail and Kubernetes audit logs. See [Audit log visibility](#audit-log-visibility).

> [accordion] Can Superblocks personnel access my data sources?
>
> No. Superblocks personnel never connect to your data sources. Only your apps do, from your data plane. Routine support uses the read-only support role, which has no network path to them. See [What support access excludes](#what-support-access-excludes).

> [accordion] Can Superblocks read my secrets?
>
> No. Neither support role can read the secrets you create, and the permissions boundary keeps both roles out of resources outside the Superblocks platform. The read-only support role also can't read Kubernetes secrets in your clusters.

> [accordion] Will I know when the admin support role is used?
>
> Yes. You hear about it through the incident communication for the incident that needed it. If you gate the admin support role, you open the access window yourself.

> [accordion] Can I turn off support access?
>
> You can gate both support roles, so we can use them only during access windows you open. Gating limits our ability to support your instance and meet our SLAs. See [Restrict support access](#restrict-support-access).

## Related pages

* [Shared and centralized services](https://docs.superblocks.com/enterprise/architecture/shared-centralized-services.md#support-access)
* [Shared responsibility](https://docs.superblocks.com/enterprise/architecture/shared-responsibility.md)
* [IAM permissions boundaries](https://docs.superblocks.com/enterprise/cloud-prem/configure/permissions-boundary.md)
* [Managed BYOC deployment guide](https://docs.superblocks.com/enterprise/cloud-prem/deployment-guide.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.