CONTAINER_API_KEY

A string password that the container requires for each request in the X-API-Key header. This is a safeguard if you need to have the container exposed to the internet or other untrusted sources.

Required.

Functions

Link copied to clipboard
fun get(): String?
Link copied to clipboard
fun getOrDefault(): String
Link copied to clipboard
fun require(fallback: String = default ?: ""): String
Link copied to clipboard
fun requireIf(condition: Boolean, fallback: String = default ?: ""): String

Properties

Link copied to clipboard
val default: String? = null

The default value.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int