Interface ReactiveCredHubPermissionOperations
- All Known Implementing Classes:
ReactiveCredHubPermissionTemplate
public interface ReactiveCredHubPermissionOperations
Specifies the interactions with CredHub to add, retrieve, and delete permissions.
- Author:
- Scott Frederick
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>addPermissions(CredentialName name, Permission... permissions) Add permissions to an existing credential.reactor.core.publisher.Mono<Void>deletePermission(CredentialName name, Actor actor) Delete a permission associated with a credential.reactor.core.publisher.Flux<Permission>getPermissions(CredentialName name) Get the permissions associated with a credential.
-
Method Details
-
getPermissions
Get the permissions associated with a credential.- Parameters:
name- the name of the credential; must not be null- Returns:
- the collection of permissions associated with the credential
-
addPermissions
Add permissions to an existing credential.- Parameters:
name- the name of the credential; must not be nullpermissions- a collection of permissions to add- Returns:
- an empty
Mono
-
deletePermission
Delete a permission associated with a credential.- Parameters:
name- the name of the credential; must not be nullactor- the actor of the permission; must not be null- Returns:
- an empty
Mono
-