Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConsoleSTSAndJWTDurationSeconds = "CONSOLE_STS_AND_JWT_DURATION_SECONDS" ConsolePBKDFPassphrase = "CONSOLE_PBKDF_PASSPHRASE" ConsolePBKDFSalt = "CONSOLE_PBKDF_SALT" )
Variables ¶
This section is empty.
Functions ¶
func GetConsoleSTSAndJWTDurationInSeconds ¶
func GetConsoleSTSAndJWTDurationInSeconds() int
ConsoleSTSAndJWTDurationSeconds returns the default session duration for the STS requested tokens and the generated JWTs. Ideally both values should match so jwt and Minio sts sessions expires at the same time.
func GetPBKDFPassphrase ¶
func GetPBKDFPassphrase() string
GetPBKDFPassphrase returns passphrase for the pbkdf2 function used to encrypt JWT payload
func GetPBKDFSalt ¶
func GetPBKDFSalt() string
GetPBKDFSalt returns salt for the pbkdf2 function used to encrypt JWT payload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.