Zum Hauptinhalt springen

SecretFileContext

Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets

Who encrypts or decrypts a secret file - tags of the octo.secrets.file_protect and octo.secrets.file_unprotect counters. Every member is optional; the service falls back to the process' service name.

public record SecretFileContext : IEquatable<SecretFileContext>

Inheritance Object → SecretFileContext
Implements IEquatable<SecretFileContext>

Properties​

TenantId​

Tenant the file belongs to

public string TenantId { get; set; }

Property Value​

String

Purpose​

What the file is, e.g. presweep or tenant-dump

public string Purpose { get; set; }

Property Value​

String

Service​

Calling service; defaults to OTEL_SERVICE_NAME or the entry assembly

public string Service { get; set; }

Property Value​

String

Constructors​

SecretFileContext(String, String, String)​

Who encrypts or decrypts a secret file - tags of the octo.secrets.file_protect and octo.secrets.file_unprotect counters. Every member is optional; the service falls back to the process' service name.

public SecretFileContext(string TenantId, string Purpose, string Service)

Parameters​

TenantId String
Tenant the file belongs to

Purpose String
What the file is, e.g. presweep or tenant-dump

Service String
Calling service; defaults to OTEL_SERVICE_NAME or the entry assembly