Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
keystoneauth-oidc-refreshtoken-0.1.0.tar.gz (11.7 kB) Copy SHA256 hash SHA256 Source None Jun 30, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page