GET
/
apis
/
cloud.streamnative.io
/
v1alpha1
/
namespaces
/
{namespace}
/
apikeys
/
{name}
{
  "apiVersion": "<string>",
  "kind": "<string>",
  "metadata": {
    "annotations": {},
    "clusterName": "<string>",
    "creationTimestamp": "2023-11-07T05:31:56Z",
    "deletionGracePeriodSeconds": 123,
    "deletionTimestamp": "2023-11-07T05:31:56Z",
    "finalizers": [
      ""
    ],
    "generateName": "<string>",
    "generation": 123,
    "labels": {},
    "managedFields": [
      {
        "apiVersion": "<string>",
        "fieldsType": "<string>",
        "fieldsV1": {},
        "manager": "<string>",
        "operation": "<string>",
        "subresource": "<string>",
        "time": "2023-11-07T05:31:56Z"
      }
    ],
    "name": "<string>",
    "namespace": "<string>",
    "ownerReferences": [
      {
        "apiVersion": "",
        "blockOwnerDeletion": true,
        "controller": true,
        "kind": "",
        "name": "",
        "uid": ""
      }
    ],
    "resourceVersion": "<string>",
    "selfLink": "<string>",
    "uid": "<string>"
  },
  "spec": {
    "description": "<string>",
    "encryptionKey": {
      "jwk": "<string>",
      "pem": "<string>"
    },
    "expirationTime": "2023-11-07T05:31:56Z",
    "instanceName": "<string>",
    "revoke": true,
    "serviceAccountName": "<string>"
  },
  "status": {
    "conditions": [
      {
        "lastTransitionTime": "2023-11-07T05:31:56Z",
        "message": "",
        "observedGeneration": 123,
        "reason": "",
        "status": "",
        "type": ""
      }
    ],
    "encryptedToken": {
      "jwe": "<string>"
    },
    "expiresAt": "2023-11-07T05:31:56Z",
    "issuedAt": "2023-11-07T05:31:56Z",
    "keyId": "<string>",
    "revokedAt": "2023-11-07T05:31:56Z",
    "token": "<string>"
  }
}

Path Parameters

name
string
required

name of the APIKey

namespace
string
required

object name and auth scope, such as for teams and projects

Query Parameters

pretty
string

If 'true', then the output is pretty printed.

Response

OK

APIKey

apiVersion
string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kind
string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadata
object

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

spec
object

APIKeySpec defines the desired state of APIKey

status
object

APIKeyStatus defines the observed state of ServiceAccount