Difference between revisions of "Kubectl get secrets"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [[kubectl get]] secrets -n your-namespace
 
  [[kubectl get]] secrets -n your-namespace
  
  TYPE: <code>[[kubernetes.io/service-account-token]], Opaque, [[kubernetes.io/tls]]</code>
+
  TYPE: <code>[[kubernetes.io/service-account-token]], [[Opaque]], [[kubernetes.io/tls]]</code>
  
 
  kubectl get secrets
 
  kubectl get secrets

Revision as of 11:23, 9 August 2022

kubectl get secrets
kubectl get secret
kubectl get secrets -n your-namespace
TYPE: kubernetes.io/service-account-token, Opaque, kubernetes.io/tls
kubectl get secrets
NAME                    TYPE                                  DATA   AGE
default-token-bpnxd     kubernetes.io/service-account-token   3      3y220d
letsencrypt-yourprod    Opaque                                1      3y179d
your-token-xstbs        kubernetes.io/service-account-token   3      573d
kubectl get secrets -n kube-system
NAME                                             TYPE                                  DATA   AGE
attachdetach-controller-token-fgkbr              kubernetes.io/service-account-token   3      4y260d
calico-cpva-token-knknf                          kubernetes.io/service-account-token   3      2y305d
calico-sa-token-5qnjb                            kubernetes.io/service-account-token   3      2y305d
calico-token-kh2nj                               kubernetes.io/service-account-token   3      2y305d
certificate-controller-token-tql46               kubernetes.io/service-account-token   3      4y220d
cloud-provider-token-7rmfj                       kubernetes.io/service-account-token   3      4y220d
clusterrole-aggregation-controller-token-fcl5r   kubernetes.io/service-account-token   3      4y220d
cronjob-controller-token-nqj47                   kubernetes.io/service-account-token   3      4y220d
daemon-set-controller-token-h5wfs                kubernetes.io/service-account-token   3      4y220d
default-token-czkqn                              kubernetes.io/service-account-token   3      4y220d
deployment-controller-token-55x65                kubernetes.io/service-account-token   3      4y220d
disruption-controller-token-hl6p9                kubernetes.io/service-account-token   3      4y220d
endpoint-controller-token-lmn95                  kubernetes.io/service-account-token   3      4y220d
endpointslice-controller-token-82f5p             kubernetes.io/service-account-token   3      413d
endpointslicemirroring-controller-token-74rz7    kubernetes.io/service-account-token   3      70d
ephemeral-volume-controller-token-gvrgx          kubernetes.io/service-account-token   3      70d
event-exporter-sa-token-llcjw                    kubernetes.io/service-account-token   3      3y220d
expand-controller-token-n2ltq                    kubernetes.io/service-account-token   3      3y220d
fluentbit-gke-token-t4h77                        kubernetes.io/service-account-token   3      451d
fluentd-gcp-scaler-token-zq4h2                   kubernetes.io/service-account-token   3      3y220d
fluentd-gcp-token-9g6d7                          kubernetes.io/service-account-token   3      3y220d
fluentd-gke-scaler-token-626zb                   kubernetes.io/service-account-token   3      637d
fluentd-gke-token-5hcbw                          kubernetes.io/service-account-token   3      637d
generic-garbage-collector-token-l5x5q            kubernetes.io/service-account-token   3      3y220d
gitlab                                           kubernetes.io/service-account-token   3      3y220d
gke-metrics-agent-token-69vfn                    kubernetes.io/service-account-token   3      637d
heapster-token-tlflc                             kubernetes.io/service-account-token   3      3y220d
horizontal-pod-autoscaler-token-m9zf5            kubernetes.io/service-account-token   3      3y220d
ip-masq-agent-token-rct7h                        kubernetes.io/service-account-token   3      2y305d
job-controller-token-mzs2w                       kubernetes.io/service-account-token   3      3y220d
konnectivity-agent-cpha-token-ngwd4              kubernetes.io/service-account-token   3      70d
konnectivity-agent-token-mb5nd                   kubernetes.io/service-account-token   3      70d
kube-dns-autoscaler-token-f97zl                  kubernetes.io/service-account-token   3      3y220d
kube-dns-token-mx469                             kubernetes.io/service-account-token   3      3y220d
kube-proxy-token-9r895                           kubernetes.io/service-account-token   3      637d
kubernetes-dashboard-certs                       Opaque                                0      3y220d
kubernetes-dashboard-key-holder                  Opaque                                2      3y220d
kubernetes-dashboard-token-7m52v                 kubernetes.io/service-account-token   3      3y220d
metadata-agent-token-wrt7t                       kubernetes.io/service-account-token   3      2y165d
metadata-proxy-token-7bfds                       kubernetes.io/service-account-token   3      3y220d
metrics-server-token-vs2vb                       kubernetes.io/service-account-token   3      3y220d
namespace-controller-token-6cz9f                 kubernetes.io/service-account-token   3      3y220d
node-controller-token-qpsrd                      kubernetes.io/service-account-token   3      3y220d
persistent-volume-binder-token-prfbx             kubernetes.io/service-account-token   3      3y220d
pod-garbage-collector-token-pd9cb                kubernetes.io/service-account-token   3      3y220d
prometheus-to-sd-token-rm64p                     kubernetes.io/service-account-token   3      3y43d
pv-protection-controller-token-pcgpl             kubernetes.io/service-account-token   3      3y220d
pvc-protection-controller-token-bhb8s            kubernetes.io/service-account-token   3      3y220d
replicaset-controller-token-4khtl                kubernetes.io/service-account-token   3      3y220d
replication-controller-token-wktnt               kubernetes.io/service-account-token   3      3y220d
resourcequota-controller-token-vtbms             kubernetes.io/service-account-token   3      3y220d
root-ca-cert-publisher-token-v4szv               kubernetes.io/service-account-token   3      413d
route-controller-token-bwvb2                     kubernetes.io/service-account-token   3      3y220d
service-account-controller-token-ldqjg           kubernetes.io/service-account-token   3      3y220d
service-controller-token-44whd                   kubernetes.io/service-account-token   3      3y220d
statefulset-controller-token-45msg               kubernetes.io/service-account-token   3      3y220d
terraform-tiller-token-8zkrp                     kubernetes.io/service-account-token   3      2y233d
tiller-token-wlv7n                               kubernetes.io/service-account-token   3      3y220d
ttl-after-finished-controller-token-7dfz7        kubernetes.io/service-account-token   3      70d
ttl-controller-token-khk5v                       kubernetes.io/service-account-token   3      3y220d
typha-cpha-token-7q75t                           kubernetes.io/service-account-token   3      2y305d
typha-cpva-token-962wg                           kubernetes.io/service-account-token   3      2y305d



Related commands

Activities

See also

Advertising: