Skip to content

Commit 77362e2

Browse files
authored
Merge pull request #25498 from adambkaplan/ssh-auth-secret-caution
Caution Note for ssh-auth Secrets
2 parents 45135da + 7b80f63 commit 77362e2

File tree

1 file changed

+7
-0
lines changed
  • content/en/docs/concepts/configuration

1 file changed

+7
-0
lines changed

content/en/docs/concepts/configuration/secret.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@ However, using the builtin Secret type helps unify the formats of your credentia
271271
and the API server does verify if the required keys are provided in a Secret
272272
configuration.
273273

274+
{{< caution >}}
275+
SSH private keys do not establish trusted communication between an SSH client and
276+
host server on their own. A secondary means of establishing trust is needed to
277+
mitigate "man in the middle" attacks, such as a `known_hosts` file added to a
278+
ConfigMap.
279+
{{< /caution >}}
280+
274281
### TLS secrets
275282

276283
Kubernetes provides a builtin Secret type `kubernetes.io/tls` for to storing

0 commit comments

Comments
 (0)