"Access secrets" documentation assumes lambda has secretsmanager:GetSecretValue permissions rather then telling us how to actually set this programmatically in the code. so ... how do we set this, programattically, in the code?
SPECIFICALLY in the auth/post-confirmation hook, if this was in a normal backend function it would be a no brainer but i can't find ANYTHING that shows us how to do it for auth functions.