# Permission Errors RBAC troubleshooting for Sealed Secrets operations. ## Table of Contents - [Understanding RBAC](#understanding-rbac) - [Common Permission Errors](#common-permission-errors) - [Diagnosing Permission Issues](#diagnosing-permission-issues) - [Fixing Permissions](#fixing-permissions) - [Service Accounts](#service-accounts) - [Namespace-Scoped vs Cluster-Wide](#namespace-scoped-vs-cluster-wide) --- ## Understanding RBAC The plugin requires different permissions for different operations: | Operation | Required Permissions | |-----------|---------------------| | **View list** | `list` sealedsecrets.bitnami.com | | **View details** | `get` sealedsecrets.bitnami.com | | **Create** | `create` sealedsecrets.bitnami.com | | **Delete** | `delete` sealedsecrets.bitnami.com | | **Download cert** | `get` services or services/proxy | | **Decrypt** | `get` secrets | | **List namespaces** | `list` namespaces | ### How Plugin Checks Permissions The plugin uses Kubernetes `SelfSubjectAccessReview` API to check permissions in real-time: ```bash # Example: Check if you can create SealedSecrets kubectl create -f - <