HttpEndpointBasicAuthScopeConfig¶
-
class
oci.generative_ai_agent.models.
HttpEndpointBasicAuthScopeConfig
(**kwargs)¶ Bases:
oci.generative_ai_agent.models.http_endpoint_auth_scope_config.HttpEndpointAuthScopeConfig
Specifies HTTP Basic Authentication using base64-encoded username:password credentials injected into the Authorization header.
- If authScope = AGENT: Credentials are securely retrieved from OCI Vault.
Attributes
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG
str(object=’’) -> str HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG
str(object=’’) -> str HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG
str(object=’’) -> str HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG
str(object=’’) -> str HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG
str(object=’’) -> str HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG
str(object=’’) -> str http_endpoint_auth_scope_config_type
[Required] Gets the http_endpoint_auth_scope_config_type of this HttpEndpointAuthScopeConfig. vault_secret_id
Gets the vault_secret_id of this HttpEndpointBasicAuthScopeConfig. Methods
__init__
(**kwargs)Initializes a new HttpEndpointBasicAuthScopeConfig object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG'¶
-
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG'¶
-
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG'¶
-
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG'¶
-
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG'¶
-
HTTP_ENDPOINT_AUTH_SCOPE_CONFIG_TYPE_HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG
= 'HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG'¶
-
__init__
(**kwargs)¶ Initializes a new HttpEndpointBasicAuthScopeConfig object with values from keyword arguments. The default value of the
http_endpoint_auth_scope_config_type
attribute of this class isHTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - http_endpoint_auth_scope_config_type (str) – The value to assign to the http_endpoint_auth_scope_config_type property of this HttpEndpointBasicAuthScopeConfig. Allowed values for this property are: “HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG”
- vault_secret_id (str) – The value to assign to the vault_secret_id property of this HttpEndpointBasicAuthScopeConfig.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
http_endpoint_auth_scope_config_type
¶ [Required] Gets the http_endpoint_auth_scope_config_type of this HttpEndpointAuthScopeConfig. The type of authentication to be applied for this HTTP Endpoint.
Allowed values for this property are: “HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG”, “HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The http_endpoint_auth_scope_config_type of this HttpEndpointAuthScopeConfig. Return type: str
-
vault_secret_id
¶ Gets the vault_secret_id of this HttpEndpointBasicAuthScopeConfig. The OCID of the vault secret with username:password. Required when authScope is AGENT.
Returns: The vault_secret_id of this HttpEndpointBasicAuthScopeConfig. Return type: str