Table of Contents

Class SetSecretRequest

Namespace
Ando.Server.Contracts.Projects
Assembly
Ando.Server.dll

Request to add or update a secret.

public class SetSecretRequest
Inheritance
SetSecretRequest
Inherited Members

Properties

Name

Secret name (uppercase with underscores, e.g., MY_SECRET).

[Required(ErrorMessage = "Secret name is required")]
[RegularExpression("^[A-Z_][A-Z0-9_]*$", ErrorMessage = "Secret name must be uppercase with underscores only (e.g., MY_SECRET)")]
public string Name { get; set; }

Property Value

string

Value

Secret value to store.

[Required(ErrorMessage = "Secret value is required")]
public string Value { get; set; }

Property Value

string