object groupAlias extends AliasCRUD[F, GroupAlias]
- Source
- Identity.scala
- Alphabetic
- By Inheritance
- groupAlias
- AliasCRUD
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(id: String): F[GroupAlias]
Gets the group alias with the given
id
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def computeAliasId(name: String, canonicalId: String, mountAccessor: String): F[String]
- Attributes
- protected
- Definition Classes
- groupAlias → AliasCRUD
- def create(name: String, canonicalId: String, mountAccessor: String): F[String]
Creates a new alias for a group.
Creates a new alias for a group.
- name
name for the group alias.
- canonicalId
group 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.
- def delete(id: String): F[Unit]
Deletes a group alias.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get(id: String): F[Option[GroupAlias]]
Gets the group alias with the given
id
.Gets the group alias with the given
id
.- id
the id of the group alias.
- returns
if a group alias with
id
exists aSome
will be returned.None
otherwise.
- Definition Classes
- AliasCRUD
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val list: F[List[String]]
List group aliases by their identifiers.
List group aliases by their identifiers.
- Definition Classes
- AliasCRUD
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: String
- Definition Classes
- AliasCRUD
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(id: String, name: String, canonicalId: String, mountAccessor: String): F[Unit]
Updates an existing group alias.
Updates an existing group alias.
- id
ID of the group alias.
- name
name of the group alias.
- canonicalId
group ID of to which this alias belongs to.
- mountAccessor
mount accessor which this alias belongs to.
- Definition Classes
- AliasCRUD
- val uri: Uri
- Definition Classes
- AliasCRUD
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()