final class MySql[F[_]] extends Databases[F, Connection, Role] with StaticRoles[F] with RootRotation[F]
- Alphabetic
- By Inheritance
- MySql
- RootRotation
- StaticRoles
- Databases
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- object connections
- Definition Classes
- Databases
- object roles extends RolesCRUD[F, Role]
- Definition Classes
- Databases
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (MySql[F], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val F: Concurrent[F]
- Attributes
- protected
- Definition Classes
- Databases
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val dsl: DSL[F]
- Attributes
- protected
- Definition Classes
- Databases
- def ensuring(cond: (MySql[F]) => Boolean, msg: => Any): MySql[F]
- def ensuring(cond: (MySql[F]) => Boolean): MySql[F]
- def ensuring(cond: Boolean, msg: => Any): MySql[F]
- def ensuring(cond: Boolean): MySql[F]
- 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 formatted(fmtstr: String): String
- def generateCredentials(role: String): F[Credential]
Rotates the root superuser credentials stored for the database connection.
Rotates the root superuser credentials stored for the database connection. This user must have permissions to update its own password.
- role
the name of the role to create credentials against.
- Definition Classes
- Databases
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getStaticCredentials(staticRole: String): F[StaticCredential]
- staticRole
the name of the static role to get credentials for.
- returns
the current credentials based on the named static role.
- Definition Classes
- StaticRoles
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- Databases
- def rotateRootCredentials(connection: String): F[Unit]
Rotates the root superuser credentials stored for the database connection.
Rotates the root superuser credentials stored for the database connection. This user must have permissions to update its own password.
- connection
the name of the connection to rotate.
- Definition Classes
- RootRotation
- def rotateStaticRootCredentials(staticRole: String): F[Unit]
Rotate the Static Role credentials stored for a given role name.
Rotate the Static Role credentials stored for a given role name. While Static Roles are rotated automatically by Vault at configured rotation periods, users can use this endpoint to manually trigger a rotation to change the stored password and reset the TTL of the Static Role's password.
- staticRole
the name of the connection to rotate.
- Definition Classes
- StaticRoles
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val token: Raw
- Attributes
- protected
- Definition Classes
- Databases
- val uri: Uri
- Definition Classes
- Databases
- 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()
- object staticRoles
- Definition Classes
- StaticRoles
Deprecated Value Members
- def →[B](y: B): (MySql[F], B)
- Implicit
- This member is added by an implicit conversion from MySql[F] toArrowAssoc[MySql[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.