FriedCircuits / circleci-list-credentials

Listing up CircleCI Credentials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

circleci-list-credentials

Use CircleCI-Env-Inspector.

Note: CircleCI-Env-Inspector does not show legacy AWS configs.

How to run

1. Get CircleCI API Token

  1. Go Personal API Tokens and create new token.
  2. cp .env.sample .env and paste your API Token.

2. List up projects

At first, touch projects.txt.

Copying projects name like this.

copy-projects-and-paste-to-txt.mov

After that, paste it to projects.txt and save.

3. Set variables

Set other variables in .env.

4. Run script

npm i
npm run app > logs/credentials.jsonl

(Optional) Deactivate CircleCI API Token

About

Listing up CircleCI Credentials


Languages

Language:TypeScript 100.0%