amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Reset team-provider-info.json

Open johnEthicalTechnology opened this issue 5 years ago • 3 comments

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 avatar Apr 21 '21 03:04 johnEthicalTechnology

@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 avatar Apr 21 '21 21:04 edwardfoyle

@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! :)

johnEthicalTechnology avatar Apr 22 '21 00:04 johnEthicalTechnology

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.

github-actions[bot] avatar May 24 '21 20:05 github-actions[bot]