Page MenuHomeDevCentral

Generate secretsmith Vault configuration for routers via Salt
ClosedPublic

Authored by yousra on Mar 29 2026, 16:41.
Tags
None
Referenced Files
F53961552: D4031.diff
Tue, Oct 13, 17:44
Unknown Object (File)
Thu, Oct 8, 01:54
Unknown Object (File)
Tue, Oct 6, 12:18
Unknown Object (File)
Sun, Oct 4, 21:16
Unknown Object (File)
Sun, Oct 4, 21:15
Unknown Object (File)
Sun, Oct 4, 19:45
Unknown Object (File)
Sat, Oct 3, 17:16
Unknown Object (File)
Sat, Oct 3, 17:16

Details

Summary

This change adds to the Salt state carp (roles/router/carp/init.sls) a secretsmith configuration file
on routers, allowing the script from T2276 to authenticate to Vault using AppRole.

The configuration file (/usr/local/etc/secrets/carp-secretsmith.yaml) contains:

  • Vault server URL
  • AppRole credentials (role_id and secret_id) retrieved from Vault

Ref T2276

Test Plan
  • Applied state on router-002:

    salt 'router-002' state.apply roles/router test=True

    salt 'router-002' state.apply roles/router
  • Applied state on router-003:

    salt 'router-003' state.apply roles/router test=True

    salt 'router-003' state.apply roles/router

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
secretsmith-router
Build Status
Buildable 6543
Build 6827: arc lint + arc unit