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 →
25A signing or encryption key is suspected to be compromised. Walk through your response.▼hardNewMicrosoftGoogleAmazon◆ premiumThe response differs sharply between a signing key and an encryption key. The scored answer contains use, rotates, revokes trust, assesses what the attacker could forge or read, and repairs what depended on it.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 →