public interface CredHubPermissionOperations
| Modifier and Type | Method and Description |
|---|---|
void |
addPermissions(CredentialName name,
Permission... permissions)
Add permissions to an existing credential.
|
void |
deletePermission(CredentialName name,
Actor actor)
Delete a permission associated with a credential.
|
List<Permission> |
getPermissions(CredentialName name)
Get the permissions associated with a credential.
|
List<Permission> getPermissions(CredentialName name)
name - the name of the credential; must not be nullvoid addPermissions(CredentialName name, Permission... permissions)
name - the name of the credential; must not be nullpermissions - a collection of permissions to addvoid deletePermission(CredentialName name, Actor actor)
name - the name of the credential; must not be nullactor - the actor of the permission; must not be null