Skip to content

Commit

Permalink
extend readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Wiesner committed May 12, 2023
1 parent 5f72ee1 commit 9caa925
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- **Decode:** Base64 decodes each key in the `data` field in a secret.
- **Secrets:** Returns a list of all Sealed Secrets in all namespaces. With a click on the Sealed Secret the decrypted Kubernetes secret is loaded.
- **Seal:** Encrypt a Kubernetes secret and creates the Sealed Secret.
- **Validate:** Validate a Sealed Secret.

## Installation

Expand Down Expand Up @@ -89,6 +90,14 @@ curl -request POST 'https://<SEALED_SECRETS_WEB_BASE_URL>/api/raw' \
--data '{ "name": "mysecretname", "namespace": "mysecretnamespace", "value": "value to seal" }'
```

### Validate sealed secret

```bash
curl --request POST 'https://<SEALED_SECRETS_WEB_BASE_URL>/api/validate' \
--header 'Accept: application/x-yaml' \
--data-binary '@stringData.yaml'
```

## Development

For development, we are using a local Kubernetes cluster using kind. When the cluster is created we install **Sealed Secrets** using Helm:
Expand Down

0 comments on commit 9caa925

Please sign in to comment.