diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 5c553b5cc6..95e15528fc 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -352,6 +352,8 @@ NAME TYPE DATA db-user-pass-96mffmfh4k Opaque 2 51s ``` +You can view a description of the secret: + ```shell kubectl describe secrets/db-user-pass-96mffmfh4k ``` @@ -1002,6 +1004,8 @@ The output is similar to: secret "prod-db-secret" created ``` +You can also create a secret for test environment credentials. + ```shell kubectl create secret generic test-db-secret --from-literal=username=testuser --from-literal=password=iluvtests ```