Page MenuHomeDevCentral

Configure ViperServ eggdrops to use Vault
ClosedPublic

Authored by dereckson on May 12 2022, 22:54.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 10:10
Unknown Object (File)
Sun, Nov 3, 01:57
Unknown Object (File)
Sat, Nov 2, 11:55
Unknown Object (File)
Thu, Oct 31, 11:43
Unknown Object (File)
Thu, Oct 31, 04:13
Unknown Object (File)
Mon, Oct 28, 13:42
Unknown Object (File)
Mon, Oct 28, 13:42
Unknown Object (File)
Mon, Oct 28, 13:42
Subscribers
None

Details

Summary

Eggdrop configuration

Load Vault library and helper script.

Use Vault to connect to MySQL and to fetch nickserv password.

Salt deployment

Provide a policy allowing to read apps/viperserv/

Provision AppRole credentials in .credentials file, and remove
MySQL information placeholder as it's known stored in Vault.

Ref T1733

Test Plan

Launch eggdrop

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
vault-viperserv
Build Status
Buildable 4234
Build 4493: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
roles/viperserv/eggdrop/config.sls
67

read_secret doesn't implement _are_credentials_hidden()

This revision is now accepted and ready to land.May 29 2022, 12:08

Probably safe to deploy after 7 months in production?

Should have been merged directly in May.

This revision was automatically updated to reflect the committed changes.