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)
Thu, Jan 30, 03:00
Unknown Object (File)
Fri, Jan 24, 19:12
Unknown Object (File)
Fri, Jan 24, 10:18
Unknown Object (File)
Thu, Jan 23, 11:36
Unknown Object (File)
Wed, Jan 22, 11:37
Unknown Object (File)
Tue, Jan 21, 16:54
Unknown Object (File)
Tue, Jan 21, 06:33
Unknown Object (File)
Tue, Jan 21, 06:09
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