public interface ReactiveCredHubPermissionV2Operations
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<CredentialPermission> |
addPermissions(CredentialName path,
Permission permission)
Add permissions to an credential path.
|
reactor.core.publisher.Mono<Void> |
deletePermission(String id)
Delete a permission.
|
reactor.core.publisher.Mono<CredentialPermission> |
getPermissions(String id)
Get a permission.
|
reactor.core.publisher.Mono<CredentialPermission> |
getPermissionsByPathAndActor(CredentialName path,
Actor actor)
Get a permission by path and actor.
|
reactor.core.publisher.Mono<CredentialPermission> |
updatePermissions(String id,
CredentialName path,
Permission permission)
Add permissions to an existing credential.
|
reactor.core.publisher.Mono<CredentialPermission> getPermissions(String id)
id - the CredHub-assigned ID of the permission; must not be nullreactor.core.publisher.Mono<CredentialPermission> getPermissionsByPathAndActor(CredentialName path, Actor actor)
path - the path of the credentials; must not be nullactor - the actor of the credentials; must not be nullreactor.core.publisher.Mono<CredentialPermission> addPermissions(CredentialName path, Permission permission)
path - the path of the credentials; must not be nullpermission - a permission to addreactor.core.publisher.Mono<CredentialPermission> updatePermissions(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 add