DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Kubernetes Secret

Secrets Management

A Kubernetes Secret is an object that stores a small piece of sensitive data, such as a password, an API token or a TLS certificate. Pods read it as an environment variable or as a mounted file, so the value stays out of the container image and the code. The values are only base64-encoded by default, so you should turn on encryption at rest and restrict who can read them.

Patent-style sketch of a Kubernetes Secret: a strongbox labelled secret delivers its contents to a pod along 2 routes, a tag labelled env variable and a folder labelled mounted file.