POST
/
org
/
{org}
/
gvc
/
{gvc}
/
identity
curl --request POST \
  --url https://api.cpln.io/org/{org}/gvc/{gvc}/identity \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "tags": {},
  "aws": {
    "cloudAccountLink": "<string>",
    "policyRefs": [
      "<string>"
    ],
    "trustPolicy": {
      "Version": "2012-10-17",
      "Statement": [
        {}
      ]
    },
    "roleName": "<string>"
  },
  "gcp": {
    "cloudAccountLink": "<string>",
    "scopes": [
      "<string>"
    ],
    "serviceAccount": "<string>",
    "bindings": [
      {
        "resource": "<string>",
        "roles": [
          "<string>"
        ]
      }
    ]
  },
  "azure": {
    "cloudAccountLink": "<string>",
    "roleAssignments": [
      {
        "scope": "<string>",
        "roles": [
          "<string>"
        ]
      }
    ]
  },
  "ngs": {
    "cloudAccountLink": "<string>",
    "pub": {
      "allow": [
        "<string>"
      ],
      "deny": [
        "<string>"
      ]
    },
    "sub": {
      "allow": [
        "<string>"
      ],
      "deny": [
        "<string>"
      ]
    },
    "resp": {
      "max": 123,
      "ttl": "<string>"
    },
    "subs": 123,
    "data": 123,
    "payload": 123
  },
  "networkResources": [
    {
      "name": "<string>",
      "agentLink": "<string>",
      "IPs": [
        "<string>"
      ],
      "FQDN": "<string>",
      "resolverIP": "<string>",
      "ports": [
        123
      ]
    }
  ],
  "nativeNetworkResources": [
    {
      "name": "<string>",
      "FQDN": "<string>",
      "ports": [
        123
      ],
      "awsPrivateLink": {
        "endpointServiceName": "<string>"
      },
      "gcpServiceConnect": {
        "targetService": "<string>"
      }
    }
  ],
  "memcacheAccess": [
    {
      "clusterLink": "<string>",
      "role": "readWrite"
    }
  ],
  "spicedbAccess": [
    {
      "clusterLink": "<string>",
      "role": "checkPermission"
    }
  ],
  "gvc": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Service account key can be used as API keys

Path Parameters

org
string
required
gvc
string
required

Body

application/json
description
string
Maximum length: 250
tags
object
aws
object
gcp
object
azure
object
ngs
object
networkResources
object[]
nativeNetworkResources
object[]
memcacheAccess
object[]
spicedbAccess
object[]
gvc
string

Response

201
application/json
Identity was created successfully

The response is of type any.