kubectl get secrets -A
Examples[edit]
Minikube[edit]
k get secret -A NAMESPACE NAME TYPE DATA AGE kube-system bootstrap-token-zdluu3 bootstrap.kubernetes.io/token 6 49m
Others[edit]
NAMESPACE NAME TYPE DATA AGE amazon-cloudwatch cloudwatch-agent-token-xjjx8 kubernetes.io/service-account-token 3 25d amazon-cloudwatch default-token-mfl44 kubernetes.io/service-account-token 3 25d amazon-cloudwatch fluent-bit-token-w8n8l kubernetes.io/service-account-token 3 25d aqua aqua-database-password Opaque 2 25d aqua aqua-kube-enforcer-certs Opaque 3 25d aqua aqua-kube-enforcer-token Opaque 1 25d aqua aqua-registry-secret kubernetes.io/dockerconfigjson 1 25d aqua aqua-sa-token-lw9bw kubernetes.io/service-account-token 3 25d aqua default-token-j8td9 kubernetes.io/service-account-token 3 25d aqua enforcer-agent-token Opaque 1 25d aqua sh.helm.release.v1.aqua.v1 helm.sh/release.v1 1 25d aqua sh.helm.release.v1.enforcer.v1 helm.sh/release.v1 1 25d aqua sh.helm.release.v1.kube-enforcer.v1 helm.sh/release.v1 1 25d aqua starboard Opaque 0 25d aqua starboard-operator-token-vfw4c kubernetes.io/service-account-token 3 25d argocd argocd-application-controller-token-7gfcf kubernetes.io/service-account-token 3 25d argocd argocd-applicationset-controller-token-jb4sg kubernetes.io/service-account-token 3 25d argocd argocd-dex-server-token-4j88n kubernetes.io/service-account-token 3 25d argocd argocd-initial-admin-secret Opaque 1 25d argocd argocd-notifications-controller-token-48wfw kubernetes.io/service-account-token 3 25d argocd argocd-notifications-secret Opaque 0 25d argocd argocd-repo-server-token-sdxjz kubernetes.io/service-account-token 3 25d argocd argocd-secret Opaque 5 25d argocd argocd-server-token-xqdlf kubernetes.io/service-account-token 3 25d argocd default-token-qjv2j kubernetes.io/service-account-token 3 25d argocd sh.helm.release.v1.argocd.v1 helm.sh/release.v1 1 25d cattle-dashboards default-token-g9dxl kubernetes.io/service-account-token 3 25d cattle-fleet-system default-token-5rmcf kubernetes.io/service-account-token 3 25d cattle-fleet-system fleet-agent Opaque 4 25d cattle-fleet-system fleet-agent-token-9577s kubernetes.io/service-account-token 3 25d cattle-fleet-system sh.helm.release.v1.fleet-agent-c-s8twx.v1 helm.sh/release.v1 1 25d cattle-impersonation-system cattle-impersonation-u-3yfsgelngt-token-s5fjs kubernetes.io/service-account-token 3 25d cattle-impersonation-system cattle-impersonation-u-426ttnnmkv-token-t7jsl kubernetes.io/service-account-token 3 6d cattle-impersonation-system cattle-impersonation-u-4eafpamxhw-token-jn7tv kubernetes.io/service-account-token 3 20d cattle-impersonation-system cattle-impersonation-u-6gbytfut5f-token-hwz4w kubernetes.io/service-account-token 3 25d cattle-impersonation-system cattle-impersonation-u-eafawomxlj-token-gjx95 kubernetes.io/service-account-token 3 25d cattle-impersonation-system cattle-impersonation-u-epq4pqtnxo-token-nct6x kubernetes.io/service-account-token 3 25d cattle-impersonation-system cattle-impersonation-u-uzr64xhw3s-token-4c5wd kubernetes.io/service-account-token 3 25d cattle-impersonation-system cattle-impersonation-u-vzb57f36tt-token-kz5l8 kubernetes.io/service-account-token 3 25d cattle-impersonation-system default-token-729cr kubernetes.io/service-account-token 3 25d cattle-monitoring-system alertmanager-rancher-monitoring-alertmanager Opaque 2 25d cattle-monitoring-system alertmanager-rancher-monitoring-alertmanager-generated Opaque 2 25d cattle-monitoring-system alertmanager-rancher-monitoring-alertmanager-tls-assets-0 Opaque 0 25d cattle-monitoring-system alertmanager-rancher-monitoring-alertmanager-web-config Opaque 1 25d cattle-monitoring-system default-token-2cqmm kubernetes.io/service-account-token 3 25d cattle-monitoring-system prometheus-rancher-monitoring-prometheus Opaque 1 25d cattle-monitoring-system prometheus-rancher-monitoring-prometheus-tls-assets-0 Opaque 1 25d cattle-monitoring-system prometheus-rancher-monitoring-prometheus-web-config Opaque 1 25d cattle-monitoring-system rancher-monitoring-admission Opaque 3 25d cattle-monitoring-system rancher-monitoring-alertmanager-token-v8q2c kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-crd-manager-token-n6mv4 kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-grafana Opaque 3 25d cattle-monitoring-system rancher-monitoring-grafana-token-4nldj kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-kube-state-metrics-token-szrgp kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-operator-token-wlc7t kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-patch-sa-token-4sch9 kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-prometheus-adapter-token-cz45s kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-prometheus-node-exporter-token-vdcbs kubernetes.io/service-account-token 3 25d cattle-monitoring-system rancher-monitoring-prometheus-token-cb24q kubernetes.io/service-account-token 3 25d cattle-monitoring-system sh.helm.release.v1.rancher-monitoring-crds.v1 helm.sh/release.v1 1 25d cattle-monitoring-system sh.helm.release.v1.rancher-monitoring.v1 helm.sh/release.v1 1 25d cattle-system cattle-credentials-ea4592c Opaque 3 25d cattle-system cattle-token-4j6dj kubernetes.io/service-account-token 3 25d cattle-system default-token-89zcf kubernetes.io/service-account-token 3 25d cattle-system kontainer-engine-token-9s4bj kubernetes.io/service-account-token 3 25d cattle-system serving-cert kubernetes.io/tls 2 25d cattle-system stv-aggregation Opaque 6 25d cattle-system tls-rancher kubernetes.io/tls 2 25d cattle-system tls-rancher-internal-ca kubernetes.io/tls 2 25d default default-token-4jn4b kubernetes.io/service-account-token 3 25d gatekeeper-system default-token-j5qnn kubernetes.io/service-account-token 3 25d gatekeeper-system gatekeeper-admin-token-hzmzg kubernetes.io/service-account-token 3 25d gatekeeper-system gatekeeper-webhook-server-cert Opaque 4 25d gatekeeper-system sh.helm.release.v1.gatekeeper-constraints.v1 helm.sh/release.v1 1 25d gatekeeper-system sh.helm.release.v1.gatekeeper-templates.v1 helm.sh/release.v1 1 25d gatekeeper-system sh.helm.release.v1.gatekeeper.v1 helm.sh/release.v1 1 25d kube-node-lease default-token-dwgtg kubernetes.io/service-account-token 3 25d kube-public default-token-rhx9h kubernetes.io/service-account-token 3 25d kube-system attachdetach-controller-token-xwjjn kubernetes.io/service-account-token 3 25d kube-system aws-cloud-provider-token-cm89x kubernetes.io/service-account-token 3 25d kube-system aws-node-token-9mcqh kubernetes.io/service-account-token 3 25d kube-system certificate-controller-token-vgpw9 kubernetes.io/service-account-token 3 25d kube-system clusterrole-aggregation-controller-token-jcdfp kubernetes.io/service-account-token 3 25d kube-system coredns-token-w85n2 kubernetes.io/service-account-token 3 25d kube-system cronjob-controller-token-lxtc4 kubernetes.io/service-account-token 3 25d kube-system daemon-set-controller-token-gkx2r kubernetes.io/service-account-token 3 25d kube-system default-token-b9w9m kubernetes.io/service-account-token 3 25d kube-system deployment-controller-token-p74nv kubernetes.io/service-account-token 3 25d kube-system disruption-controller-token-wht8f kubernetes.io/service-account-token 3 25d kube-system ebs-csi-controller-sa-token-lxcwc kubernetes.io/service-account-token 3 25d kube-system ebs-csi-node-sa-token-xsmkx kubernetes.io/service-account-token 3 25d kube-system eks-vpc-resource-controller-token-5qk2w kubernetes.io/service-account-token 3 25d kube-system endpoint-controller-token-8sfzk kubernetes.io/service-account-token 3 25d kube-system endpointslice-controller-token-nhzxw kubernetes.io/service-account-token 3 25d kube-system endpointslicemirroring-controller-token-xf5h6 kubernetes.io/service-account-token 3 25d kube-system ephemeral-volume-controller-token-4mgtn kubernetes.io/service-account-token 3 25d kube-system expand-controller-token-spkqv kubernetes.io/service-account-token 3 25d kube-system generic-garbage-collector-token-9z5pp kubernetes.io/service-account-token 3 25d kube-system horizontal-pod-autoscaler-token-mznqk kubernetes.io/service-account-token 3 25d kube-system job-controller-token-wp5zl kubernetes.io/service-account-token 3 25d kube-system kube-proxy-token-p6ssm kubernetes.io/service-account-token 3 25d kube-system namespace-controller-token-k65sw kubernetes.io/service-account-token 3 25d kube-system node-controller-token-vp7qz kubernetes.io/service-account-token 3 25d kube-system persistent-volume-binder-token-psrrc kubernetes.io/service-account-token 3 25d kube-system pod-garbage-collector-token-nwqpl kubernetes.io/service-account-token 3 25d kube-system pv-protection-controller-token-dlbkw kubernetes.io/service-account-token 3 25d kube-system pvc-protection-controller-token-j2n22 kubernetes.io/service-account-token 3 25d kube-system replicaset-controller-token-mslh2 kubernetes.io/service-account-token 3 25d kube-system replication-controller-token-zzdfq kubernetes.io/service-account-token 3 25d kube-system resourcequota-controller-token-g4xvf kubernetes.io/service-account-token 3 25d kube-system root-ca-cert-publisher-token-796tq kubernetes.io/service-account-token 3 25d kube-system service-account-controller-token-zwtd6 kubernetes.io/service-account-token 3 25d kube-system service-controller-token-4ldrs kubernetes.io/service-account-token 3 25d kube-system snapshot-controller-token-5hvnk kubernetes.io/service-account-token 3 25d kube-system statefulset-controller-token-wr2ck kubernetes.io/service-account-token 3 25d kube-system tagging-controller-token-ws99n kubernetes.io/service-account-token 3 25d kube-system ttl-after-finished-controller-token-jqcw7 kubernetes.io/service-account-token 3 25d kube-system ttl-controller-token-6s7kb kubernetes.io/service-account-token 3 25d local default-token-5dtcg kubernetes.io/service-account-token 3 25d nginx-ingress default-token-wdn9s kubernetes.io/service-account-token 3 25d nginx-ingress nginx-ingress-controller-token-8hwkc kubernetes.io/service-account-token 3 25d nginx-ingress sh.helm.release.v1.nginx-ingress-controller.v1 helm.sh/release.v1 1 25d nginx-k8s default-token-vpfbk kubernetes.io/service-account-token 3 25d nginx-k8s ingress-nginx-controller-admission Opaque 3 25d nginx-k8s ingress-nginx-controller-backend-token-tnsj4 kubernetes.io/service-account-token 3 25d nginx-k8s ingress-nginx-controller-token-5629l kubernetes.io/service-account-token 3 25d nginx-k8s sh.helm.release.v1.ingress-nginx-controller.v1 helm.sh/release.v1 1 25d sentinelone default-token-hsk42 kubernetes.io/service-account-token 3 25d sentinelone s1-registry kubernetes.io/dockerconfigjson 1 25d sentinelone sentinelone-helper kubernetes.io/tls 3 25d sentinelone sentinelone-token-gjnsz kubernetes.io/service-account-token 3 25d sentinelone sh.helm.release.v1.sentinelone.v1 helm.sh/release.v1 1 25d sentinelone sitekey Opaque 1 25d
See also[edit]
- Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
Advertising: