Reset team-provider-info.json
Note: If your question is regarding the AWS Amplify Console service, please log it in the AWS Amplify Console repository
There was an accident on a code base I'm working on where the team-provider-info.json file was exposed on a public repo. What is the best way to deal with this so as to minimise any security issues?
I'm assuming I can't just delete the file and publish the app again? Will I have to create entirely new infrastructure again? Or is there another way?
Which Category is your question related to? Infrastructure
Amplify CLI Version
4.45
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
Provide additional details e.g. code snippets
@johnEthicalTechnology if your team-provider-info.json file contained any sort of access tokens or credentials you should revoke / rotate the exposed credentials immediately and update your team-provider-info.json file with new credentials. Other information in the file are ARN references to the resources, not access to those resources.
By default, team-provider-info.json is in your .gitignore file
@edwardfoyle Thankfully, there were no credentials in the file. I had a feeling the ARN references weren't a security risk, I just wanted to sure.
Thanks a lot! :)
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.