Skip to content

Latest commit

 

History

History

sealed-secrets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@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