bitnami / bitnami/sealed-secrets

kubeseal: client library

Open
#348 1 comment 12 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
9.3k
Forks
776
Avg merge
1d 13h
Merged PRs (30d)
30

Description

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](https://github.com/bitnami-labs/sealed-secrets/blob/93fbf7822abf2d3491007eae2cad997d53908f6a/cmd/kubeseal/main.go#L229) is non-exported and lives directly in `cmd/kubeseal`.

e.g. pseudo code
```go
package client

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

Contributor guide

Open the contributing guide

Research direction

Start with cmd/kubeseal/main.go and the non-exported func seal linked in the issue. Trace its inputs and outputs, then determine the scope and API shape for exposing sealing to custom applications; done means a reusable client library can provide the proposed Seal operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.