pier-cloud

Featured

This skill should be used when the user needs to consume the Pier Cloud (Lighthouse) API for cloud cost management — including JWT authentication, listing contexts, workspaces, and FinOps data views. Trigger whenever there is a need to integrate, automate, or debug calls to the Pier Cloud platform via Python, Node.js, or cURL.

DevOps & Infrastructure 77 stars 7 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
63
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Pier Cloud API ## Prerequisites ### Credentials Locate the `.env` file in the skill directory with the following variables: ```env PIERCLOUD_CLIENT_ID=your_client_id PIERCLOUD_CLIENT_SECRET=your_client_secret PIERCLOUD_TENANCY_ID=your_tenancy_id ``` If the `.env` file does not exist, inform the user that credentials must be obtained from the Pier Cloud platform before proceeding. Do not proceed without the `.env` file. > Note: `PIERCLOUD_TENANCY_ID` is equivalent to the former `PIERCLOUD_BUSINESS_ID`. Scripts accept both as fallback. ### Python Dependencies ```bash pip install requests python-dotenv ``` ## Basic Configuration The API uses JWT authentication. Required flow: 1. Authenticate via `POST /auth` with `client_id` and `client_secret` to obtain a JWT token 2. Include the token in all requests: `Authorization: Bearer {token}` 3. Renew the token upon expiration (default validity: 1 hour) **Base URL**: `https://api.piercloud.io` Verify the connection by running: ```bash python scripts/pier-cloud-auth.py ``` ## Available Scripts Ready-to-use scripts in `scripts/`. See `scripts/README.md` for detailed instructions. | Script | Description | |--------|-------------| | `pier-cloud-auth.py` | Authenticate and obtain JWT token | | `pier-cloud-list-contexts.py` | List available contexts | | `pier-cloud-list-workspaces.py` | List workspaces with pagination | | `pier-cloud-get-workspace.py` | Get specific workspace details | | `pier-cloud-get-all-workspaces.py` |...

Details

Author
fabricioctelles
Repository
fabricioctelles/skills
Created
6 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Featured

cloud-penetration-testing

This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.

4,617 Updated today
zebbern
DevOps & Infrastructure Solid

craft-cloud

Craft Cloud — Pixel & Tonic's serverless hosting platform for Craft CMS. Covers craft-cloud.yaml configuration, the Build → Migrate → Release deploy pipeline, the craftcms/cloud extension package, edge image transforms via Cloudflare, edge static caching with cache.rules + ESI, Cloud-managed S3 filesystem, MySQL 8 / Postgres 15 databases (no MariaDB, no tablePrefix), Console-based command runner and scheduled cron (once-per-hour minimum), auto-handled queue jobs, custom domains and SSL, preview environments per branch, Cloud limitations (ephemeral filesystem, no SSH, no .htaccess, no built-in mail), plugin development requirements for Cloud compatibility, and self-hosted → Cloud migration. Triggers on: craft-cloud.yaml, craftcms/cloud package, cloud.esi(), php craft cloud/up, php craft cloud/setup, App::isEphemeral(), CRAFT_EPHEMERAL, edge.craft.cloud, preview.craft.cloud, CRAFT_CLOUD_PROJECT_ID, CRAFT_CLOUD_ENVIRONMENT_ID, CRAFT_CLOUD_CDN_BASE_URL, Build → Migrate → Release, Cloud filesystem, Cloud-compatibl

78 Updated 1 weeks ago
michtio
DevOps & Infrastructure Featured

cloud-security--container-hardening

AWS/Azure/GCP security auditing, container and Kubernetes hardening, Infrastructure as Code scanning, and cloud compliance assessment

409 Updated 3 days ago
Masriyan