diff --git a/.gitignore b/.gitignore index a5e2304..28f2f5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ resources .hugo_build.lock +.idea diff --git a/content/docs/tutorials/railwayapp.md b/content/docs/tutorials/railwayapp.md new file mode 100644 index 0000000..db9ad3f --- /dev/null +++ b/content/docs/tutorials/railwayapp.md @@ -0,0 +1,41 @@ +--- +title: RailwayApp +--- + +*This tutorial provides step-by-step instructions on how to rotate a RailwayApp API Tokens.* + +--- + +## Generate a new RailwayApp API Token + +### Step 1 - Navigate to the RailwayApp page +After logging into RailwayApp(https://railway.app/dashboard), you can navigate to the page https://railway.app/account/tokens. +Alternatively, You can also click on the account profile on top right corner, then click on the Account Settings. +![](/images/railwayapp/1.png) +Once you are in settings page click on Tokens in the left tab menu +![](/images/railwayapp/2.png) + + +### Step 2 - Generate a new API Token +Once you are in tokens page(https://railway.app/account/tokens), simply add the token name in the text box and click on Create. +Once created, Copy the token and keep it safe somewhere. + +--- + +## Delete the Leaked RailwayApp API Tokens + +### Step 1 - Navigate to the tokens page (https://railway.app/account/tokens) page +Any token you want to delete click on the delete icon in front of it. +Once you click, you will see a pop up for confirmation +![](/images/railwayapp/3.png) +Click Delete and it will permanently delete the token. +--- + +## Best Practices + +[RailwayApp Best Practices](https://docs.railway.app/overview/best-practices) + +--- + +## Resources +- [RailwayApp Public API Authentication Documentation](https://docs.railway.app/reference/public-api#authentication) diff --git a/themes/compose/static/images/railwayapp/1.png b/themes/compose/static/images/railwayapp/1.png new file mode 100644 index 0000000..792b58e Binary files /dev/null and b/themes/compose/static/images/railwayapp/1.png differ diff --git a/themes/compose/static/images/railwayapp/2.png b/themes/compose/static/images/railwayapp/2.png new file mode 100644 index 0000000..3e26fcc Binary files /dev/null and b/themes/compose/static/images/railwayapp/2.png differ diff --git a/themes/compose/static/images/railwayapp/3.png b/themes/compose/static/images/railwayapp/3.png new file mode 100644 index 0000000..85d5e88 Binary files /dev/null and b/themes/compose/static/images/railwayapp/3.png differ