SandboxCredentialProfile¶
- class oci.generative_ai.models.SandboxCredentialProfile(**kwargs)¶
Bases:
objectA named Project-local credential profile selected explicitly when a Sandbox is created. Profiles can be added, removed, or changed through Project Update.
Methods:
__init__(**kwargs)Initializes a new SandboxCredentialProfile object with values from keyword arguments.
Attributes:
[Required] Gets the credential_injection_rules of this SandboxCredentialProfile.
[Required] Gets the label of this SandboxCredentialProfile.
- __init__(**kwargs)¶
Initializes a new SandboxCredentialProfile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
label (str) – The value to assign to the label property of this SandboxCredentialProfile.
credential_injection_rules (list[oci.generative_ai.models.SandboxCredentialInjectionRule]) – The value to assign to the credential_injection_rules property of this SandboxCredentialProfile.
- property credential_injection_rules¶
[Required] Gets the credential_injection_rules of this SandboxCredentialProfile. One or more credential injection rules. A rule authorizes credential injection only; it does not grant network reachability. Each selected request reads the referenced OCI Vault secret at the CURRENT stage; secret values are not cached or served stale. Protected requests support HTTP/1.1 and HTTP/2. CONNECT, extended CONNECT, Upgrade, WebSocket, plain HTTP, and non-HTTP credentials are not supported.
- Returns
The credential_injection_rules of this SandboxCredentialProfile.
- Return type
list[oci.generative_ai.models.SandboxCredentialInjectionRule]
- property label¶
[Required] Gets the label of this SandboxCredentialProfile. Required, unique Project-local selector. The value project-default is reserved by the service.
- Returns
The label of this SandboxCredentialProfile.
- Return type
str