def read_secret(session, *, secret_id):
    """
    Retrieve a secret from Secrets Manager.
    """
    secrets_client = session.client("secretsmanager")
    return secrets_client.get_secret_value(SecretId=secret_id)["SecretString"]