-->

DEVOPSZONES

  • Recent blogs

    OCI Object Storage Error : Either the Bucket Named Does not Exist in the Namespace or You are not Authorized to Access it

    OCI Object Storage Error : Either the Bucket Named '<Object Storage Bucket Name>' Does not Exist in the Namespace '<Namespace>' or You are not Authorized to Access it 

    While uploading files to OCI Object Storage bucket , i came across this error. I am penning down the solution for this issue, so someone can be benifitted. 

    This is caused by the Lack of required Policy/Permissions on Object Storage bucket.


    Solution:

    1) LOGIN into OCI Cloud Console.
    2) Click on "Sandwitched MENU" on left side top of the screen
    3) Then you will see "Identity & security" at the bottom of the screen
    Oci identity and security Menu
    Oci identity and security Menu

    4) Click on "Identity & security", then click on "Groups", then click on "Create Group" and create a group by specifying "NAME" and "DESCRIPTION" and click on "SUBMIT" button. For example group name is "ObjectAdmins"
    OCI Create Group
    OCI Create Group

    5) Click on "Policies", then click on "Create Policy", then specify "NAME", "DESCRIPTION", add below Policy Statements and Click on "Create". For example, NAME is ObjectStorageAccess
    Allow group ObjectAdmins to manage buckets in tenancy
    Allow group ObjectAdmins to manage objects in tenancy
    6) Click on "GROUPS", click on already created group name "ObjectAdmins", then click on "Add User to Group", select the user and click on "ADD"

    No comments