Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow openstack application credential id and secret as openstack authentication option #376

Open
dbilling opened this issue Nov 21, 2023 · 0 comments

Comments

@dbilling
Copy link

What feature do you want to see added?

When configuring the openstack cloud plugin, we can currently use a user and password combination that is authorized for openstack. However, in many environments this user/password may be too broad and able to login to resources other than just openstack. As a security best practice, I would prefer to instead abide by the principle of least privilege and configure an openstack application credential that can only be used for the openstack project being configured and nothing more.

I tried creating an openstack application credential and using it for the jenkins openstack plugin instead of user and password. However, this resulted in an "unauthorized" response from openstack. I'm guessing that the problem is the openstack cloud plugin needs to be aware that I am configuring a application credential id and secret instead a user and password so it can properly form the request to openstack.

This would be an awesomely cool feature that we all need when coding the least privileged credential that gets the job done is a necessity. Allowing the coding of an credential id and secret would allow us to achieve this goal. In the configuration panels, perhaps this could be implemented with a simple check box that indicates that the credential that is coded is an application id and secret instead of a user and password.

Upstream changes

No response

Are you interested in contributing this feature?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant