Page MenuHomeDevCentral

Allow to issue Vault token with admin policy
ClosedPublic

Authored by dereckson on Jul 7 2024, 14:23.
Tags
None
Referenced Files
F4076636: D3357.id.diff
Thu, Jan 30, 10:49
F4076615: D3357.diff
Thu, Jan 30, 10:31
Unknown Object (File)
Wed, Jan 29, 00:57
Unknown Object (File)
Sun, Jan 26, 04:54
Unknown Object (File)
Sat, Jan 25, 16:05
Unknown Object (File)
Fri, Jan 17, 19:25
Unknown Object (File)
Fri, Jan 17, 14:59
Unknown Object (File)
Fri, Jan 17, 14:22
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 Not Applicable
Unit
Tests Not Applicable