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

Space Host Policy doesn't load when service broker is using admin user identity #119

Open
micahlee opened this issue Apr 18, 2019 · 4 comments

Comments

@micahlee
Copy link
Contributor

No description provided.

@jtuttle
Copy link
Member

jtuttle commented Apr 22, 2019

I believe this is due to the fact that we assume in the space host policy that the identity that the service broker uses to authenticate with Conjur is a host.

@micahlee
Copy link
Contributor Author

micahlee commented Apr 29, 2019

Yes, that seems to be correct per:

role: !host /#{ConjurClient.login_host_id}
.

If we do decide to make this work with user as well as host, we do have the existing helper method here we can use:

def login_is_host?
authn_login.include?("host\/")
end

@izgeri
Copy link
Contributor

izgeri commented May 2, 2019

@micahlee this is in the epic - is this still correct? or should this be left in the backlog?

@micahlee
Copy link
Contributor Author

micahlee commented May 2, 2019

It's fine with me if it stays in the backlog for now. It's only an issue if the service broker is configured with a user role, and we don't suggest or demonstrate that anywhere.

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

No branches or pull requests

3 participants