Closed karkir0003 closed 8 months ago
Hello @karkir0003! Thank you for submitting the 🐞Bug Request Form. We appreciate your contribution. :wave:
We will look into it and provide a response as soon as possible.
To work on this bug request, you can follow these branch setup instructions:
Checkout the main branch:
git checkout nextjs
Pull the latest changes from the remote main branch:
git pull origin nextjs
Create a new branch specific to this bug request using the issue number:
git checkout -b bug-1084
Feel free to make the necessary changes in this branch and submit a pull request when you're ready.
Best regards, Deep Learning Playground (DLP) Team
Steps to resolve:
init_firebase
function to use the correct regionTesting the code: dlp-cli backed id-token <your email>
relevant files:
cli.py
: https://github.com/DSGT-DLP/Deep-Learning-Playground/blob/nextjs/training/cli.py (this file retrieves the secret using boto3 client)
dlp-cli backend id-token
command: https://github.com/DSGT-DLP/dlp-cli/blob/main/cmd/backend/id_token/id_token.go
Operating system
MacOS
Bug description
When we run
dlp-cli backend id-token <email acct>
to get bearer token for testing our backend APIs, we run into an error message along the lines ofbotocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the GetSecretValue operation: User is not authorized to perform: secretsmanager:GetSecretValue on resource: DLP/Firebase/Admin_SDK because no identity-based policy allows the secretsmanager:GetSecretValue action
Steps to reproduce
dlp-cli backend id-token <your email acct here>
afteraws configure sso