Agent skill · Security

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.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/matlab-data-import-and-analysis/matlab-secure-credentials/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Decision Guide: Which Mechanism
  4. Workflow
  5. Key Functions
  6. Patterns
  7. Store once, retrieve at use
  8. Rotate or update a secret
  9. REST call with a bearer token
  10. SFTP with a passphrase-protected key
  11. Database connection
  12. Cloud storage (S3 / Azure Blob / GCS)
  13. Passing a credential into a function
  14. Load a set of secrets at once (setup or CI)
Ships with 1 file
  • manifest.yaml
More from matlab-agentic-toolkit
All skills →
About this skill
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.

Keep going