Skip to main content

OpenStack SSO EntraID

Access Openstack with OIDC EntraID​

Openstack Dashboard​

Go to Openstack Dashboard and select the provided by suppport SSO. It will be linked with your EntraID and Azure workflow will bootstrap.

SSO ACCESS

OpenStack CLI​

This repository contains a script, setup_oidc_envfile.py, to help set up an environment file for OpenStack authentication trough CLI using Azure AD tokens.

Ofical repository

Prerequisites​

  • Python 3.6 or higher
  • Required Python dependencies (see below)
  • Azure AD credentials with appropriate permissions
  • OpenStack environment configured for OIDC authentication

Installation​

  1. Clone the repository:

    git clone [email protected]:iccgit/openstack-azuread-token-credential-generator.git
    cd openstack-azuread-token-credential-generator
  2. Install a virtual env to help with Python versions

    python3 -m venv venv
    source venv/bin/activate
  3. Install the requirements

    pip install -r requirements.txt

Usage​

The setup_oidc_envfile.py --project-id=PROJECT_ID --ca-cert=CERT_PATH script generates an environment file for OpenStack authentication using Azure AD tokens.

Example​

python setup_oidc_envfile.py --project-id=888fa3f00e764fdda3272773162d0a4e --ca-cert=openstackcli.pem

Loading the Environment File to setup the credentials generated in Openstack

source bashrc.sh