I created a key/value secret in openshift. I want to retrieve the value of that key/value pair.
i tried using
oc describe secret ashish -n my-project
but it gave the value as shown below but i dont the value for my key it just shows 7bytes.
Name: ashish
Namespace: my-project
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
ashish: 7 bytes
.
character. Which is indeed likely for Secrets mapped as a volume. (the key becomes a file name) – Abecedary