matlab-secure-credentials
Store, retrieve, and pass credentials securely in MATLAB using the built-in MATLAB Vault (setSecret, getSecret, importSecrets, secretID) instead of hardcoding. Handles connections to any authenticated service: REST APIs, databases, cloud storage (S3/Azure/GCS), SFTP, and others. Covers API keys, tokens, passwords, SSH passphrases, CI/batch/scheduled jobs, and "keep credentials out of code" requests. Does NOT cover third-party secret managers (HashiCorp Vault, AWS Secrets Manager), OS-level key management, or the connection/query logic itself.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-secure-credentials --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Secure Credentials in MATLAB Handle API keys, tokens, passwords, and passphrases with the **MATLAB Vault**, an encrypted store built into MATLAB, instead of hardcoding them. This skill covers *the credential* — storing it, retrieving it, and passing it into a connection to any authenticated service. ## When to Use - Connecting to any authenticated service or connection from MATLAB — a REST API, database, cloud storage, SFTP/FTP server, message queue, or any other. - Any code that handles an API key, bearer token, password, or SSH key passphrase. - Writing CI / batch / scheduled MATLAB that needs credentials with no user present. - Refactoring credential-handling code, or persisting a config that includes a secret. - A request to "keep credentials out of code," "don't commit secrets," or "do this the secure way." ## When NOT to Use - Writing the connection/query/transfer logic itself when no credential is involved (e.g. a public API, a local file), or cleaning/transforming/aggregating data once it is in a table or timetable — use the relevant data-import skill (e.g. `matlab-analyze-data`, `matlab-read-database`). - Integrating a third-party secret manager (HashiCorp Vault, AWS Sec
- When to Use
- When NOT to Use
- Decision Guide: Which Mechanism
- Workflow
- Key Functions
- Patterns
- Store once, retrieve at use
- Rotate or update a secret
- REST call with a bearer token
- SFTP with a passphrase-protected key
- Database connection
- Cloud storage (S3 / Azure Blob / GCS)
- Passing a credential into a function
- Load a set of secrets at once (setup or CI)
What does the matlab-secure-credentials skill do?
Store, retrieve, and pass credentials securely in MATLAB using the built-in MATLAB Vault (setSecret, getSecret, importSecrets, secretID) instead of hardcoding. Handles connections to any authenticated service: REST APIs, databases, cloud storage (S3/Azure/GCS), SFTP, and others. Covers API keys, tokens, passwords, SSH passphrases, CI/batch/scheduled jobs, and "keep credentials out of code" requests. Does NOT cover third-party secret managers (HashiCorp Vault, AWS Secrets Manager), OS-level key management, or the connection/query logic itself.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-secure-credentials --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
