---
title: "POST /v1/{+parent}/sacRealms"
method: POST
path: "/v1/{+parent}/sacRealms"
tags: ["projects"]
---

# POST /v1/{+parent}/sacRealms

`POST /v1/{+parent}/sacRealms`

Creates a new SACRealm in a given project.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `sacRealmId` string

## Request body

- SACRealm — Represents a Secure Access Connect (SAC) realm resource. A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service.
  - `createTime` string, google-datetime — Output only. Timestamp when the realm was created.
  - `labels` object — Optional. Optional list of labels applied to the resource.
  - `updateTime` string, google-datetime — Output only. Timestamp when the realm was last updated.
  - `name` string — Identifier. Resource name, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`.
  - `securityService` 'SECURITY_SERVICE_UNSPECIFIED' | 'PALO_ALTO_PRISMA_ACCESS' — Immutable. SSE service provider associated with the realm.
  - `pairingKey` SACRealmPairingKey — Key to be shared with SSE service provider to establish global handshake.
    - `key` string — Output only. Key value.
    - `expireTime` string, google-datetime — Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.
  - `state` 'STATE_UNSPECIFIED' | 'PENDING_PARTNER_ATTACHMENT' | 'PARTNER_ATTACHED' | 'PARTNER_DETACHED' | 'KEY_EXPIRED' — Output only. State of the realm.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networksecurity.md) · [All operations](https://skmtc.net/google/apis/networksecurity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networksecurity/versions/4afd54463fe6/schema)
