kubernetes

Get a Secret

Get a Secret by name for a given namespace. Access policy: Authenticated user.

get/kubernetes/{id}/namespaces/{namespace}/secrets/{secret}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/kubernetes/{id}/namespaces/{namespace}/secrets/{secret}
  • Auth
    API key in header X-API-KEY and API key in header Authorization

Path parameters

idinteger required

Environment identifier

namespacestring required

The namespace name where the secret is located

secretstring required

The secret name to get details for

Response

Success

Annotationsobject
ConfigurationOwnerstring
ConfigurationOwnerIdstring
CreationDatestring
Dataobject
IsUsedboolean
Labelsobject
Namestring
Namespacestring
SecretTypestring
UIDstring

Changes

No recorded changes to this operation across all 21 revisions of this API.