Spring / Spring CredHub Interview questions
What is CredHubPermissionOperations used for?
CredHubPermissionOperations, returned by credHubOperations.permissions(), manages the original (v1) permission model in CredHub: it lets you add, retrieve, and delete the access-control entries attached to a specific credential name.
Each entry pairs an Actor — identified as an app, a UAA user, or a UAA client — with one or more Operation values such as READ, WRITE, DELETE, READ_ACL, or WRITE_ACL. Adding a permission grants that actor those operations on that credential.
It's the interface a service broker typically uses right after writing a credential, to grant the requesting app read access without also giving it write or delete rights.
More Related questions...