21How should an application, and an AI agent, handle secrets such as API keys and database passwords?▼mediumNewAmazonGoogleMicrosoft◆ premiumLeaked keys remain one of the commonest breach causes, and agents create new places to leak them. The scored answer prefers no secret at all, then short-lived ones, and keeps them out of every model context.Open full answer →
29How do secret managers work: authenticating workloads, dynamic secrets with leases, rotation, and solving the 'secret zero' problem?▼hardNewAmazonGoogleMicrosoft◆ premiumMoving passwords from config files into a secret manager helps only if the application's way of logging in to the secret manager is not itself a password in a config file.Open full answer →
30How does secret scanning work (patterns, entropy, validity checks, push protection), and what should happen when a secret leaks?▼mediumNewMicrosoftGoogleAmazon◆ premiumDeleting the commit feels like fixing the leak. It isn't: the secret was public the moment it was pushed, and only revoking it ends the exposure.Open full answer →