SetupAwsCredentials

org.encalmo.aws.SetupAwsCredentials

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class AwsConfig(verbose: Boolean)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class AwsCredentials(roleCredentials: RoleCredentials)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class AwsSsoConfig(accessToken: String, expiresAt: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Credentials(accessKeyId: String, secretAccessKey: String, sessionToken: String, expiration: Long, accountId: String, roleName: String, profile: String, defaultRegion: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RoleCredentials(accessKeyId: String, secretAccessKey: String, sessionToken: String, expiration: Long)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(profile: String, accountIdArg: Option[String], roleNameArg: Option[String], force: Boolean, verbose: Boolean): Either[String, Credentials]
def computeNewCredentials(accountId: String, roleName: String, profile: String, loginProfile: String, defaultRegion: String, verbose: Boolean): Either[String, Credentials]
def getAwsCredentials(accountId: String, roleName: String, profile: String, loginProfile: String, verbose: Boolean): Either[String, AwsCredentials]
def loginUsingAwsSso(profile: String, verbose: Boolean): Either[String, Unit]
def main(args: Array[String]): Unit
def readAwsConfig(awsConfigFile: Path, verbose: Boolean): Option[AwsConfig]

Concrete fields

lazy val awsConfigFile: Path
lazy val awsSsoCacheFolder: Path