Class SandboxCredentialInjectionHeader
The HTTP request header and OCI Vault secret used by a credential injection rule.
Inherited Members
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class SandboxCredentialInjectionHeader
Properties
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The end-to-end HTTP request header to replace. Routing, connection-specific, forwarding, proxy authentication, and HTTP pseudo-header names are prohibited. |
Remarks
Required
Prefix
Declaration
[JsonProperty(PropertyName = "prefix")]
public string Prefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional UTF-8 text prepended unchanged to the decoded Vault secret value. Omitted and empty values both mean no prefix. |
VaultSecretId
Declaration
[Required(ErrorMessage = "VaultSecretId is required.")]
[JsonProperty(PropertyName = "vaultSecretId")]
public string VaultSecretId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the OCI Vault secret read at the |
Remarks
Required