Data Source: oci_objectstorage_namespace

This data source provides details about a specific Namespace resource in Oracle Cloud Infrastructure Object Storage service.

Each Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace. The namespace is a system-generated string assigned during account creation. For some older tenancies, the namespace string may be the tenancy name in all lower-case letters. You cannot edit a namespace.

GetNamespace returns the name of the Object Storage namespace for the user making the request. If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding tenancy, provided the user has access to it.

Example Usage

data "oci_objectstorage_namespace" "test_namespace" {

	#Optional
	compartment_id = var.compartment_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: