Sidney Fox
01/11/2022, 11:13 PMFailed to scan table: Unable to locate credentials
I have AWS_CREDENTIALS
stored in Prefect cloud as a Secret, and I’ve tried passing credentials as envs passed to KuberenetesRun:
env={
"ACCESS_KEY": Secret("AWS_CREDENTIALS").get().get("ACCESS_KEY"),
"SECRET_ACCESS_KEY": Secret("AWS_CREDENTIALS").get().get("SECRET_ACCESS_KEY")
}
Returns the same error. What’s the best / preferred approach to authenticate a Kubernetes agent against AWS?Anna Geller
Sidney Fox
01/11/2022, 11:50 PM