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)
Tue, Nov 19, 13:35
Unknown Object (File)
Tue, Nov 19, 13:00
Unknown Object (File)
Tue, Nov 19, 05:37
Unknown Object (File)
Tue, Nov 19, 05:04
Unknown Object (File)
Sun, Nov 17, 05:04
Unknown Object (File)
Sat, Nov 16, 06:38
Unknown Object (File)
Sat, Nov 16, 06:12
Unknown Object (File)
Fri, Nov 15, 23:52
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:124F821flake8 F821
Unit
No Test Coverage
Branch
zr-to-vault
Build Status
Buildable 4153
Build 4405: arc lint + arc unit