ARMARA Course 02

Course 02 / Module 04

Put your secrets somewhere you can rotate them

Initialize the credential vault, prove that its inventory hides values, and practice the separate removal path.

Level
Beginner
Time
10 minutes
Commands
4
Finish
A value-hidden inventory

Video / coming soon

The written lesson is complete now.

Choose a disposable key name first

Use an environment-style name such as COURSE_2_TEST_TOKEN. Never use a real credential merely to practice.

Use PowerShell and stop screen capture before typing any value.
01

Separate provider keys from tool credentials

Provider keys and integration secrets have different storage commands.

CredentialCommand family
LLM provider keyarmaraos config set-key
Integration or outside-tool tokenarmaraos vault

Name each vault key for the service and scope it represents.

02

Initialize the vault once

Run in your terminal
armaraos vault init
Real output confirming the ArmaraOS credential vault was initialized
Fresh live capture / one-time setup / 24 August 2026

If the vault is already initialized, do not reset or replace it.

03

Store one value outside the recording

Run in your terminal
armaraos vault set <KEY>
A prompt is not proof of masking.

The verification PTY echoed entered text. Treat the complete entry moment as secret and rotate any real value that appears in a recording.

04

Prove that listing hides values

Run in your terminal
armaraos vault list
Real vault list showing one credential name and no credential value
Fresh live capture / key name only / value absent

This is the useful safety proof. The key name is visible, while the value is not. Vault commands do not accept --json.

05

Use the separate remove command

Run in your terminal
armaraos vault remove <KEY>
Real output confirming the disposable vault key was removed and the vault is empty
Fresh live capture / disposable key removed

Removing an integration later does not guarantee its credential disappeared. Remove the vault key separately. Local removal still does not revoke it at the source service.

Check it / run this yourself

See a name and no value.

Run in your terminal
armaraos vault list

A key you intend to keep appears by name with no value. If you used a disposable key, remove it and return to the previous inventory.

Safety note

Anything reachable through a credential can be acted on with that credential's permissions. Scope tokens narrowly, add them only when needed, and stop recording before entry.

Troubleshooting for this sitting
What you seeLikely causeWhat to do
Vault is not initializedOne-time setup has not run.Run vault init.
Entered text is visibleTerminal echo is active.Stop capture and rotate a real secret if exposed.
Vault is emptyNo values are stored.Add only a credential currently needed.
--json errorsVault has no JSON flag.Use the human inventory.

Back to Module 2.3

Next / Module 2.5

The window you leave open

Lesson ready