package secretsprovider

import "github.com/moby/buildkit/session/secrets/secretsprovider"

Index

Constants

const MaxSecretSize = 500 * 1024 // 500KB

MaxSecretSize is the maximum byte length allowed for a secret

Functions

func FromMap

func FromMap(m map[string][]byte) session.Attachable

func NewSecretProvider

func NewSecretProvider(store secrets.SecretStore) session.Attachable

func NewStore

func NewStore(files []Source) (secrets.SecretStore, error)

Types

type Source

type Source struct {
	ID       string
	FilePath string
	Env      string
}

Source Files

secretsprovider.go store.go

Version
v0.21.1 (latest)
Published
Apr 29, 2025
Platform
js/wasm
Imports
9 packages
Last checked
4 hours ago

Tools for package owners.