Page MenuHomeDevCentral

Allow to issue Vault token with admin policy
ClosedPublic

Authored by dereckson on Jul 7 2024, 14:23.
Tags
None
Referenced Files
F22567397: D3357.id8658.diff
Thu, Jan 29, 13:02
F22540027: D3357.id8658.diff
Thu, Jan 29, 08:03
F22469488: D3357.id.diff
Wed, Jan 28, 20:53
Unknown Object (File)
Wed, Jan 28, 03:22
Unknown Object (File)
Tue, Jan 27, 18:02
Unknown Object (File)
Thu, Jan 22, 06:05
Unknown Object (File)
Sat, Jan 17, 01:44
Unknown Object (File)
Fri, Jan 16, 06:27
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