Page MenuHomeDevCentral

Allow to issue Vault token with admin policy
ClosedPublic

Authored by dereckson on Jul 7 2024, 14:23.
Tags
None
Referenced Files
F6964065: D3357.id.diff
Fri, Apr 18, 06:37
Unknown Object (File)
Thu, Apr 17, 14:10
Unknown Object (File)
Wed, Apr 16, 11:20
Unknown Object (File)
Tue, Apr 15, 16:17
Unknown Object (File)
Mon, Apr 14, 10:53
Unknown Object (File)
Mon, Apr 14, 08:32
Unknown Object (File)
Fri, Apr 11, 08:35
Unknown Object (File)
Fri, Apr 11, 07:33
Subscribers
None

Details

Summary

Ops need to authenticate to Vault to manage PKI, credentials, mounts, policies.
This is covered by the 'admin' policy.

To facilitate the authentication, this script allows each ops member to issue
such token as a self-service facility.

Usage: sudo utils/vault/issue-admin-token.py [--insecure]

The --insecure argument allows to use this script even if the TLS certificate
has expired. That's required to issue through Vault a new certificate.

Ref T1975

Test Plan

Tested on Complector with sudo utils/vault/issue-admin-token.py
by Dorian and me to get our new tokens.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
vault-self-service-token-policy
Build Status
Buildable 5336
Build 5617: arc lint + arc unit