concept mountable secret in category kubernetes

appears as: mountable secrets
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

Understanding a ServiceAccount’s mountable secrets

The token is shown in the Mountable secrets list when you inspect a ServiceAccount with kubectl describe. Let me explain what that list represents. In chapter 7 you learned how to create Secrets and mount them inside a pod. By default, a pod can mount any Secret it wants. But the pod’s ServiceAccount can be configured to only allow the pod to mount Secrets that are listed as mountable Secrets on the Service-Account. To enable this feature, the ServiceAccount must contain the following annotation: kubernetes.io/enforce-mountable-secrets="true".