(ctx context.Context)
| 3337 | } |
| 3338 | |
| 3339 | func (q *querier) GetDBCryptKeys(ctx context.Context) ([]database.DBCryptKey, error) { |
| 3340 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceSystem); err != nil { |
| 3341 | return nil, err |
| 3342 | } |
| 3343 | return q.db.GetDBCryptKeys(ctx) |
| 3344 | } |
| 3345 | |
| 3346 | func (q *querier) GetDERPMeshKey(ctx context.Context) (string, error) { |
| 3347 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected