Class Subject (1.21.0)

Subject(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Kubernetes Subject.

Attributes

NameDescription
kind google.cloud.securitycenter_v1.types.Kubernetes.Subject.AuthType
Authentication type for subject.
ns str
Namespace for subject.
name str
Name for subject.

Classes

AuthType

AuthType(value)

Auth types that can be used for Subject's kind field.

Values: AUTH_TYPE_UNSPECIFIED (0): Authentication is not specified. USER (1): User with valid certificate. SERVICEACCOUNT (2): Users managed by Kubernetes API with credentials stored as Secrets. GROUP (3): Collection of users.