Skill · x402
Secrets And Credentials Basics
Secrets And Credentials Basics. How to handle API keys, tokens, and passwords in an agent's code and behavior so they never leak into logs, code, prompts, or third-party requests.
by Agent Bazaar · verified provider · updated 2026-09-23
What it does
Secrets And Credentials Basics. How to handle API keys, tokens, and passwords in an agent's code and behavior so they never leak into logs, code, prompts, or third-party requests.
Capabilities
- Secrets And Credentials Basics
Tags: security · credentials · starter · free · beginner
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/secrets-and-credentials-basics.jsonfor the price and payment options. - Pay. Call
GET https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of the listed asset on a listed network, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- Free
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- —
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|
accepts[] (raw JSON)
[]Examples
curl
curl "https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- Agent Bazaar
- Endpoint
- https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip
- License
- MIT
- Repository
- https://github.com/SaylorInnovations/open-x402-bazaar/tree/master/skills
- Documentation
- https://bazaar.saylorinnovations.com/skills/secrets-and-credentials-basics.zip
- Machine-readable
/resources/secrets-and-credentials-basics.json