kubectl describe secrets/[secret name] -n [namespace]
kubectl get secret [secret name] -n [namespace] -o yaml
apiVersion: v1
data:
.dockerconfigjson: [base 64 encoded secret data]
kind: Secret
metadata:
creationTimestamp: [date time]
name: [secret name]
namespace: [namespace]
resourceVersion: [???]
selfLink: [???}
uid: [???]
type: [type]
data:
.dockerconfigjson: [base 64 encoded secret data]
kind: Secret
metadata:
creationTimestamp: [date time]
name: [secret name]
namespace: [namespace]
resourceVersion: [???]
selfLink: [???}
uid: [???]
type: [type]
kubectl delete secret [secret name] -n [namespace]