dtantsur / rust-osauth

Asynchronous OpenStack session and authentication for Rust
Apache License 2.0
12 stars 9 forks source link

Add support for Application Credential authentication #76

Closed milliams closed 1 year ago

milliams commented 1 year ago

This adds support for Application Credential authentication.

It supports passing the application credential by ID (application_credential_id/OS_APPLICATION_CREDENTIAL_ID -- the default OpenStack RC and clouds.yaml format), or specifying the credential by name (application_credential_name/OS_APPLICATION_CREDENTIAL_NAME) if the user ID (user_id/OS_USER_ID) is also set.

It doesn't currently support setting the application credential by name and also relying on the username (as that requires setting domains etc.) but that can always be added in later.

I have tested this against a live OpenStack Yoga cluster.

dtantsur commented 1 year ago

Thanks, great addition!