Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedEnvKeys = []string{
"COSIGN_PASSWORD",
"AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY",
"AWS_SESSION_TOKEN",
"AWS_ECR_DISABLE_CACHE",
"AWS_ECR_CACHE_DIR",
"AWS_ECR_IGNORE_CREDS_STORAGE",
"AWS_PROFILE",
"HOST_DOCKER_CONFIG",
}
AllowedEnvKeys is the set of environment variables permitted to cross the VM -> host credential boundary.
Functions ¶
func IsAllowedEnvKey ¶
IsAllowedEnvKey checks the key against the allowlist defined in AllowedEnvKeys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.