Kubespec Logo kubespec.dev

v1 · Cluster Resource

ServiceAccount

        ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
      

Click on Property Name to see the description, and Pink Types to expand schema.

Change History

Kubernetes v1.32

~1

1 property has changed the description

  • .secrets

Kubernetes v1.31

Kubernetes v1.30

~1

Kubernetes v1.29

Kubernetes v1.28

Kubernetes v1.27

~7

Kubernetes v1.26

Examples

There are 1 examples of ServiceAccount that you can use as a starting point to create your own.

apiVersion: v1
kind: ServiceAccount
metadata:
  name: my-app-service-account # just give it a name and then use it on your Pods/Deployments/etc
automountServiceAccountToken: false # you can opt out of the API credential automounting

Other useful resources