CI/CD use K8S Secret as a variable

I see the docs that say i can use a k8s secret by naming the variable K8S_SECRET_NAME but whats the value supposed to be? namespace/secret.data? How do I specify the secret and data element?

Thanks
Marc