SandboxCredentialInjectionHeader¶
- class oci.generative_ai.models.SandboxCredentialInjectionHeader(**kwargs)¶
Bases:
objectThe HTTP request header and OCI Vault secret used by a credential injection rule.
Methods:
__init__(**kwargs)Initializes a new SandboxCredentialInjectionHeader object with values from keyword arguments.
Attributes:
[Required] Gets the name of this SandboxCredentialInjectionHeader.
Gets the prefix of this SandboxCredentialInjectionHeader.
[Required] Gets the vault_secret_id of this SandboxCredentialInjectionHeader.
- __init__(**kwargs)¶
Initializes a new SandboxCredentialInjectionHeader object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this SandboxCredentialInjectionHeader.
prefix (str) – The value to assign to the prefix property of this SandboxCredentialInjectionHeader.
vault_secret_id (str) – The value to assign to the vault_secret_id property of this SandboxCredentialInjectionHeader.
- property name¶
[Required] Gets the name of this SandboxCredentialInjectionHeader. The end-to-end HTTP request header to replace. Routing, connection-specific, forwarding, proxy authentication, and HTTP pseudo-header names are prohibited.
- Returns
The name of this SandboxCredentialInjectionHeader.
- Return type
str
- property prefix¶
Gets the prefix of this SandboxCredentialInjectionHeader. Optional UTF-8 text prepended unchanged to the decoded Vault secret value. Omitted and empty values both mean no prefix.
- Returns
The prefix of this SandboxCredentialInjectionHeader.
- Return type
str
- property vault_secret_id¶
[Required] Gets the vault_secret_id of this SandboxCredentialInjectionHeader. The OCID of the OCI Vault secret read at the CURRENT stage for every selected request.
- Returns
The vault_secret_id of this SandboxCredentialInjectionHeader.
- Return type
str