credential-discipline

Automate CI deployments to third-party APIs using workload identity and secret managers.

Updated May 2, 2026
One-click install
npx skills add https://github.com/denson/the-stoa --skill credential-discipline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credential-discipline
Source: https://github.com/denson/the-stoa/tree/main/substrate/skills/credential-discipline
Command: npx skills add https://github.com/denson/the-stoa --skill credential-discipline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a canonical pattern for authoring CI-mediated deploys to third-party APIs, ensuring secure handling of credentials and streamlined CI processes.

Core Features & Use Cases

  • Secure Credential Handling: Enforces agents never holding credentials, with secrets managed in cloud-native secret managers.
  • CI Integration: Automates deployment workflows by enabling CI tools to handle credential-based tasks.
  • Use Case: Deploying to cloud services like Railway or GCP using CI tools like GitHub Actions, with secure handling of tokens and secrets.

Quick Start

Deploy your service to Railway by running 'credential-discipline deploy'.

Frequently Asked Questions about credential-discipline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure credentials for GitHub Actions cloud deployment to third-party APIs?

To secure credentials for GitHub Actions cloud deployment, you can use workload identity federation (WIF) for authentication and cloud-native secret managers like GCP Secret Manager to store tokens. This pattern ensures CI tools handle credential-based tasks without agents holding credentials.

What is workload identity federation and how does it secure CI deployment workflows?

Workload identity federation (WIF) secures CI deployment workflows by allowing GitHub Actions to authenticate to cloud services without long-lived keys, automating credential handling by exchanging short-lived tokens for cloud access.

Can I deploy to Railway using GitHub Actions with GCP Secret Manager?

Yes, you can deploy to Railway using GitHub Actions with GCP Secret Manager. This setup automates the deployment workflow while securely retrieving tokens from the secret manager, ensuring agents never hold credentials.

What is the best way to automate cloud deploys without exposing API tokens?

The best way to automate cloud deploys without exposing API tokens is to use a CI-mediated pattern with workload identity. This approach leverages cloud-native secret managers for storing tokens and CI tools for execution, ensuring credentials are never held by agents.

Do I need GCP Secret Manager to use workload identity for CI deployment?

You do not strictly need GCP Secret Manager to use workload identity for CI deployment, but it is the canonical pattern for storing tokens. The core requirement is using a cloud-native secret manager to ensure CI agents never hold credentials.