Page MenuHomeDevCentral

Provide compatibility methods with Zemke-Rhyme for Vault
ClosedPublic

Authored by dereckson on Apr 3 2022, 18:59.
Tags
None
Referenced Files
F3934651: D2649.id6696.diff
Mon, Dec 23, 06:08
Unknown Object (File)
Tue, Dec 17, 12:04
Unknown Object (File)
Tue, Dec 17, 05:36
Unknown Object (File)
Fri, Dec 13, 05:01
Unknown Object (File)
Thu, Dec 12, 22:25
Unknown Object (File)
Tue, Dec 10, 18:29
Unknown Object (File)
Mon, Dec 9, 07:59
Unknown Object (File)
Fri, Dec 6, 15:21
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 4154
Build 4406: arc lint + arc unit