curl --request GET \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/identity/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"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"
}
],
"status": {
"objectName": "<string>",
"aws": {
"lastError": "<string>",
"usable": true
},
"gcp": {
"lastError": "<string>",
"usable": true
},
"azure": {
"lastError": "<string>",
"usable": true
}
},
"gvc": "<string>"
}
Response will contain the requested identity if the caller is authorized to view it
curl --request GET \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/identity/{name}
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"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"
}
],
"status": {
"objectName": "<string>",
"aws": {
"lastError": "<string>",
"usable": true
},
"gcp": {
"lastError": "<string>",
"usable": true
},
"azure": {
"lastError": "<string>",
"usable": true
}
},
"gvc": "<string>"
}
Service account key can be used as API keys
Success
The response is of type object
.