Secret and Credential Management
Secret and Credential Management
What problem it solves
Keeps the credentials that call models from leaking, and makes them revocable and attributable.
What it is
A self-hosted setup rarely has one secret: provider API keys, cloud account credentials, vector-store and database passwords, CI/CD tokens, and the access key for your own inference endpoint.
OWASP's secrets management guidance organises the work into four lines: centralise and standardise, automate management including rotation, issue on least privilege, and audit access itself - while keeping secrets out of code.
Rotation intervals are a checkable number. AWS writes that secrets left unchanged for a long time become more likely to be compromised, and its Secrets Manager can rotate automatically as often as every four hours.
Leaks often never touch the repository: AWS warns specifically that shell history and command logging can capture sensitive CLI arguments, and any key configured for a local tool is readable by other processes on that machine.
On your own service there is one extra question - whose key is it? A shared key makes it impossible later to say which team or which application made a call.
Why it matters
The real cost of one leaked key usually exceeds the difference between hosting options: billed usage, data exfiltration, and calls made under a stolen identity. Rotation and auditing decide whether you notice; least privilege decides how much was already lost when you do.
Chinese aliases
What you can do now
Models atlas: which quantisations exist and which tier fits your VRAM ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.