← Learn
Safe
kubectl create secret generic api-creds --from-file=password=./password.txt

cross-platform · bash · Expert

Creates the same secret by reading the value out of a file. The password never appears as an argument, so it stays out of shell history and…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Credential Access