A React application for managing LaunchDarkly API service tokens. This tool allows you to view, search, sort, delete, and reset your LaunchDarkly API access tokens.
- View all API service tokens
- Search tokens by name, owner, or role
- Sort tokens by various attributes
- Delete tokens
- Reset tokens with custom expiry
- Clone the repository:
git clone <repository-url>
cd ld-access-tokens-manager
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add your LaunchDarkly API token (optional):
VITE_LD_API_TOKEN=api-YOUR-TOKEN-HERE
- Start the development server:
npm run dev
-
Enter your LaunchDarkly API token in the input field
- The token should have read and write access to the API Access Tokens resource
- You can create a new token in your LaunchDarkly Account Settings
- If you provided a token in the
.env
file, it will be pre-filled
-
Click "Set Token" to validate and save your API token
-
Click "Load Access Tokens" to fetch and display your tokens
-
Use the available features:
- Search tokens using the search box
- Sort columns by clicking on column headers
- Toggle API Version visibility using the checkbox
- Delete tokens using the Delete button
- Reset tokens using the Reset button (allows setting custom expiry)
- Built with React + Vite
- Uses Tailwind CSS for styling
- TypeScript for type safety
- Modern component architecture with proper separation of concerns
- API tokens are handled securely and never stored permanently
- Token input is masked for privacy
- Environment variables are used for secure token storage during development