Reins of Power
A simple generic v3 keystone admintoken openrc
Some things in OpenStack Keystone (mainly bootstrapping) really needs the admin token. As the admin token should not leave the keystone machines, here is a simple openrc for when you need the admin token.
#!/bin/bash
export OS_IDENTITY_API_VERSION=3
export OS_URL=$(grep ^admin_endpoint /etc/keystone/keystone.conf |cut -f 2 -d "=")/v3
export OS_TOKEN=$(grep ^admin_token /etc/keystone/keystone.conf |cut -f 2 -d "=")
Geek. Product Owner @CSCfi