@soft-stech/sealed-secrets
v4.3.1
Published
Kubernetes sealed-secrets models
Downloads
1
Readme
@kubernetes-models/sealed-secrets
Sealed Secrets models.
Installation
Install with npm.
npm install @kubernetes-models/sealed-secrets
Usage
import { SealedSecret } from "@kubernetes-models/sealed-secrets/bitnami.com/v1alpha1/SealedSecret";
const secret = new SealedSecret({
metadata: {
name: "my-secret"
},
spec: {
encryptedData: {
foo: "AgBy3i4OJSWK+PiTySYZZA9rO43cGDEq"
}
}
});
// Validate against JSON schema
secret.validate();
License
MIT