Skip to main content

get_list

Function get_list 

Source
pub fn get_list() -> Result<Vec<String>>
Expand description

Get Docker secrets list

Returns a list of secret names found in the secrets directory. Uses DOCKER_SECRETS_DIR environment variable if set, otherwise defaults to /run/secrets.