Packages

object entityAlias extends AliasCRUD[F, EntityAlias]

Source
Identity.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. entityAlias
  2. AliasCRUD
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(id: String): F[EntityAlias]

    Gets the entity alias with the given id.

    Gets the entity alias with the given id.

    id

    the id of the entity alias.

    Definition Classes
    AliasCRUD
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def computeAliasId(name: String, canonicalId: String, mountAccessor: String): F[String]
    Attributes
    protected
    Definition Classes
    entityAliasAliasCRUD
  8. def create(name: String, canonicalId: String, mountAccessor: String): F[String]

    Creates a new alias for a entity.

    Creates a new alias for a entity.

    name

    name for the entity alias.

    canonicalId

    entity ID of to which this alias belongs to.

    mountAccessor

    mount accessor which this alias belongs to. Can be consulted with:

    vaultClient.sys.auth.list().map { mountedAuths => mountedAuths(s"$path/").accessor }
    returns

    the id of the created alias.

    Definition Classes
    AliasCRUD
    Note

    this method it not idempotent. If the alias already exists Vault will return NoContent. Unfortunately there is nothing we can do, since we don't know the existing alias id, nor can we update the alias via the name.

  9. def delete(id: String): F[Unit]

    Deletes a entity alias.

    Deletes a entity alias.

    id

    identifier of the entity alias.

    Definition Classes
    AliasCRUD
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def get(id: String): F[Option[EntityAlias]]

    Gets the entity alias with the given id.

    Gets the entity alias with the given id.

    id

    the id of the entity alias.

    returns

    if a entity alias with id exists a Some will be returned. None otherwise.

    Definition Classes
    AliasCRUD
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val list: F[List[String]]

    List entity aliases by their identifiers.

    List entity aliases by their identifiers.

    Definition Classes
    AliasCRUD
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val path: String
    Definition Classes
    AliasCRUD
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def update(id: String, name: String, canonicalId: String, mountAccessor: String): F[Unit]

    Updates an existing entity alias.

    Updates an existing entity alias.

    id

    ID of the entity alias.

    name

    name of the entity alias.

    canonicalId

    entity ID of to which this alias belongs to.

    mountAccessor

    mount accessor which this alias belongs to.

    Definition Classes
    AliasCRUD
  25. val uri: Uri
    Definition Classes
    AliasCRUD
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AliasCRUD[F, EntityAlias]

Inherited from AnyRef

Inherited from Any

Ungrouped