Secrets Management in Loft
Loft allows you to managed shared secrets that can either be retrieved via Loft CLI and kubectl, or they can be instantiated as synchronized Kubernetes secrets in namespaces and virtual clusters.
Creating Shared Secrets
- Go to the Secrets view using the menu on the left
- Click on the button
- Use the Display Name field to define the name of this secret
- Use the Secret Data textarea to add key: value pairs as secret data
- OPTIONAL: Expand the section to configure who can view or edit this secret
- Click on the button at the very bottom
Using Shared Secrets
Retrieve via Loft CLI
Use In Kubernetes Secrets
Access Permissions
- In the Secrets view, hover over the secret that you want to give someone access to
- While hovering over the row, you will see buttons appear on the right in the Actions column
- Click on the button to Edit the secret
- In the drawer that appears on the right, expand the section
- If the user or team is not listed under Users & Teams yet, click the + Rule button to add another row for a new user or team
- Use the Users & Teams field to select the Users and/or Teams who should get access to this app
- Use the Permissions field to specify if a user is allows to view, update, ... this app definition
- On the very bottom, click on the button to save the changes