Where do you keep secrets, API keys and service credentials, and how often are they rotated?

Name the approved secret store, who can retrieve credentials and when each class is rotated. Include evidence of a recent rotation and repository scanning coverage.

How to explain secret storage and rotation

Written by StationOps Team. Updated .

What they’re really checking

Where could a payment API key be read, how long could it work, and who would know if the wrong person obtained it? Cover storage, retrieval, replacement and revocation.

What a good answer looks like

Example to adapt with your own details

[Service] obtains [credential class] from [store] using [workload identity]. [Owner] rotates it [interval or event]. In [record], the replacement went live on [date] and the previous credential was disabled at [time]. [Scanning control] covers [repositories and branches]. [Exception] is due for review on [date].

Give a dated example of a rotation or removal with the old credential invalidated. Keep the secret values out of screenshots and exports.

Describe the lifetime of credentials issued automatically and the rotation policy for long-lived keys separately. A regular schedule also needs a route for urgent revocation.

A scanning alert is evidence of detection. If a real credential was exposed, the closure record should show when it was revoked and who checked affected use.

Evidence to send

  • An inventory of credential classes, owners, storage locations and lifetimes, with values omitted.
  • A redacted rotation event recording both deployment of the replacement and retirement of the old key.
  • Repository scanning coverage and a redacted record of how an alert was handled.

What to do if you can’t answer yet

  1. List where each credential lives and who owns it.
  2. Check repository history and deployment variables for control coverage.
  3. Verify a representative rotation and record when the previous key stopped working.

Who asks this

An enterprise customer or bank may ask about keys issued by a partner as well as keys your fintech controls. Identify who can authorise replacement in each case.

Related questions

This is general guidance. It does not constitute legal or audit advice.

Talk to a cloud expert

We use optional cookies to measure site usage and see whether a Google ad led to a booking, questionnaire request or contact form submission. With analytics enabled, HubSpot and PostHog can link activity to contact details you submit. PostHog can record sessions with form inputs masked.

Read the cookie notice