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 Details

    • getPermissions

      reactor.core.publisher.Flux<Permission> getPermissions(CredentialName name)
      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

      reactor.core.publisher.Mono<Void> addPermissions(CredentialName name, Permission... permissions)
      Add permissions to an existing credential.
      Parameters:
      name - the name of the credential; must not be null
      permissions - a collection of permissions to add
      Returns:
      an empty Mono
    • deletePermission

      reactor.core.publisher.Mono<Void> deletePermission(CredentialName name, Actor actor)
      Delete a permission associated with a credential.
      Parameters:
      name - the name of the credential; must not be null
      actor - the actor of the permission; must not be null
      Returns:
      an empty Mono