Skip to content

About

Interactive shell utilities for Cloudflare Access and Zero Trust management via API.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Cloudflare Shell Tools

Interactive shell utilities for managing Cloudflare Access and Zero Trust resources via API.

These two scripts were generated with the help of Perplexity AI to solve a specific need quickly.

Features

  • List Cloudflare Access applications.
  • Filter apps by name, domain, or ID.
  • Select one or multiple apps interactively.
  • Confirm destructive actions before deleting.
  • Keep credentials in memory only during execution.

Requirements

  • Bash 4+
  • curl
  • jq
  • A Cloudflare API token with the minimum required permissions.
  • The target Cloudflare Account ID.

Usage

V1

chmod +x cf-access-manager.sh
./cf-access-manager.sh

V2

chmod +x cf-access-manager_v2.sh
./cf-access-manager_v2.sh

The script will prompt for:

  • Cloudflare API token
  • Cloudflare Account ID

Safety

This tool is designed to reduce mistakes:

  • Tokens are not stored on disk.
  • The script asks for confirmation before deletion.
  • You should use a restricted API token whenever possible, with IP restrictions and the lowest possible privileges.
  • Use short-lived tokens whenever you can.

License

MIT


Repository Activity

Alt


Author: Alejandro Mateo - @AlexM2Media
Repo: Cloudflare Shell Tools
Web/Portfolio: alexm2.media

About

Interactive shell utilities for Cloudflare Access and Zero Trust management via API.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages