(ctx context.Context, arg database.InsertDBCryptKeyParams)
| 5579 | } |
| 5580 | |
| 5581 | func (q *querier) InsertDBCryptKey(ctx context.Context, arg database.InsertDBCryptKeyParams) error { |
| 5582 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceSystem); err != nil { |
| 5583 | return err |
| 5584 | } |
| 5585 | return q.db.InsertDBCryptKey(ctx, arg) |
| 5586 | } |
| 5587 | |
| 5588 | func (q *querier) InsertDERPMeshKey(ctx context.Context, value string) error { |
| 5589 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected