public interface CredHubPermissionV2Operations
| Modifier and Type | Method and Description |
|---|---|
CredentialPermission |
addPermissions(CredentialName path,
Permission permission)
Add permissions to an credential path.
|
void |
deletePermission(java.lang.String id)
Delete a permission.
|
CredentialPermission |
getPermissions(java.lang.String id)
Get a permission.
|
CredentialPermission |
updatePermissions(java.lang.String id,
CredentialName path,
Permission permission)
Add permissions to an existing credential.
|
CredentialPermission getPermissions(java.lang.String id)
id - the CredHub-assigned ID of the permission; must not be nullCredentialPermission addPermissions(CredentialName path, Permission permission)
path - the path of the credentials; must not be nullpermission - a permission to addCredentialPermission updatePermissions(java.lang.String id, CredentialName path, Permission permission)
id - the CredHub-assigned ID of the permission; must not be nullpath - the path of the credentials; must not be nullpermission - a permission to addvoid deletePermission(java.lang.String id)
id - the CredHub-assigned ID of the permission; must not be null