How do I view the Kubernetes secret content?
Steps
1 |
Log in as the root or NSP admin user on the NSP deployer host. |
2 |
Open a console window. |
3 |
Enter the following: # cd /opt/nsp/NSP-CN-DEP-release-ID/bin ↵ |
4 |
Enter the following: # ./nspdeployerctl secret describe ↵ The content of each secret is displayed; the following example shows the output for one secret: Secret: secret_name secret_desctription Namespaces: associated_namespaces Status: status Immutable: no Content: tls.key,tls.crt (cert_type CA key pair), type=cacert(days=365), status=status tls.key (cert_type CA private key), type=file, value=<prompted>, status=status tls.crt (cert_type CA certificate), type=file, value=<prompted>, status=status The status reads active unless the secret is deleted, in which case the status reads inactive. |
5 |
View the secrets, as required. |
6 |
Close the console window. End of steps |