sealed-secrets icon indicating copy to clipboard operation
sealed-secrets copied to clipboard

kubeseal: client library

Open bndw opened this issue 4 years ago • 1 comments

Is there any interest in providing a kubeseal client library? I'm specifically after the Seal function. The use-case is for custom applications generated SealedSecrets.

Currently func seal is non-exported and lives directly in cmd/kubeseal.

e.g. pseudo code

package client

type Sealer interface {
    Seal(key, Secret) (SealedSecret, error)
}

bndw avatar Jan 24 '20 20:01 bndw

Makes sense!

mkmik avatar Jan 24 '20 20:01 mkmik