We make placebo “pills” (recordings) from local machines, using user credentials, against environments set up to produce the appropriate test data. For example, you might populate a DynamoDB table with records. Then, using the Python console or a script, you attach placebo in the recording mode to a boto3 session and make the appropriate SDK calls, which stores the responses in a file (but is not credential-dependent, other than that the permissions are the same as what will be in testing). Then, when testing, you use it in playback mode with the file created before. We do that on a roughly per-test basis, though tests can share files if they don’t have different requirements.