Show / Hide Table of Contents

Class SandboxCredentialInjectionHeader

The HTTP request header and OCI Vault secret used by a credential injection rule.

Inheritance
object
SandboxCredentialInjectionHeader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 CURRENT stage for every selected request.

Remarks

Required

In this article
Back to top