Page MenuHomeDevCentral

Provide compatibility methods with Zemke-Rhyme for Vault
ClosedPublic

Authored by dereckson on Apr 3 2022, 18:59.
Tags
None
Referenced Files
F3797798: D2649.id.diff
Thu, Nov 28, 14:30
Unknown Object (File)
Mon, Nov 25, 08:57
Unknown Object (File)
Mon, Nov 25, 06:29
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
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 Errors
SeverityLocationCodeMessage
Error_modules/credentials.py:17E225flake8 E225
Advice_modules/credentials.py:66F821flake8 F821
Advice_modules/credentials.py:82F821flake8 F821
Advice_modules/credentials.py:124F821flake8 F821
Unit
No Test Coverage
Branch
zr-to-vault
Build Status
Buildable 4152
Build 4404: arc lint + arc unit