AsKeyReader returns a context with an actor that has permissions required for reading crypto keys.
(ctx context.Context)
| 774 | |
| 775 | // AsKeyReader returns a context with an actor that has permissions required for reading crypto keys. |
| 776 | func AsKeyReader(ctx context.Context) context.Context { |
| 777 | return As(ctx, subjectCryptoKeyReader) |
| 778 | } |
| 779 | |
| 780 | func AsConnectionLogger(ctx context.Context) context.Context { |
| 781 | return As(ctx, subjectConnectionLogger) |
no test coverage detected