pf9-saml-auth
pf9-saml-auth is a set of OpenStack Keystone authentication plugins for enabling federated authentication against non-ECP compliant SAML identity providers.
Supported providers
Installation
pip install pf9-saml-auth
Example CLI Usage
OpenStack RC
export OS_AUTH_URL="https://<hostname>/keystone/v3"
export OS_REGION_NAME="<region>"
export OS_USERNAME="<IdP username>"
export OS_PASSWORD="<IdP password>"
export OS_TENANT_NAME="<tenant>"
export OS_PROJECT_DOMAIN_ID=${OS_PROJECT_DOMAIN_ID:-"default"}
export OS_IDENTITY_API_VERSION=3
export OS_IDENTITY_PROVIDER=${OS_IDENTITY_PROVIDER:-"IDP1"}
export OS_PROTOCOL=saml2
export OS_AUTH_TYPE=v3pf9samlokta
Then execute the openstack CLI utility in interactive mode.
$ openstack
(openstack)
server list
Example Python program
import pf9_saml_auth
from keystoneauth1 import session
from novaclient import client as nova_client
def main():
auth = pf9_saml_auth.V3Pf9SamlOkta(
auth_url='https://<hostname>/keystone/v3',
username='<IdP username>',
password='<IdP password>',
protocol='saml2',
identity_provider='IDP1',
project_name='<tenant>',
project_domain_name='default',
)
# Create Keystone authentication session
sess = session.Session(auth=auth)
# Create OpenStack service clients
nova = nova_client.Client(2, session=sess)
if __name__ == '__main__':
main()
Metadata
Release files for pf9-saml-auth 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pf9-saml-auth-0.0.2.tar.gz | 11.6 kB | Without provenance | Details for pf9-saml-auth-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pf9_saml_auth-0.0.2-py2-none-any.whl | Python 2 | none | any | Details for pf9_saml_auth-0.0.2-py2-none-any.whl |
Total release size: 25.3 kB
Release files / pf9-saml-auth-0.0.2.tar.gz
| Download URL | pf9-saml-auth-0.0.2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b2b755427d7dfab0bd62f1538d037323e8adef937dcfb3ea0ed431e7090efe1
|
|
BLAKE2b-256 checksum How to use checksums |
363202ba98f96ec7149f676af6ac4cf6cb9af51c20386d1d090bce7cfc031051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pf9_saml_auth-0.0.2-py2-none-any.whl
| Download URL | pf9_saml_auth-0.0.2-py2-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e66adbe96dade3dbcb6965950727241c4c1f69bdc746f5634ca0c65ec9a737d9
|
|
BLAKE2b-256 checksum How to use checksums |
708f524904f753cbedc64e79efcc4838eef39aeac2a4428dec4d8aecffa84b78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pf9-saml-auth 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.