@kubernetes-models/sealed-secrets
v4.4.0
Published
Kubernetes sealed-secrets models
Downloads
591
Maintainers
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