Page MenuHomeDevCentral

Provide compatibility methods with Zemke-Rhyme for Vault
ClosedPublic

Authored by dereckson on Apr 3 2022, 18:59.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 17:23
Unknown Object (File)
Fri, Nov 22, 11:19
Unknown Object (File)
Fri, Nov 22, 10:44
Unknown Object (File)
Fri, Nov 22, 10:08
Unknown Object (File)
Fri, Nov 22, 05:15
Unknown Object (File)
Tue, Nov 19, 13:35
Unknown Object (File)
Tue, Nov 19, 13:00
Unknown Object (File)
Tue, Nov 19, 05:37
Subscribers
None

Details

Summary

Provide get_username, get_token, get_password main method,
and an helper method to get a sentry DSN, fully compatible
with Zemke-Rhyne signatures.

An advantage on ZR is each node has only access to the secrets
relevant for this role, so the OpenSearch server doesn't have
access to Docker containers credentials and vice-versa.

Ref T1425

Test Plan

salt-call credentials.get_secret

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
SeverityLocationCodeMessage
Advice_modules/credentials.py:66F821flake8 F821
Advice_modules/credentials.py:124F821flake8 F821
Unit
No Test Coverage
Branch
zr-to-vault
Build Status
Buildable 4155
Build 4407: arc lint + arc unit