Skip to main content

OpenID Connect Access Token Procurement Through Refresh Token for OpenStack client

Project description

# OpenID Connect Access Token Procurement Through Refresh Token for OpenStack Clients

[![Build Status](https://travis-ci.org/quinoescobar/keystoneauth-oidc-refreshtoken.svg?branch=master)](https://travis-ci.org/quinoescobar/keystoneauth-oidc-refreshtoken)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/quinoescobar/keystoneauth-oidc-refreshtoken/master/LICENSE)

Description
===========
This is a plugin for the OpenStack Clients,
[keystoneauth1](https://github.openstack/keystoneauth) library,
which provides client support Refresh Token for the procurement of the Access Token.

---------------
## Installation


#### PIP
* Install it via pip:

pip install keystoneauth-oidc-refreshtoken

#### Download
* Clone the repository and install it:

git clone https://github.com/quinoescobar/keystoneauth-oidc-refreshtoken.git
cd keystoneauth-oidc-refreshtoken
pip install .

--------
## Usage

### CLI

You must specify the auth type `v3oidcrefreshtoken` in the `--os-auth-type` option and provide a valid Refresh Token with `--os-refresh-token` :



openstack --os-auth-type v3oidcrefreshtoken \
--os-auth-url https://keystone.example.org/v4/token \
--os-refresh-token <refresh-token> \
--os-client-id <client-id> \
--os-client-secret <client-secret> \
--os-protocol <protocol> \
--os-identity-provider <identity-provider> \
--os-access-token-endpoint <access-token-endpoint> \
token issue

--------
[keystoneauth-oidc-refreshtoken](https://github.com/quinoescobar/keystoneauth-oidc-refreshtoken)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keystoneauth-oidc-refreshtoken-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file keystoneauth-oidc-refreshtoken-0.1.0.tar.gz.

File metadata

File hashes

Hashes for keystoneauth-oidc-refreshtoken-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8600359ca0b4d606b0b245f87c3d6ea59ff8d8964acc735d4736fa73ed1cea70
MD5 688b803190c91b72ab1511dec10c77b8
BLAKE2b-256 a59401e34671c476da305b1ae054ccaf3d4bedaf66b9d350f62bb2c04a3b7fe6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page